[asterisk-bugs] [Asterisk 0012176]: asterisk random crashes

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Mar 10 09:01:00 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12176 
====================================================================== 
Reported By:                walrus
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   12176
Category:                   General
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             03-10-2008 07:38 CDT
Last Modified:              03-10-2008 09:01 CDT
====================================================================== 
Summary:                    asterisk random crashes
Description: 
I have a callcenter on asterisk 1.4.18. Workload - about 40 talks
simultaneously.  And about once every 2..3 day I see a crashes of
asterisk.

Server:  uname -a
Linux ast2007 2.6.20-1.2962.fc6 http://bugs.digium.com/view.php?id=1 SMP Tue Jun
19 18:50:05 EDT 2007 x86_64
x86_64 x86_64 GNU/Linux

In the /var/log/messages
Mar 10 11:46:02 ast2007 kernel: asterisk[2288]: segfault at
0000000000043058 rip 00000000004a68df rsp 000000004064fd00 error 4
Mar 10 11:46:48 ast2007 kernel: asterisk[4415] general protection
rip:2aaaaaed22b9 rsp:4077bce0 error:0.

And in the /tmp appears a couple of coredumps.
First is:
Core was generated by `/usr/sbin/asterisk -n -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
http://bugs.digium.com/view.php?id=0  ast_translator_free_path (p=0x43000) at
translate.c:143
143             if (ast_test_flag(&pvt->f, AST_FRFLAG_FROM_TRANSLATOR)) {
(gdb) bt
http://bugs.digium.com/view.php?id=0  ast_translator_free_path (p=0x43000) at
translate.c:143
http://bugs.digium.com/view.php?id=1  0x000000000043b0a8 in ast_do_masquerade
(original=0xaea720) at
channel.c:1401
http://bugs.digium.com/view.php?id=2  0x000000000043bf06 in ast_waitfor_nandfds
(c=0x406500e0, n=1, fds=0x0,
nfds=0, exception=0x0, outfd=0x0, ms=0x4065303c) at channel.c:1645
http://bugs.digium.com/view.php?id=3  0x000000000043c677 in ast_waitfor_n
(c=0x43000, n=1, ms=<value
optimized out>) at channel.c:1764
http://bugs.digium.com/view.php?id=4  0x000000000042bc7e in autoservice_run
(ign=<value optimized out>) at
autoservice.c:104
http://bugs.digium.com/view.php?id=5  0x00000000004a98bc in dummy_start
(data=<value optimized out>) at
utils.c:852
http://bugs.digium.com/view.php?id=6  0x00002aaaaaed0305 in start_thread () from
/lib64/libpthread.so.0
http://bugs.digium.com/view.php?id=7  0x00002aaaab8a750d in clone () from
/lib64/libc.so.6
http://bugs.digium.com/view.php?id=8  0x0000000000000000 in ?? ()


Second is:
Core was generated by `/usr/sbin/asterisk -n -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
http://bugs.digium.com/view.php?id=0  0x00002aaaaaed22b9 in pthread_mutex_lock
() from
/lib64/libpthread.so.0
(gdb) bt
http://bugs.digium.com/view.php?id=0  0x00002aaaaaed22b9 in pthread_mutex_lock
() from
/lib64/libpthread.so.0
http://bugs.digium.com/view.php?id=1  0x000000000043b061 in ast_do_masquerade
(original=0x7d4290) at
/home/walrus/asterisk-1.4.18/include/asterisk/lock.h:701
http://bugs.digium.com/view.php?id=2  0x000000000043bf06 in ast_waitfor_nandfds
(c=0x4077c0e0, n=1, fds=0x0,
nfds=0, exception=0x0, outfd=0x0, ms=0x4077f03c) at channel.c:1645
http://bugs.digium.com/view.php?id=3  0x000000000043c677 in ast_waitfor_n
(c=0x61772e7d4449461d, n=1,
ms=<value optimized out>) at channel.c:1764
http://bugs.digium.com/view.php?id=4  0x000000000042bc7e in autoservice_run
(ign=<value optimized out>) at
autoservice.c:104
http://bugs.digium.com/view.php?id=5  0x00000000004a98bc in dummy_start
(data=<value optimized out>) at
utils.c:852
http://bugs.digium.com/view.php?id=6  0x00002aaaaaed0305 in start_thread () from
/lib64/libpthread.so.0
http://bugs.digium.com/view.php?id=7  0x00002aaaab8a750d in clone () from
/lib64/libc.so.6
http://bugs.digium.com/view.php?id=8  0x0000000000000000 in ?? ()


Please let me know if you need additional info

====================================================================== 

---------------------------------------------------------------------- 
 file - 03-10-08 09:01  
---------------------------------------------------------------------- 
This issue has already been solved in SVN and will be fixed in the next
release. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-10-08 09:01  file           Status                   new => resolved     
03-10-08 09:01  file           Resolution               open => no change
required
03-10-08 09:01  file           Assigned To               => file            
03-10-08 09:01  file           Note Added: 0083659                          
======================================================================




More information about the asterisk-bugs mailing list