[asterisk-bugs] [Asterisk 0010884]: queue remove member <TAB> causes core dump and crash

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Oct 4 09:31:36 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10884 
====================================================================== 
Reported By:                adamg
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   10884
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.11  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!): 84581 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-04-2007 09:26 CDT
Last Modified:              10-04-2007 09:31 CDT
====================================================================== 
Summary:                    queue remove member <TAB> causes core dump and crash
Description: 
This was originally posted as part of bug 0010724 but I was advised to
create a new bug report so here it is.

I just updated to current SVN last night, and this morning found this
problem. From the CLI if I type "queue remove member <TAB>" then asterisk
will crash. I've reproduced this twice.

queue remove member *** glibc detected *** free(): invalid pointer:
0x08247d70 ***
Asterisk ended with exit status 0

There was nothing written to the log files but there is a core dump.
I am using version SVN-branch-1.4-r84581M
I am using debian stable with all updates
I tried to read the guidelines to find out what to do with the core file,
but it simply said to "see the notes below" but there were no notes below
on gdb.... (the test gdb only appears once on the page).

I re updated again to the latest 1.4 from svn when I was asked and had the
same result.

Anyway, hopefully this is a simple fix, but if you need additional info,
let me know and I will re-test or provide the info needed.

Regards,
Adam
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 10-04-07 09:31  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 84637

U   branches/1.4/apps/app_queue.c

------------------------------------------------------------------------
r84637 | file | 2007-10-04 09:31:35 -0500 (Thu, 04 Oct 2007) | 4 lines

Create a duplicate of the channel's member name as the tab completion
stuff will free it.
(closes issue http://bugs.digium.com/view.php?id=10884)
Reported by: adamg

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-04-07 09:31  svnbot         Checkin                                      
10-04-07 09:31  svnbot         Note Added: 0071455                          
10-04-07 09:31  svnbot         Status                   new => assigned     
10-04-07 09:31  svnbot         Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list