[asterisk-bugs] [Asterisk 0014045]: 'Random' segfault and core dump

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 9 15:23:28 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14045 
====================================================================== 
Reported By:                axisinternet
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14045
Category:                   Core/General
Reproducibility:            N/A
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.21.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-09 15:18 CST
Last Modified:              2008-12-09 15:23 CST
====================================================================== 
Summary:                    'Random' segfault and core dump
Description: 
Asterisk segfault at 12:37:18. Log entries prior and up to crash:

[Dec  9 12:37:16] VERBOSE[24036] logger.c:     -- Executing
[h at from-inside-redir-dhecs:1] Hangup("Local/566 at from-inside-dhecs-0fd6,2",
"") in new stack
[Dec  9 12:37:16] VERBOSE[24033] logger.c:   == Spawn extension
(macro-tl-userexten-rg-base, s, 23) exited non-zero on
'Local/563 at from-inside-dhecs-2964,2' in macro 'tl-userexten-rg-base'
[Dec  9 12:37:16] VERBOSE[24030] logger.c:   == Spawn extension
(macro-tl-userexten-rg-base, s, 23) exited non-zero on
'Local/560 at from-inside-dhecs-b709,2'
[Dec  9 12:37:16] VERBOSE[24036] logger.c:   == Spawn extension
(from-inside-redir-dhecs, h, 1) exited non-zero on
'Local/566 at from-inside-dhecs-0fd6,2'
[Dec  9 12:37:16] VERBOSE[24043] logger.c:   == End MixMonitor Recording
Local/560 at from-inside-dhecs-b709,2
[Dec  9 12:37:16] VERBOSE[24034] logger.c:   == Spawn extension
(macro-tl-userexten-rg-base, s, 23) exited non-zero on
'Local/564 at from-inside-dhecs-2f7e,2' in macro 'tl-stdexten'
[Dec  9 12:37:16] VERBOSE[24034] logger.c:   == Spawn extension
(macro-tl-userexten-rg-base, s, 23) exited non-zero on
'Local/564 at from-inside-dhecs-2f7e,2'
[Dec  9 12:37:16] VERBOSE[24033] logger.c:   == Spawn extension
(macro-tl-userexten-rg-base, s, 23) exited non-zero on
'Local/563 at from-inside-dhecs-2964,2' in macro 'tl-stdexten'
[Dec  9 12:37:16] VERBOSE[24033] logger.c:   == Spawn extension
(macro-tl-userexten-rg-base, s, 23) exited non-zero on
'Local/563 at from-inside-dhecs-2964,2'
[Dec  9 12:37:16] VERBOSE[24042] logger.c:   == End MixMonitor Recording
Local/563 at from-inside-dhecs-2964,2
[Dec  9 12:37:16] VERBOSE[21862] logger.c:  Extension Changed
569[local-extensions-dhecs] new state Idle for Notify User 567-dhecs
[Dec  9 12:37:16] VERBOSE[21862] logger.c:  Extension Changed
562[local-extensions-dhecs] new state Idle for Notify User 567-dhecs
[Dec  9 12:37:16] VERBOSE[21862] logger.c:  Extension Changed
560[local-extensions-dhecs] new state Idle for Notify User 567-dhecs
[Dec  9 12:37:17] VERBOSE[24031] logger.c:   == Spawn extension
(macro-tl-userexten-rg-base, s, 23) exited non-zero on
'Local/561 at from-inside-dhecs-570b,2' in macro 'tl-userexten-rg-base'
[Dec  9 12:37:17] VERBOSE[24031] logger.c:   == Spawn extension
(macro-tl-userexten-rg-base, s, 23) exited non-zero on
'Local/561 at from-inside-dhecs-570b,2' in macro 'tl-stdexten'
[Dec  9 12:37:17] VERBOSE[24031] logger.c:   == Spawn extension
(macro-tl-userexten-rg-base, s, 23) exited non-zero on
'Local/561 at from-inside-dhecs-570b,2'
[Dec  9 12:37:17] VERBOSE[21862] logger.c:  Extension Changed
564[local-extensions-dhecs] new state Idle for Notify User 567-dhecs

Asterisk then restarted automatically via monit daemon:

[Dec  9 12:37:51] VERBOSE[24064] logger.c: Asterisk Event Logger Started
/var/log/asterisk/event_log
[Dec  9 12:37:51] VERBOSE[24064] logger.c: Asterisk Dynamic Loader
Starting:
[Dec  9 12:37:51] VERBOSE[24064] logger.c:   == Parsing
'/etc/asterisk/modules.conf': [Dec  9 12:37:51] VERBOSE[24064] logger.c:
Found
[Dec  9 12:37:51] VERBOSE[24064] logger.c:   == Parsing
'/etc/asterisk/dnsmgr.conf': [Dec  9 12:37:51] VERBOSE[24064] logger.c:
Found
[Dec  9 12:37:51] VERBOSE[24064] logger.c:   == Parsing
'/etc/asterisk/http.conf': [Dec  9 12:37:51] VERBOSE[24064] logger.c:
Found


I do have the core dump file if requested I can upload it as well.
====================================================================== 

---------------------------------------------------------------------- 
 (0096036) axisinternet (reporter) - 2008-12-09 15:23
 http://bugs.digium.com/view.php?id=14045#c96036 
---------------------------------------------------------------------- 
Forgot the actual syslog segfault message. It is:

Dec  9 12:37:18 voip01 kernel: asterisk[23929]: segfault at
0000000001120000 rip 0000002a96a99dc4 rsp 0000000043ca2010 error 4

As noted, I do also have the core dump, but it's gzipped to 5.4 meg - too
large for your 2 meg limit on file uploads. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-09 15:23 axisinternet   Note Added: 0096036                          
======================================================================




More information about the asterisk-bugs mailing list