[asterisk-bugs] [Asterisk 0013703]: Abort in free in queue show <name> command

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 15 11:21:47 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13703 
====================================================================== 
Reported By:                davidw
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13703
Category:                   Applications/app_queue
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-15 08:56 CDT
Last Modified:              2008-10-15 11:21 CDT
====================================================================== 
Summary:                    Abort in free in queue show <name> command
Description: 
We were getting bogus queue not found messages from the QUEUE_MEMBER (and
QUEUE_MEMBER_COUNT function), so after running "queue show", which gave the
truncated queue name, we tried queue show <name> with the full name.
====================================================================== 

---------------------------------------------------------------------- 
 (0093720) putnopvut (administrator) - 2008-10-15 11:21
 http://bugs.digium.com/view.php?id=13703#c93720 
---------------------------------------------------------------------- 
It appears there are two separate problems being reported here. Allow me to
address each.

1. The QUEUE_MEMBER function is failing to find a queue that it should be
able to find with no problem. Let me first say that this is not related to
the truncation of the queue name that you see when issuing a 'queue show'
command. The truncation is just a formatting choice when printing the
queue's name. I'm not sure, immediately, why there would be trouble finding
the queue name, but to be honest, I'm more concerned about the other
problem you reported.

2. There is a crash which has happened when you issued a 'queue show'
command. Based on the backtrace, it appears that the reference count for a
queue reaches 0, and then inside the destructor function for the queue,
another function call causes the reference count to go back up to 1
temporarily and then back to 0, causing a crash to occur. This seems very
familiar, as if I fixed something exactly like this at one point. I'll have
to take a look at the commit history for app_queue and see if I find
anything. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-15 11:21 putnopvut      Note Added: 0093720                          
======================================================================




More information about the asterisk-bugs mailing list