Asterisk crash

Hello,

I have a problem.
One every couple of months my asterisk system crashes with a segmentation fault.
[size=85]
kernel: asterisk[20527]: segfault at 0000080000000008 rip 00002aaac952d8f2 rsp 0000000040edb910 error 4
[/size]
(This is in /var/log/messages)

If I look at the same timestamp in the warning log file of asterisk (/var/log/asterisk/warning),
I see that the are warning about fix up channel:
[size=85]
WARNING[24000] chan_dahdi.c: Can’t fix up channel from 1 to 2 because 2 is already in use
WARNING[24000] chan_dahdi.c: Ringing requested on channel 0/2 not in use on span 1
WARNING[24000] chan_dahdi.c: Can’t fix up channel from 5 to 6 because 6 is already in use
WARNING[24000] chan_dahdi.c: Ringing requested on channel 0/6 not in use on span 1
WARNING[24000] chan_dahdi.c: Can’t fix up channel from 6 to 8 because 8 is already in use
WARNING[24000] chan_dahdi.c: Ringing requested on channel 0/8 not in use on span 1
WARNING[24000] chan_dahdi.c: Can’t fix up channel from 3 to 4 because 4 is already in use
WARNING[24000] chan_dahdi.c: Hangup REQ on bad channel 0/4 on span 1
WARNING[24000] chan_dahdi.c: Can’t fix up channel from 2 to 3 because 3 is already in use
WARNING[24000] chan_dahdi.c: Hangup REQ on bad channel 0/3 on span 1
WARNING[24000] chan_dahdi.c: Can’t fix up channel from 4 to 5 because 5 is already in use
WARNING[24000] chan_dahdi.c: Hangup REQ on bad channel 0/5 on span 1
WARNING[24000] chan_dahdi.c: Can’t fix up channel from 1 to 2 because 2 is already in use
WARNING[24000] chan_dahdi.c: Answer requested on channel 0/2 not in use on span 1
WARNING[24000] chan_dahdi.c: Can’t fix up channel from 5 to 6 because 6 is already in use
WARNING[24000] chan_dahdi.c: Answer requested on channel 0/6 not in use on span 1
WARNING[24000] chan_dahdi.c: Can’t fix up channel from 1 to 2 because 2 is already in use
WARNING[24000] chan_dahdi.c: Hangup on bad channel 0/2 on span 1
WARNING[24000] chan_dahdi.c: Can’t fix up channel from 2 to 3 because 3 is already in use
WARNING[24000] chan_dahdi.c: Can’t fix up channel from 3 to 4 because 4 is already in use
WARNING[24000] chan_dahdi.c: Can’t fix up channel from 4 to 5 because 5 is already in use
WARNING[24000] chan_dahdi.c: Can’t fix up channel from 5 to 6 because 6 is already in use
WARNING[24000] chan_dahdi.c: Hangup on bad channel 0/6 on span 1
WARNING[24000] chan_dahdi.c: Whoa, there’s no owner, and we’re having to fix up channel 6 to channel 8
WARNING[24000] chan_dahdi.c: Whoa, there’s no owner, and we’re having to fix up channel 1 to channel 2
WARNING[24000] chan_dahdi.c: Can’t fix up channel from 5 to 6 because 6 is already in use[/size]
[/size]

Does anybody know what these messages mean?

I use the following drives and asterisk:
Asterisk 1.6.2.12
libpri 1.4.11.4-1_centos5
dahdi linux-2.4.0-1_centos5
We are using two Digium, Inc. Wildcard TE420P quad-span T1/E1/J1 card 3.3V (PCI-Express) (rev 02)

Kind regards,

Arjan Kroon

You are using an obsolete sub-version of an obsolete version. If, as seems likely, you do not know how to debug C code yourself, you should update to a supported version (in which case there is the option of raising proper bug report) or at least to the final, end of life, version on the 1.6.2 branch, which will have many bugs fixed, relative to your version.

Hi david,

Do yo mean the version of asterisk?

Regards,

Arjan

Yes. I haven’t checked the support status of anything else mentioned.

The current versions of Asterisk are 1.8.17.0 (long term stable), and 11.0.0 (leading edge full release). The 10 series is probably also supported.

The end of life version of 1.6.2 is 1.6.2.24.

I have two gdb crash outputs.

mediafire.com/view/?xprsmajao7y16i0
mediafire.com/view/?b65j8vnxaodzv4g

Regards,

Arjan Kroon

Too difficult to get to the content on your pastebin site, especially with style sheets off (needed because of recent changes on this forum).

In any case, there is really no point in trying to debug such an old version, especially as I don’t use circuit switched networks.