[Home]

Summary:ASTERISK-03242: asterisk fails to start with latest app_queue if you have a queue in queues.conf file
Reporter:amzaka (amzaka)Labels:
Date Opened:2005-01-10 09:07:40.000-0600Date Closed:2011-06-07 14:00:30
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) queues.conf
Description:I have specified a queue [reception] in queues.conf and asterisk stuck while booting. This is happening when i updated the latest CVS version today. If i comment the reception queue all is fine. I am not using odbc or mysql for queues in extconfig.conf and still it is happening.
Comments:By: Brian West (bkw918) 2005-01-10 09:18:14.000-0600

backtrace would be most helpful.

By: Russell Bryant (russell) 2005-01-10 09:18:49.000-0600

make sure you do a make clean before make install

Also, go ahead and clear out /usr/lib/modules/asterisk/ and re-install

Then, verify that you still have the issue.  If you do, please provide some more debug info, such as any errors you receive.

Thanks!

By: amzaka (amzaka) 2005-01-10 10:38:02.000-0600

This is related to the other bug id as well that is 0003307. When I change the chan_sip.c to the previous one it doesnot stuck the asterisk. But when I use the latest CVS chan_sip.c which also uses sip_notify asterisk stuck while loading app_queue.

By: Mark Spencer (markster) 2005-01-10 10:44:42.000-0600

I have a queue and asterisk is starting just fine.  If you find me on IRC I can try to login to your machine and look,b ut you need to find me early this morning.

By: Kevin P. Fleming (kpfleming) 2005-01-10 11:19:35.000-0600

And I have a bunch of queues, all using SIP members, working fine. I'd be interested to find out what the root cause of these symptoms are, if it's not a configuration error.

By: Brian West (bkw918) 2005-01-10 14:54:30.000-0600

It smells like someone didn't make clean.... this always happens when channel.h is changed.

bkw

By: joshz (joshz) 2005-01-11 10:10:45.000-0600

Per bkw918, bug ID 3311, I actually did do a make clean before I installed each CVS.  And, I am still having the same problem.

Jan 11 10:52:53 WARNING[29792]: Avoided initial deadlock for 'Agent/153', 10 retries!
Jan 11 10:54:22 WARNING[29792]: Avoided deadlock for 'Agent/153', 10 retries!
Jan 11 10:54:27 WARNING[29792]: Avoided deadlock for 'Agent/153', 10 retries!

kill -9 is required on asterisk pid

These only happen in cases where the user is an IAX client.  Happens every 6 to 7 hours, events that cause the issue are unknown.

By: Mark Spencer (markster) 2005-01-11 15:24:55.000-0600

This is going to require a full backtrace and will require that you build with "make clean ; make valgrind ; make install" to be sure we get a full stack picture.  It might also be helpful to uncomment -DDEBUG_THREADS in the Makefile and to find someone (possibly me) on IRC to do some diagnostic.

By: twisted (twisted) 2005-01-11 22:58:20.000-0600

changing to block status, as I don't see any indication of an actual crash.

By: Mark Spencer (markster) 2005-01-12 09:45:01.000-0600

I think this has nothing to do with queues, but I guess we'll wait for a backtrace to see.

By: amzaka (amzaka) 2005-01-12 10:32:34.000-0600

Yes! Mark the major bug is 0003307 which induce this one. since when i change the chan_sip.c everything looks fine. but with the new one it just stuck.

By: Mark Spencer (markster) 2005-01-12 10:42:49.000-0600

okay, closing this one out then.