[asterisk-bugs] [Asterisk 0015982]: [patch] Segmentation fault in queue_cmp_cb

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Nov 5 15:10:28 CST 2009


The following issue is now READY FOR TESTING. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15982 
====================================================================== 
Reported By:                atis
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15982
Category:                   Applications/app_queue
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-317 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 220631 
Request Review:              
====================================================================== 
Date Submitted:             2009-09-29 06:33 CDT
Last Modified:              2009-11-05 15:10 CST
====================================================================== 
Summary:                    [patch] Segmentation fault in queue_cmp_cb
Description: 
I had this crash once, i'm not sure what's the cause of it, but maybe it's
good to add check for ast_strlen_zero within queue_cmp_cb?


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

---------------------------------------------------------------------- 
 (0113227) tilghman (administrator) - 2009-11-05 15:10
 https://issues.asterisk.org/view.php?id=15982#c113227 
---------------------------------------------------------------------- 
While you're correct that the string comparison would fix this particular
crash, what that patch does is to mask the actual problem, which is likely
incorrect reference counts.  While inserting debugging statements, I found
a few likely candidates, which are now fixed in this patch.  Please test
and report back results. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-05 15:10 tilghman       Note Added: 0113227                          
2009-11-05 15:10 tilghman       Assigned To               => tilghman        
2009-11-05 15:10 tilghman       Status                   acknowledged => ready
for testing
2009-11-05 15:10 tilghman       Description Updated                          
2009-11-05 15:10 tilghman       Additional Information Updated                  
 
======================================================================




More information about the asterisk-bugs mailing list