[Home]

Summary:ASTERISK-17597: Asterisk crashes with segfault message two or three times a day
Reporter:stc-admin (stc-admin)Labels:
Date Opened:2011-03-24 03:56:22Date Closed:2011-04-19 09:59:25
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:1.6.2.17 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Hi,

sometimes our Asterisk-Server crashes unexpectedly, but I don't know how to reproduce the situation.

While crashing, I always get the exact same message in /var/log/messages:
Mar 24 09:28:35 PBX-ZRH kernel: asterisk[13553]: segfault at 0000000000000288 rip 00002aaabc54db94 rsp 00000000419ca918 error 4

This happens two or three times per day.


Last line before the crash in /var/log/asterisk/messages:
[Mar 24 09:28:34] NOTICE[13553] rtp.c: Unknown RTP codec 126 received from '0.0.0.0'

And after the crash in /var/log/asterisk/messages:

[Mar 24 09:28:40] NOTICE[15344] loader.c: 2 modules will be loaded.
[Mar 24 09:28:40] NOTICE[15344] res_odbc.c: Connecting asterisk
[Mar 24 09:28:40] NOTICE[15344] res_odbc.c: res_odbc: Connected to asterisk [asterisk]
[Mar 24 09:28:40] NOTICE[15344] res_odbc.c: Registered ODBC class 'asterisk' dsn->[asterisk]
[Mar 24 09:28:40] NOTICE[15344] res_odbc.c: res_odbc loaded.
[Mar 24 09:28:40] NOTICE[15344] config.c: Registered Config Engine odbc
[Mar 24 09:28:40] NOTICE[15344] cdr.c: CDR simple logging enabled.
[Mar 24 09:28:40] NOTICE[15344] loader.c: 180 modules will be loaded.
[Mar 24 09:28:40] NOTICE[15344] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Mar 24 09:28:40] NOTICE[15344] chan_skinny.c: Configuring skinny from skinny.conf
[Mar 24 09:28:40] WARNING[15344] utils.c: trying to reset empty pool
[Mar 24 09:28:40] NOTICE[15376] chan_sip.c: Peer 'colt' is now Reachable. (4ms / 2000ms)
[Mar 24 09:28:40] WARNING[15344] chan_dahdi.c: Ignoring any changes to 'userbase' (on reload) at line 23.
[Mar 24 09:28:40] WARNING[15344] chan_dahdi.c: Ignoring any changes to 'vmsecret' (on reload) at line 31.
[Mar 24 09:28:40] WARNING[15344] chan_dahdi.c: Ignoring any changes to 'hassip' (on reload) at line 35.
[Mar 24 09:28:40] WARNING[15344] chan_dahdi.c: Ignoring any changes to 'hasiax' (on reload) at line 39.
[Mar 24 09:28:40] WARNING[15344] chan_dahdi.c: Ignoring any changes to 'hasmanager' (on reload) at line 47.
[Mar 24 09:28:40] ERROR[15344] codec_dahdi.c: Failed to open /dev/dahdi/transcode: No such file or directory
[Mar 24 09:28:40] NOTICE[15344] pbx_ael.c: Starting AEL load process.
[Mar 24 09:28:40] NOTICE[15344] pbx_ael.c: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Mar 24 09:28:40] NOTICE[15344] pbx_ael.c: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Mar 24 09:28:40] NOTICE[15344] pbx_ael.c: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Mar 24 09:28:40] NOTICE[15344] pbx_ael.c: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Mar 24 09:28:40] NOTICE[15344] pbx_ael.c: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
[Mar 24 09:28:40] NOTICE[15344] config.c: Registered Config Engine mysql


Linux version 2.6.18-194.32.1.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48))

Asterisk 1.6.2.17.2 on a x86_64 running Linux

I used yum to install Asterisk, and I have automatic updates configured via yum, too.
Comments:By: Leif Madsen (lmadsen) 2011-04-05 10:50:22

You'll probably need to compile asterisk and reproduce the issue, as we'll need to see a backtrace. Please follow the directions here:

https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace