[Home]

Summary:ASTERISK-13189: 'Random' segfault and core dump
Reporter:axisinternet (axisinternet)Labels:
Date Opened:2008-12-09 15:18:41.000-0600Date Closed:2009-06-10 12:49:33
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisk-voip01-segfault-backtrace_2008-12-09_1.txt
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@from-inside-redir-dhecs:1] Hangup("Local/566@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@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@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@from-inside-dhecs-0fd6,2'
[Dec  9 12:37:16] VERBOSE[24043] logger.c:   == End MixMonitor Recording Local/560@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@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@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@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@from-inside-dhecs-2964,2'
[Dec  9 12:37:16] VERBOSE[24042] logger.c:   == End MixMonitor Recording Local/563@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@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@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@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.
Comments:By: axisinternet (axisinternet) 2008-12-09 15:23:28.000-0600

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.

By: Joshua C. Colp (jcolp) 2008-12-09 16:13:21.000-0600

Please follow the instructions of backtrace.txt in the doc directory to get a backtrace using your core dump and attach it to this issue.

By: Mark Michelson (mmichelson) 2009-02-12 09:30:09.000-0600

This backtrace is very familiar and has been mostly fixed in current 1.4 code. The first step you need to follow is to update to the latest 1.4 code. It appears there was still a potentially uncaught case of this crash occurring, and it is being tracked on issue ASTERISK-13507. I am closing this issue since it is a duplicate of known issues.