Summary: | ASTERISK-17356: Asterisk Crash while starting | ||
Reporter: | Jeremy Kister (jkister) | Labels: | |
Date Opened: | 2011-02-05 02:03:23.000-0600 | Date Closed: | 2011-06-07 14:00:30 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Applications/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) backtrace.txt | |
Description: | I noticed my asterisk crashes while starting. The automatic restart sometimes causes another crash, other times asterisk restarts fine. once asterisk starts, i do not notice the crash. | ||
Comments: | By: Jeremy Kister (jkister) 2011-02-05 02:04:53.000-0600 shell shows: pbx1> /usr/sbin/safe_asterisk: line 145: 3463 Segmentation fault (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} > /dev/${TTY} 2>&1 < /dev/${TTY} Asterisk ended with exit status 139 Asterisk exited on signal 11. Automatically restarting Asterisk. By: Jeremy Kister (jkister) 2011-02-05 02:06:22.000-0600 /var/log/asterisk/messages shows asterisk starting, crashing, and then restarting and working: [Feb 5 02:52:48] NOTICE[2786] loader.c: 2 modules will be loaded. [Feb 5 02:52:48] NOTICE[2786] dnsmgr.c: Managed DNS entries will be refreshed every 1200 seconds. [Feb 5 02:52:48] NOTICE[2786] cdr.c: CDR simple logging enabled. [Feb 5 02:52:48] NOTICE[2786] loader.c: 164 modules will be loaded. [Feb 5 02:52:53] NOTICE[2814] loader.c: 2 modules will be loaded. [Feb 5 02:52:53] NOTICE[2814] dnsmgr.c: Managed DNS entries will be refreshed every 1200 seconds. [Feb 5 02:52:53] NOTICE[2814] cdr.c: CDR simple logging enabled. [Feb 5 02:52:53] NOTICE[2814] loader.c: 164 modules will be loaded. [Feb 5 02:52:53] ERROR[2814] chan_jingle.c: Unable to read config file jingle.conf. Not loading module. [Feb 5 02:52:53] NOTICE[2836] chan_sip.c: Peer '100' is now Reachable. (123ms / 2000ms) [Feb 5 02:52:53] NOTICE[2836] chan_sip.c: Peer '101' is now Reachable. (102ms / 2000ms) <snip hundreds of lines> By: Jeremy Kister (jkister) 2011-02-05 02:06:54.000-0600 please let me know what other information i can provide. the backtrace is rather terse, so i'm not sure what information will be useful. By: Jeremy Kister (jkister) 2011-02-05 03:34:36.000-0600 from syslog: Feb 5 02:52:48 pbx1 kernel: [233062.472168] asterisk[2786]: segfault at 10c ip b779f723 sp bf9daaec error 4 in ld-2.7.so[b778a000+1a000] By: Leif Madsen (lmadsen) 2011-02-07 12:04:34.000-0600 I'm not sure from the backtrace what is crashing. It might be best to try setting autoload=no in modules.conf and just loading one module at a time to find out what module is crashing on your system. By: Jeremy Kister (jkister) 2011-02-10 13:48:49.000-0600 will work on that, possibly this weekend. By: Leif Madsen (lmadsen) 2011-03-08 15:10:07.000-0600 Suspending for now. |