After upgrading my ASL3 node to Asterisk 22.10.1 / ASL3 3.10.5, I began experiencing repeated Asterisk SIGSEGV crashes. I have retained systemd core dumps from the crashes.
System:
- Debian 12 (Bookworm), x86_64
- ASL3 node: 525240
- asl3: 3.18.2-2.deb12
- Problem version:
- asl3-asterisk: 2:22.10.1+asl3-3.10.5-1.deb12
- asl3-asterisk-modules: 2:22.10.1+asl3-3.10.5-1.deb12
- asl3-asterisk-config: 2:22.10.1+asl3-3.10.5-1.deb12
- rxchannel = Voter/525240
- duplex = 0
The first crashes I observed occurred after the system upgraded to 22.10.1/3.10.5. On September 16 I captured two separate crashes approximately 22 minutes apart.
Both crashes produced the exact same module offsets, despite ASLR changing the absolute addresses:
#0 __ao2_ref (asterisk + 0x70ee1)
#1 app_rpt.so + 0x2749b
#2 app_rpt.so + 0x1cf4b
#3 app_rpt.so + 0x3ca61
#4 asterisk + 0x1e212d
First retained crash:
Wed 2026-09-16 22:02:04 PDT
PID 1011578
SIGSEGV
#0 __ao2_ref asterisk + 0x70ee1
#1 app_rpt.so + 0x2749b
#2 app_rpt.so + 0x1cf4b
#3 app_rpt.so + 0x3ca61
Second retained crash:
Wed 2026-09-16 22:24:05 PDT
PID 1042410
SIGSEGV
#0 __ao2_ref asterisk + 0x70ee1
#1 app_rpt.so + 0x2749b
#2 app_rpt.so + 0x1cf4b
#3 app_rpt.so + 0x3ca61
The kernel fault for the second crash was:
segfault at fffffffffffffffd
ip 0000560930d4cee1
error 5 in asterisk
The earlier crashes I examined showed the same fffffffffffffffd fault pattern.
I initially investigated a custom connpgm script because it runs when nodes connect and also runs once per minute from cron. I added flock protection to prevent simultaneous executions and added launch/finish logging.
However, the 22:24 crash occurred with the flock protection already active. Immediately before the crash:
22:24:01 killmultinodes: LAUNCH
22:24:02 killmultinodes: FINISH status=0
22:24:03 Asterisk SIGSEGV
That execution did not issue a disconnect, strike, violation, or other Asterisk command. Therefore I don’t currently have evidence that the external script directly caused this crash.
I have now performed a controlled downgrade of the complete matched Asterisk package set to:
asl3-asterisk 2:22.9.0+asl3-3.9.3-1.deb12
asl3-asterisk-modules 2:22.9.0+asl3-3.9.3-1.deb12
asl3-asterisk-config 2:22.9.0+asl3-3.9.3-1.deb12
Asterisk is currently running normally on 22.9.0/3.9.3 with the same node configuration. I’ve temporarily held these packages so the system doesn’t automatically upgrade back to 3.10.5 while I test.
I still have both 3.10.5 core dumps present under systemd-coredump. The crashing thread in both dumps is identical at the module-offset level.
Questions for the developers:
- Does app_rpt.so + 0x2749b → +0x1cf4b → +0x3ca61 → __ao2_ref correspond to a known issue in 3.10.5?
- Are debug-symbol packages available that would allow me to provide a fully symbolized backtrace?
- Would the developers like either/both core dumps or additional coredumpctl/journal output?
I can also reproduce/provide additional logging if there are specific diagnostics you’d like enabled.