[Home]

Summary:ASTERISK-17556: Segfault while setting options of a technology driver (1.8.2)
Reporter:Kaian (kaian)Labels:
Date Opened:2011-03-14 10:58:19Date Closed:2011-03-31 12:41:06
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:1.8.2 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) backtrace
Description:Version: Asterisk 1.8.2.3 (RSP (Community supported branch) 1.8.2.3)
OS: Linux pbx1 2.6.26-2-amd64 #1 SMP Tue Jan 25 05:59:43 UTC 2011 x86_64 GNU/Linux

We've found that asterisk generated segfaults while handling options of a zombie channel.

Full backtrace is attached.

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

(gdb) p chan->name
$1 = 0x2ca7c1e "SIP/CBT142600M0-00000339<ZOMBIE>"

(gdb) p chan->tech->description
$2 = 0x7fda12f9dec8 "Session Initiation Protocol (SIP)"

(gdb) p chan->tech_pvt
$3 = (void *) 0x0

So, chan->tech_pvt->rtp crashes in sip_setoptions.
Comments:By: Leif Madsen (lmadsen) 2011-03-31 12:41:06

Please take this issue up with the maintainer of your copy of Asterisk:

http://www.asterisk-es-rsp.org/doku.php