[asterisk-bugs] [Asterisk 0012388]: AddQueueMember and RemoveQueueMember randomly lock up asterisk.

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Apr 9 15:16:22 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12388 
====================================================================== 
Reported By:                ggiraudon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12388
Category:                   Applications/app_queue
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.4.17 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-08-2008 14:40 CDT
Last Modified:              04-09-2008 15:16 CDT
====================================================================== 
Summary:                    AddQueueMember and RemoveQueueMember randomly lock
up asterisk.
Description: 
When using the AddQueueMember and RemoveQueueMember functions, asterisk
will randomly lock up. Calls might still go through but "core show
channels" and some other CLI functions will not return any output.

I have rebuilt asterisk with DEBUG_CHANNEL_LOCKS and DEBUG_THREADS and
have a lock and thread dump of when this happens.

This issue has been noticed since 1.4.13 and identified in 1.4.17. It is
however still happenning in asterisk 1.4.19.


====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 04-09-08 15:16  
---------------------------------------------------------------------- 
I have a feeling that res_config_mysql isn't loading when you change to
enable DEBUG_THREADS because the appropriate clean operations have not been
done. To ensure that everything is clean, do a `make distclean` in both the
asterisk and addons directories, then `make menuselect` in the asterisk
directory and select DEBUG_THREADS (and DONT_OPTIMIZE so you can get a
backtrace when the lockup happens). Then compile asterisk and addons.

See if that solves the issue of mysql not loading properly. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-09-08 15:16  putnopvut      Note Added: 0085244                          
======================================================================




More information about the asterisk-bugs mailing list