[Home]

Summary:ASTERISK-02691: Asterisk hangs from time to time
Reporter:lancey (lancey)Labels:
Date Opened:2004-10-27 12:43:27Date Closed:2011-06-07 14:10:32
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) extensions.conf
Description:In a day or two, Asterisks always hangs with a bunch of SIP channels in state Ring(None). You can connect to the console and do 'show xxx' but 'stop now' doesn't work, nor any device is able to connect to *.

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

The log sais:
Oct 27 17:02:22 WARNING[1127426112]: overflow
and nothing more
Comments:By: Brian West (bkw918) 2004-10-27 12:46:14

Please read the bug posting guidelines before posting.  We need a bit more info.  You will need to attach to asterisk with gdb and do "thread apply all bt"

gdb pidofasterisk

bkw

By: Mark Spencer (markster) 2004-10-27 15:15:13

Please attach your extensions.conf

By: Mark Spencer (markster) 2004-10-27 15:16:12

This problem is related to some sort of expression overflow within the user's extension conf, and as such this is the ONLY reason i'm marking this down to minor because it's so specific.

By: lancey (lancey) 2004-10-28 18:40:36

Here it is

By: lancey (lancey) 2004-10-28 19:03:35

This blocking happened again, but i wasn't there to do a backtrace. This is what asterisk has done:
asterisk*CLI> show channels
       Channel  (Context    Extension    Pri )   State Appl.         Data      
0 active channel(s)

Oct 29 03:09:17 WARNING[8896524]: channel.c:472 ast_channel_walk_locked: Avoided initial deadlock for 'H323/212.116.131.76', 10 retries!

asterisk*CLI> stop now
asterisk*CLI>

this time it gave no stuck channels, but some strange H323 message i don't khow what it wants to say.

By: Mark Spencer (markster) 2004-11-07 01:20:13.000-0600

I have not seen this problem duplicated.  You can try to find me on IRC when it is in the "stuck" state and I can take a look.

By: lancey (lancey) 2004-11-07 15:55:29.000-0600

asterisk*CLI> show uptime
System uptime: 1 week, 1 day, 12 hours, 46 minutes, 37 seconds
Last reload: 18 hours, 9 minutes, 55 seconds
asterisk*CLI>

Since you told me to get a gdb dump, Asterisk haven't crashed anymore! Funny thing is i have changed exactly *nothing*, but it doesn't crash or generate stale channels anymore!

I have no idea what might have been the reason, I haven't changed extensions.conf nor any of the AGI scripts....

But it is stable now - i think you should close this bug report, and wish to thank you all for the help anyways!

By: Mark Spencer (markster) 2004-11-07 16:14:41.000-0600

Okay if it goes wrong again let me know. maybe it was something that got fixed along the way.