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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Nov 6 09:37:25 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
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-06 09:37 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?


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015984 QUEUE_MEMBER and QUEUE_MEMBER_COUNT tri...
====================================================================== 

---------------------------------------------------------------------- 
 (0113295) atis (reporter) - 2009-11-06 09:37
 https://issues.asterisk.org/view.php?id=15982#c113295 
---------------------------------------------------------------------- 
I think latest backtrace is related to this.

Running r228147 + 20091105__issue16013.diff.txt +
20091105__issue15982.diff.txt

# 0  0x0000003a41e42ed8 in _IO_vfprintf_internal (s=0x2aaac42f6510,
format=0x575210 "%p %s%d   %s:%d:%s (%s) [@%d]\n", ap=0x40c90a60) at
vfprintf.c:1298
# 1  0x0000003a41e4c9f8 in __fprintf (stream=0x40c90930,
format=0x3a42a0e4f0 "H\213\227\210") at fprintf.c:33
# 2  0x00000000004416c4 in _ao2_ref_debug (user_data=0x2aaaad966330,
delta=1, tag=0x2aaabc84e924 "", file=0x2aaabc84cd34 "app_queue.c",
line=2107, funcname=0x2aaabc84f9b0 "num_available_members") at
astobj2.c:233 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-06 09:37 atis           Note Added: 0113295                          
======================================================================




More information about the asterisk-bugs mailing list