[Home]

Summary:ASTERISK-09534: constant core dumps with ~100 calls
Reporter:Arseny Chernov (ars888)Labels:
Date Opened:2007-05-28 08:54:32Date Closed:2007-06-06 10:14:09
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) core1.txt
( 1) core2.txt
( 2) core3.txt
( 3) core4.txt
Description:Dear sirs,

We noticed severe core dumps on our Asterisk working as traffic exchange node working under load. If the amount of calls exceeds ~100, core dump repeats constantly, at least once in 2 hours.

No wildcards are installed, though IAX is configuret without trunk=yes thus we suppose timing / etc. matters aren't the cause

Asterisk version: 1.4.4 , zaptel: 1.4.2.1 , libpri: 1.4.0

Core was generated by `/usr/sbin/asterisk -U asterisk -G asterisk -vvvg'.
Program terminated with signal 11, Segmentation fault.
#0  0xb6864548 in __attempt_transmit (data=0x82aa300) at chan_iax2.c:1845
1845                                                            if (iaxs[callno]->owner)
(gdb) bt
#0  0xb6864548 in __attempt_transmit (data=0x82aa300) at chan_iax2.c:1845
#1  0xb6879d43 in iax2_process_thread (data=0x8249318) at chan_iax2.c:7665
#2  0x080f4510 in dummy_start (data=0x8244bb0) at utils.c:545
#3  0xb7ef40bd in start_thread () from /lib/tls/libpthread.so.0
#4  0xb719892e in clone () from /lib/tls/libc.so.6

Comments:By: Tilghman Lesher (tilghman) 2007-05-29 07:29:00

Please upload a stack backtrace to the file upload area, as per the bug guidelines.

By: Arseny Chernov (ars888) 2007-05-30 10:22:41

Dear Corydon76,

Done. If it's possible, please provide a link to the bug guidelines on the main page that have the same info on stack backtraces as here: http://svn.digium.com/view/asterisk/tags/1.2.0-rc1/doc/README.backtrace?annotate=7221

Looking forward to your reply,
Cheers!

By: Arseny Chernov (ars888) 2007-05-30 10:39:38

Dear colleagues,

Please consider revising http://bugs.digium.com/view.php?id=9833 also. I consider putting this two bugs separately, though it seems like they source from same problem...

Cheers.

By: Tilghman Lesher (tilghman) 2007-05-30 11:03:40

The link is provided here: http://bugs.digium.com/main_page.php which is the Main link at the top of the bugtracker, and the first article shows this link: http://asterisk.org/developers/bug-guidelines

By: timrobbins (timrobbins) 2007-06-01 05:13:46

This looks to be the same issue as bug 9642 (http://bugs.digium.com/view.php?id=9642) and 9666 (http://bugs.digium.com/view.php?id=9666).

By: Steve Davies . (stevedavies) 2007-06-01 08:28:58

Hi,

I'd suggest you apply the patches from bug 9663 and 9666.

There are more places where the multi-threaded IAX2 can segfault - but these should make a big difference to your system stability.

If you hit other crashes after you've applied the patches please post them up on bugs so we can fix those too.

If 9663 and 9666 help you please post on those bugs to say so so I can actually get them merged.

Thanks,
Steve Davies

By: Russell Bryant (russell) 2007-06-06 10:14:08

This should be fixed in the latest 1.4 branch.  Please update and let us know if you have any further problems.  Thanks!