[asterisk-bugs] [Asterisk 0014033]: Delete a queue from realtime crashes Asterisk

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 15 10:10:38 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14033 
====================================================================== 
Reported By:                cristiandimache
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   14033
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.0.2 
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-12-08 17:26 CST
Last Modified:              2008-12-15 10:10 CST
====================================================================== 
Summary:                    Delete a queue from realtime crashes Asterisk
Description: 
Seems to be related to http://bugs.digium.com/view.php?id=13703, but with
realtime in the mix.
We use realtime and store our queues in MySQL. If you delete a queue,
Asterisk crashes if you try an "queue show".
Using Asterisk 1.6.03-rc1.
====================================================================== 

---------------------------------------------------------------------- 
 (0096387) svnbot (reporter) - 2008-12-15 10:10
 http://bugs.digium.com/view.php?id=14033#c96387 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 164268

U   trunk/apps/app_queue.c

------------------------------------------------------------------------
r164268 | mmichelson | 2008-12-15 10:10:38 -0600 (Mon, 15 Dec 2008) | 17
lines

Fix up a few issues with regards to queues

* Fix reference counting used in the __queues_show function
* Add code to be sure that the "queue show" command does not
  print information for a realtime queue which has been deleted
  from the backend
* Add a missing unref to the realtime queue loading function for
  the case where a queue is in the module's container but has been
  deleted from the realtime backend

(closes issue http://bugs.digium.com/view.php?id=14033)
Reported by: cristiandimache
Patches:
      14033.patch uploaded by putnopvut (license 60)
Tested by: cristiandimache


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=164268 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-15 10:10 svnbot         Checkin                                      
2008-12-15 10:10 svnbot         Note Added: 0096387                          
======================================================================




More information about the asterisk-bugs mailing list