-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
I ran into a issue recently with th-cmd on my raspberry pi and hope this is the right place to report it.
tl;dr Segmentation Fault in th-cmd on Raspberry Pi When Running with --socket /var/run/thd.socket --passfd --udev Options
Details
When running th-cmd with the --socket /var/run/thd.socket --passfd --udev options, the program crashes with a segmentation fault.
System Information:
- Raspberry Pi Model: 4B+ 8GB
- Operating System: RaspiOS 64-bit
th-cmdversion: 0.5.0glibcversion: 2.31 (Debian GLIBC 2.31-13+rpt2+rpi1+deb11u5)
Steps to Reproduce:
- Run
th-cmdwith the command/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev. - Observe segmentation fault.
Expected Results:
The th-cmd should run without any issues.
Actual Results:
Segmentation fault occurs, and the following is observed when debugging with gdb:
Program received signal SIGSEGV, Segmentation fault.
0x0000007ff7e10740 in __GI___strcasecmp (s1=0x5555551c58 "add", s2=0x0) at strcasecmp.c:58
58 strcasecmp.c: No such file or directory.
Additional Information:
Logs from systemd-udevd indicate:
Aug 21 18:00:00 pioshost systemd-udevd[203]: event0: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with exit code 1.
Aug 21 18:00:00 pioshost systemd-udevd[210]: event1: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with exit code 1.
Debugging Attempts:
- Checked system and application logs using
journalctl -xeanddmesg. No additional relevant information found. - Reinstalled
glibcbut the issue persists.
matfax, jerome-pouiller and sbivol
Metadata
Metadata
Assignees
Labels
No labels