[Home]

Summary:ASTERISK-13906: Asterisk crashes on directed Pickup.
Reporter:Laurent Steffan (lmsteffan)Labels:
Date Opened:2009-04-06 17:16:16Date Closed:2009-06-08 13:36:40
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_directed_pickup
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) bug_interception.txt
( 1) crash_message.txt
( 2) extensions.conf
( 3) gdb.txt
( 4) sip.conf
Description:I have just updated to the latest SVN asterisk and it crashes on directed Pickup.
Comments:By: Joshua C. Colp (jcolp) 2009-04-07 07:29:56

Please follow the instructions in doc/backtrace.txt of the Asterisk source directory to get a backtrace that you can upload here so we can see what is up.

By: Laurent Steffan (lmsteffan) 2009-04-07 16:51:25

Here it is. Compile options include DONT_OPTIMIZE and MALLOC_DEBUG.

The other file is the message left by the dying asterisk about freeing some unused memory, which I obtained before performing the backtrace that you requested.

By: Digium Subversion (svnbot) 2009-04-23 11:55:49

Repository: asterisk
Revision: 190217

U   trunk/apps/app_directed_pickup.c

------------------------------------------------------------------------
r190217 | file | 2009-04-23 11:55:49 -0500 (Thu, 23 Apr 2009) | 13 lines

Fix a double free issue with the Pickup dialplan application.

As part of the pickup process the connected line information is updated.
Part of this process does a shallow copy of the target channel's connected line
information to a local structure. Once complete the structure contents are freed.
As a result any information in the target channel's connected line information
structure is no longer valid. This change will now set the contents back to a clean
state so that the freeing of the target channel's connected line information structure
when the channel is destroyed will no longer try to double free things.

(closes issue ASTERISK-13906)
Reported by: lmsteffan

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

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

By: Digium Subversion (svnbot) 2009-04-23 11:56:14

Repository: asterisk
Revision: 190218

_U  branches/1.6.2/

------------------------------------------------------------------------
r190218 | file | 2009-04-23 11:56:14 -0500 (Thu, 23 Apr 2009) | 19 lines

Blocked revisions 190217 via svnmerge

........
 r190217 | file | 2009-04-23 13:55:48 -0300 (Thu, 23 Apr 2009) | 13 lines
 
 Fix a double free issue with the Pickup dialplan application.
 
 As part of the pickup process the connected line information is updated.
 Part of this process does a shallow copy of the target channel's connected line
 information to a local structure. Once complete the structure contents are freed.
 As a result any information in the target channel's connected line information
 structure is no longer valid. This change will now set the contents back to a clean
 state so that the freeing of the target channel's connected line information structure
 when the channel is destroyed will no longer try to double free things.
 
 (closes issue ASTERISK-13906)
 Reported by: lmsteffan
........

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

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