[asterisk-bugs] [Asterisk 0011455]: Asterisk crash in the middle of a "reload" command

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Dec 5 09:13:06 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11455 
====================================================================== 
Reported By:                elandivar
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11455
Category:                   Addons/General
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.15  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-03-2007 22:49 CST
Last Modified:              12-05-2007 09:13 CST
====================================================================== 
Summary:                    Asterisk crash in the middle of a "reload" command
Description: 
Asterisk is crashing about 7 of 10 times when I run a reload command.

I have ran asterisk with strace to see if i can get more information. Here
are the last lines of 3 strace runs. As you can see asterisk crashed in
different stages of the reload process:

RELOAD http://bugs.digium.com/view.php?id=1
=========

  == Parsing '/etc/asterisk/users.conf': Found
    -- Reloading module 'codec_alaw.so' (A-law Coder/Decoder)
  == Parsing '/etc/asterisk/codecs.conf': Found
    -- codec_alaw: using generic PLC
    -- Reloading module 'chan_sip.so' (Session Initiation Protocol (SIP))
 Reloading SIP
[{fd=29, events=POLLIN}], 1, -1)   = -1 EINTR (Interrupted system call)
+++ killed by SIGSEGV +++

RELOAD http://bugs.digium.com/view.php?id=2
=========

  == Setting global variable 'CWINUSEBUSY' to 'true'
  == Setting global variable 'AMPMGRUSER' to 'admin'
  == Setting global variable 'AMPMGRPASS' to 'elastix456'
    -- Registered extension context 'park-dial'
    -- Including context 'park-dial-custom' in context 'park-dial'
    -- Added extension 't' priority 1 to park-dial
    -- Added extension 't' priority 2 to park-dial
[{fd=32, events=POLLIN}], 1, -1)   = -1 EINTR (Interrupted system call)
+++ killed by SIGSEGV +++

RELOAD http://bugs.digium.com/view.php?id=3
=========

/usr/lib/asterisk/modules/res_clioriginate.so
008c8000-008e1000 r-xp 00000000 03:02 17826039   /lib/ld-2.5.so
008e1000-008e2000 r-xp 00018000 03:02 17826039   /lib/ld-2.5.so
008e2000-008e3000 rwxp 00019000 03:02 17826039   /lib/ld-2.5.so
008e3000-008e4000 r-xp 00000000 03:02 11506593  
/usr/lib/asterisk/modules/func_sha1.so
008e4000-008e5000 rwxp 00000000 03:02 11506593  
/usr/lib/asterisk/modules/func_sha1.so
008e5000-00a22000 r-xp 00000000 03:02 17829511   /lib/libc-2.5.so
00a22000-00a24000 r-xp 0013d000 03:02 17829[{fd=29, events=POLLIN}], 1,
-1)   = -1 EINTR (Interrupted system call)
trace: ptrace(PTRACE_SYSCALL, ...): No such process

This bug was also happening in 1.4.14.

If you need more information, please let me know.


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

---------------------------------------------------------------------- 
 irroot - 12-05-07 09:13  
---------------------------------------------------------------------- 
please recompile with dont_optimise and in gdb do a bt full 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-05-07 09:13  irroot         Note Added: 0074806                          
======================================================================




More information about the asterisk-bugs mailing list