[Home]

Summary:ASTERISK-17881: Asterisk Crashes on CLI reload, moh reload, or randomly itself
Reporter:iceburg2011 (iceburg2011)Labels:
Date Opened:2011-05-18 12:17:37Date Closed:2011-07-26 14:08:40
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Resources/res_musiconhold
Versions:1.6.2.18 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) AsteriskLogs.txt
( 1) backtrace.txt
( 2) backtrace2011-05-18T145539-0500.txt
( 3) backtrace2011-05-18T165700-0500.txt
( 4) backtrace2011-05-19T121252-0500.txt
( 5) backtrace-2011-05-24T115322-0500.txt
( 6) backtrace--2011-05-26T183445-0500.txt
( 7) extensionsANDmusiconhold.txt
( 8) localhost-load-day.png
( 9) localhost-load-week.png
Description:Hi

I have an Asterisk setup (currently in final stages before go live) where a customer dials in and listen to Internet radio streams. He can also browse through streams by entering numbers directly or using # (forward) or *(backwards).
Current number of streams are 98.

The setup is not in production yet, so the only load on server is running those 98 mpg123 instances for Internet live streams.

Occasionally, which is completely random at the moment, Asterisk crashes and restarts itself, even though there is no call in progress.

Also, while doing reload on CLI or moh reload, it crashes, again randomly.

I search the forums, but could not find relevant issues, even though I found some problems with moh crash. I apologize if its a duplicate.

****** STEPS TO REPRODUCE ******

Happens Randomly
1) Sometime by just issuing reload command on CLI
2) or by issuing moh reload command on CLI
3) or itself while running and even there is no call in progress


****** ADDITIONAL INFORMATION ******

Hardware

Dual Quad Core Xeon,
Intel(R) Xeon(R) CPU           X3470  @ 2.93GHz

Memory: 2GB

Average Load, even when no call is in progress is around 1.5, varies from 0.5 to 3.0
Comments:By: iceburg2011 (iceburg2011) 2011-05-18 12:20:27

I have uploaded the relevant files for dianostics;
Backtrace
Extensions.conf and musiconhold.conf snippets
Asterisk logs from the time of crash


backtrace.txt --> asterisk crashed on "moh reload" command.
backtrace2011-05-18T145539-0500.txt ---> asterisk crashed automatically while running
backtrace2011-05-18T165700-0500.txt ----> asterisk crashed on "reload"
acktrace2011-05-19T121252-0500.txt ---> asterisk crashed while calls were in progress



By: iceburg2011 (iceburg2011) 2011-05-26 19:16:37

Some more crash dumps:
backtrace-2011-05-24T115322-0500.txt ---> In this case, asterisk was not accepting any inbound calls from external SIP, showing no errors in CLI log.

backtrace--2011-05-26T183445-0500.txt --> In this case, there was no sound of any live stream music, even though the streaming URLs were working fine but I could not hear any sound in asterisk and no error messages as well. When I issued reload command, asterisk crashed.

By: iceburg2011 (iceburg2011) 2011-06-21 12:05:53.024-0500

Hi

Is there any development on this issue? I am getting regular crashes, sometimes 3-4 times a day.
The recent one I had was an hour ago..

[Jun 21 11:12:16] VERBOSE[7137] app_macro.c:   == Spawn extension (macro-music, s, 2) exited non-zero on 'SIP/incoming-prodosec-00000010' in macro 'music'
[Jun 21 11:12:16] VERBOSE[7137] pbx.c:   == Spawn extension (incoming-prodosec, 15, 1) exited non-zero on 'SIP/incoming-prodosec-00000010'
[Jun 21 11:12:16] ERROR[7137] astobj2.c: refcount -1 on object 0xb7b837d0
[Jun 21 11:12:20] VERBOSE[27546] logger.c:  Asterisk Event Logger Started /var/log/asterisk/event_log
[Jun 21 11:12:20] VERBOSE[27546] config.c:   == Parsing '/etc/asterisk/asterisk.conf': [Jun 21 11:12:20] VERBOSE[27546] config.c:   == Found
[Jun 21 11:12:20] VERBOSE[27546] loader.c:  Asterisk Dynamic Loader Starting:


Can someone please help?

Thanks


By: Russell Bryant (russell) 2011-07-26 14:08:28.794-0500

Per the Asterisk maintenance timeline page at http://www.asterisk.org/asterisk-versions maintenance (bug) support for the 1.4 and 1.6.x branches has ended. For continued maintenance support please move to the 1.8 branch which is a long term support (LTS) branch. For more information about branch support, please see https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions