Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6960

Raspberry Pi OS • Auto-starting service crashes Raspberry Pi

$
0
0
I am developing a background service that runs on Raspberry Pi OS based on Buster, Bullseye and Bookworm in both 32-bit and 64-bit variants. I test this application on several Raspberry Pi 4 with varying amount of RAM (1 GB, 2GB, 4GB and 8 GB) and varying base distributions to ensure compatibility with the target systems.

I have a problem on some of my test platforms in that a configuration definition change causes the application to crash the RPi 4. The upgraded application crashes when reading the configuration using the older definition. This crash happens so quickly that I dont have time to log on to the RPi 4 with ssh to either stop the background service or disable it. I didn't expect this change to crash the application. I usually disables the automatic start of the background service if I think it may crash so that thr target platformn only crashes once instead of repeatedly.

Is there a way to either edit the Micro SD cards ext4 partition on a Windows PC outside of the test platform or start Raspberry Pi OS without starting the enabled background services on the test platform.

I really don't look forward to overwriting the Micro CD card with a fresh install and then having to perform all of the tedious development setup steps again. Fortunately for me was now changed source code checked out to the crashing device.

With regards,
/m-o r

Statistics: Posted by mats-olov_rustad — Wed Dec 25, 2024 10:22 pm — Replies 2 — Views 40



Viewing all articles
Browse latest Browse all 6960

Trending Articles