Asterisk 1.8.20.0 Frequent Crashes (Segfaults)

Hello,

We’re running Elastix 2.4.0, with Asterisk 1.8.20.0 on CentOS. We are running into frequent Segmentation faults, which usually crashes once or twice a day and automatically restart asterisk.

I have enable the backtrack and this is what i got from the bt and bt full log:

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fffedbfd000
Core was generated by `/usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c’.
Program terminated with signal 11, Segmentation fault.
#0 0x00000036c9e7b5eb in memcpy () from /lib64/libc.so.6
(gdb) bt
#0 0x00000036c9e7b5eb in memcpy () from /lib64/libc.so.6
0000001 0x0000000000445e2c in callerid_feed ()
0000002 0x00002b8c410c71f3 in ast_unregister_file_version () from /usr/lib64/asterisk/modules/chan_dahdi.so
0000003 0x00002b8c410f07d3 in ast_unregister_file_version () from /usr/lib64/asterisk/modules/chan_dahdi.so
0000004 0x000000000051f3de in ?? ()
0000005 0x00000036caa0683d in start_thread () from /lib64/libpthread.so.0
0000006 0x00000036c9ed503d in clone () from /lib64/libc.so.6

(gdb) bt full
#0 0x00000036c9e7b5eb in memcpy () from /lib64/libc.so.6
No symbol table info available.
0000001 0x0000000000445e2c in callerid_feed ()
No symbol table info available.
0000002 0x00002ba10cc6a1f3 in ast_unregister_file_version () from /usr/lib64/asterisk/modules/chan_dahdi.so
No symbol table info available.
0000003 0x00002ba10cc937d3 in ast_unregister_file_version () from /usr/lib64/asterisk/modules/chan_dahdi.so
No symbol table info available.
0000004 0x000000000051f3de in ?? ()
No symbol table info available.
0000005 0x00000036caa0683d in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
0000006 0x00000036c9ed503d in clone () from /lib64/libc.so.6

Many thanks and Best Regards,
Saleh Madi

Any crash report needs to be on the basis of an unstripped binary built with the no-optimise compiler option. Subject to that, crash reports need to go to issues.asterisk.org/jira.