Summary:ASTERISK-15913: [patch] SegFault when connecting incoming call to parked call.
Reporter:Ken Barnt (kennethson)Labels:
Date Opened:2010-04-03 16:57:13Date Closed:2011-06-07 14:00:37
Versions:Frequency of
Environment:Attachments:( 0) ebolla-extensions-conf.txt
( 1) ebolla-messages.txt
( 2) ebolla-sip-conf.txt
( 3) issue0017136.patch
( 4) pluto-bt.txt
( 5) pluto-extensions-conf.txt
( 6) pluto-messages.txt
( 7) pluto-sip-conf.txt
Description:When connecting an incoming call (a Google Voice ringback) to a parked call (from the extension initiating the call) a SegFault occurs when ParkedCall() is called.


SegFault happens every time this kind of call is attempted on my PBX (pluto), but doesn't seem to ever happen on my friend's (ebolla).

pluto - Linux pluto 2.6.24-19-xen #1 SMP Wed Aug 20 21:08:51 UTC 2008 x86_64 Dual-Core AMD Opteron(tm) Processor 2214 AuthenticAMD GNU/Linux
- Asterisk built by root @ pluto on a x86_64 running Linux on 2010-04-03 17:55:57 UTC
ebolla - Linux movies-backend 2.6.18-128.1.6.el5.centos.plus #1 SMP Thu Apr 2 12:53:36 EDT 2009 i686 athlon i386 GNU/Linux
- Asterisk built by root @ movies-backend on a i686 running Linux on 2010-04-01 15:16:13 UTC

BT from pluto and messages/confs from both attached.
Comments:By: Ken Barnt (kennethson) 2010-04-06 09:04:21

On looking into it further, it seems this happens when Asterisk attempts to join the incoming call to the parked call before it has finished executing the Park() command. We've since got it to SegFault a couple of times on Ebolla (sorry, no BT at the moment) but it does it much more consistently on Pluto.

By: Leif Madsen (lmadsen) 2010-04-09 12:08:16

Thanks for the information. I don't have anything further to add here.

By: Paul Belanger (pabelanger) 2010-07-24 21:44:00

Do you mind trying the attached patch?

By: Paul Belanger (pabelanger) 2010-08-04 11:55:03


By: Paul Belanger (pabelanger) 2010-08-18 07:56:32

Do you mind testing the attached patch?

By: Leif Madsen (lmadsen) 2010-08-31 14:50:53

No response from the reporter. Paul, if you want to commit this, just get a Ship It! prior to commit. Thanks!