[Home]

Summary:ASTERISK-11809: realtime queue crash with
Reporter:Tommaso Calosi (tcalosi)Labels:
Date Opened:2008-04-09 11:11:38Date Closed:2008-04-09 17:29:15
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 12396.patch
( 1) dump_from_bt.txt
Description:My config was working smoothly on the last svn 1.4 now after the upgrade i have this:

*CLI> queue show quename
Segmentation fault

This also happens when I send a call to a queue.





****** ADDITIONAL INFORMATION ******

extconfig:

queues => mysql,asterisk,tails
queue_members => mysql,asterisk,queue_members

The tables has the structure suggested for realtime queue on http://www.voip-info.org/wiki/view/Asterisk+RealTime+Queue

Other realtime config (Realtime sip and extensions) seems to work correctly

Comments:By: Mark Michelson (mmichelson) 2008-04-09 12:54:48

tcalosi:

Could you please upload a backtrace from the crash? See doc/backtrace.txt for instructions. Thanks.

By: Mark Michelson (mmichelson) 2008-04-09 16:57:57

I have uploaded a patch which I believe will fix the issue. Please give it a try.

By: Tommaso Calosi (tcalosi) 2008-04-09 17:26:26

Hi putnopvut,

It seems to work! Thanks a lot. I've just tested it for a few minutes but it works, other. Thanks again for your quick help

Tom

By: Digium Subversion (svnbot) 2008-04-09 17:29:14

Repository: asterisk
Revision: 113982

_U  branches/1.6.0/
U   branches/1.6.0/apps/app_queue.c

------------------------------------------------------------------------
r113982 | mmichelson | 2008-04-09 17:29:13 -0500 (Wed, 09 Apr 2008) | 16 lines

Merged revisions 113980 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r113980 | mmichelson | 2008-04-09 17:32:32 -0500 (Wed, 09 Apr 2008) | 8 lines

Fix a crash that happened due to accessing free'd memory

(closes issue ASTERISK-11809)
Reported by: tcalosi
Patches:
     12396.patch uploaded by putnopvut (license 60)
 Tested by: tcalosi

........

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

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