Coredump on rpi4 (Arch)
Hi
I couldn't get the official script to work anymore after some recent changes to the way python is set up on Arch. After discovering argonone-c-git on AUR I installed that instead, which unfortunately doesn't work and keeps giving me systemd-coredump messages. There was another issue with the AUR version with not finding /dev/vcio, which I managed to resolve by replacing the AUR version with the one from your repo. Now argononed.log no longer complains about /dev/vcio, but the coredumps are still there. Any recommendations about what to do next to troubleshoot?
tail /var/log/argononed.log:
<...>
Tue Jul 18 13:20:25 2023 [INFO] Begin Initalizing shared memory
Tue Jul 18 13:20:25 2023 [INFO] I2C Initialized
Tue Jul 18 13:20:25 2023 [INFO] Set fan to 0%
Tue Jul 18 13:20:25 2023 [INFO] Now waiting for button press
Tue Jul 18 13:20:25 2023 [INFO] Monitoring line 4 on /dev/gpiochip0
Tue Jul 18 13:20:27 2023 [INFO] Startup ArgonOne Daemon ver 0.3.4
Tue Jul 18 13:20:27 2023 [INFO] Loading Configuration
Tue Jul 18 13:20:27 2023 [INFO] Reading values from device-tree
Tue Jul 18 13:20:27 2023 [WARNING] Unable to open device-tree data
Tue Jul 18 13:20:27 2023 [INFO] GPIO initialized
Tue Jul 18 13:20:27 2023 [INFO] Unable to read valid revision code
Tue Jul 18 13:20:27 2023 [INFO] Lock file created
Tue Jul 18 13:20:27 2023 [INFO] Now running as a daemon
Tue Jul 18 13:20:27 2023 [INFO] Begin Initalizing shared memory
Tue Jul 18 13:20:27 2023 [INFO] I2C Initialized
Tue Jul 18 13:20:27 2023 [INFO] Set fan to 0%
Tue Jul 18 13:20:27 2023 [INFO] Now waiting for button press
Tue Jul 18 13:20:27 2023 [INFO] Monitoring line 4 on /dev/gpiochip0
Tue Jul 18 13:20:28 2023 [INFO] Terminate Signal
Tue Jul 18 13:20:28 2023 [INFO] Cleaning up
journalctl -f -p err:
<...>
Jul 18 13:20:24 rpi4 systemd-coredump[4929]: [🡕] Process 4925 (argononed) of user 0 dumped core.
Stack trace of thread 4926:
#0 0x0000ffff883b42d0 n/a (libc.so.6 + 0x542d0)
#1 0x0000ffff883b39f0 __isoc99_fscanf (libc.so.6 + 0x539f0)
#2 0x0000aaaad13d335c n/a (argononed + 0x335c)
#3 0x0000aaaad13d3a04 n/a (argononed + 0x3a04)
#4 0x0000ffff883e0aec n/a (libc.so.6 + 0x80aec)
#5 0x0000ffff8844a5dc n/a (libc.so.6 + 0xea5dc)
Stack trace of thread 4925:
#0 0x0000ffff8843c250 read (libc.so.6 + 0xdc250)
#1 0x0000aaaad13d29e0 n/a (argononed + 0x29e0)
#2 0x0000aaaad13d1ed0 n/a (argononed + 0x1ed0)
#3 0x0000ffff88387b80 n/a (libc.so.6 + 0x27b80)
#4 0x0000ffff88387c60 __libc_start_main (libc.so.6 + 0x27c60)
#5 0x0000aaaad13d20b0 n/a (argononed + 0x20b0)
ELF object binary architecture: AARCH64
Jul 18 13:20:27 rpi4 systemd-coredump[4940]: [🡕] Process 4936 (argononed) of user 0 dumped core.
Stack trace of thread 4937:
#0 0x0000ffff88bc42d0 n/a (libc.so.6 + 0x542d0)
#1 0x0000ffff88bc39f0 __isoc99_fscanf (libc.so.6 + 0x539f0)
#2 0x0000aaaae6a5335c n/a (argononed + 0x335c)
#3 0x0000aaaae6a53a04 n/a (argononed + 0x3a04)
#4 0x0000ffff88bf0aec n/a (libc.so.6 + 0x80aec)
#5 0x0000ffff88c5a5dc n/a (libc.so.6 + 0xea5dc)
Stack trace of thread 4936:
#0 0x0000ffff88c4c250 read (libc.so.6 + 0xdc250)
#1 0x0000aaaae6a529e0 n/a (argononed + 0x29e0)
#2 0x0000aaaae6a51ed0 n/a (argononed + 0x1ed0)
#3 0x0000ffff88b97b80 n/a (libc.so.6 + 0x27b80)
#4 0x0000ffff88b97c60 __libc_start_main (libc.so.6 + 0x27c60)
#5 0x0000aaaae6a520b0 n/a (argononed + 0x20b0)
ELF object binary architecture: AARCH64
Jul 18 13:20:28 rpi4 systemd-coredump[4958]: [🡕] Process 4947 (argononed) of user 0 dumped core.
Stack trace of thread 4947:
#0 0x0000ffffbacf42d0 n/a (libc.so.6 + 0x542d0)
#1 0x0000ffffbacf39f0 __isoc99_fscanf (libc.so.6 + 0x539f0)
#2 0x0000aaaabe3e335c n/a (argononed + 0x335c)
#3 0x0000aaaabe3e3678 n/a (argononed + 0x3678)
#4 0x0000ffffbae9d7ec n/a (linux-vdso.so.1 + 0x7ec)
#5 0x0000ffffbae9d7ec n/a (linux-vdso.so.1 + 0x7ec)
#6 0x0000ffffbad7c23c read (libc.so.6 + 0xdc23c)
#7 0x0000000000000007 n/a (n/a + 0x0)
#8 0x0000000000000007 n/a (n/a + 0x0)
ELF object binary architecture: AARCH64
journalctl -xeu argononed.service:
Jul 18 13:45:23 rpi4 systemd[1]: argononed.service: Main process exited, code=dumped, status=11/SEGV
Subject: Unit process exited
Defined-By: systemd
Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
An ExecStart= process belonging to unit argononed.service has exited.
The process' exit code is 'dumped' and its exit status is 11.
Jul 18 13:45:23 rpi4 systemd[1]: argononed.service: Failed with result 'core-dump'.
Subject: Unit failed
Defined-By: systemd
Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
The unit argononed.service has entered the 'failed' state with result 'core-dump'.
Thanks