Hallo,
srcpd Version "srcpd V2.1.2; SRCP 0.8.4; SRCPOTHER 0.8.3" crashes on Debian 64 bit, when I click on "Gleisbild" -> "alles senden" and when "Magnetartikelstatus automatisch senden" is activated, when spdrs60 starts.
This is my srcpd.conf:
https://gist.github.com/Mebus/e30d6747500b43261376c0dd60608f6d
This is the crash in the logfiles:
https://gist.github.com/Mebus/78ce8a29b9b641c03ba2b18bb43b2f35
Also I wonder about "usleep() failed: Interrupted system call (errno = 4)".
I am using spdrs 0.6.3 and my srcpd is connected to a Uhlenbrock Intellibox.
I hope someone can fix this.
Thank you!
Mebus
Hi Mebus,
would you please try again with the latest release (2.1.3)? Maybe this is already fixed.
Thanks!
Best regards,
André
Hallo André,
I installed the srcpd_2.1.3-1trusty1_amd64.deb package, but srcpd still crashes, when I click "Alles senden" in spdrs60.
This is the last log entry in /var/log/messages
"Sep 9 16:54:24 modellbahn2 kernel: [ 1880.187338] srcpd[10899]: segfault at d0ad30 ip 000000000040a8c2 sp 00007fd39a6d4858 error 4 in srcpd[400000+3b000]"
What IDE should be used to debug srcpd? Can you give me some hints on howto import srcpd into an IDE, that can be used to debug srcpd.
Thank you!
Greetings,
Mebus
Hallo Andre,
I think I found the bug. I used gdb:
I changed "number_ga" and "number_gl" for the intellibox from 200 to 500 in my srcpd.conf. Now it doesn't crash anymore, when I click "Alles senden" in spdrs60.
I think this should be fixed, so that srcpd prints a warning in the logs, instead of crashing. Can somebody do this?
Mebus
Hi Mebus,
as far as I can see this is already fixed in trunk. Just to be sure: Would you please test if the issue is fixed in http://bonus.dyn.bawue.de/download/srcpd_2.1.4-1_amd64.deb ?
Thanks!
Best regards,
André