[asterisk-bugs] [Asterisk 0017272]: [patch] Segmentation fault in scheduled event

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 4 03:15:19 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17272 
====================================================================== 
Reported By:                under
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17272
Category:                   Channels/chan_sip/General
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.26 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-05-01 14:48 CDT
Last Modified:              2010-05-04 03:15 CDT
====================================================================== 
Summary:                    [patch] Segmentation fault in scheduled event
Description: 
(gdb) bt
https://issues.asterisk.org/view.php?id=0  0x2b1e066c in
send_provisional_keepalive_full (pvt=0x3d8d9268,
with_sdp=1) at asterisk/channels/chan_sip.c:3324
https://issues.asterisk.org/view.php?id=1  0x2b1e080f in
send_provisional_keepalive_with_sdp (data=0x3d8d9268) at
asterisk/channels/chan_sip.c:3349
https://issues.asterisk.org/view.php?id=2  0x0815e013 in ast_sched_runq
(con=0x2af08da8) at
asterisk/main/sched.c:369
https://issues.asterisk.org/view.php?id=3  0x2b234341 in do_monitor (data=0x0)
at
asterisk/channels/chan_sip.c:20498
https://issues.asterisk.org/view.php?id=4  0x0816e112 in dummy_start
(data=0x294e96e8) at
asterisk/main/utils.c:861
https://issues.asterisk.org/view.php?id=5  0x282176ff in pthread_getprio () from
/lib/libthr.so.3
https://issues.asterisk.org/view.php?id=6  0x00000000 in ?? ()
(gdb) fr 0
https://issues.asterisk.org/view.php?id=0  0x2b1e066c in
send_provisional_keepalive_full (pvt=0x3d8d9268,
with_sdp=1) at asterisk/channels/chan_sip.c:3324
3324            if (!pvt->last_provisional ||
!strncasecmp(pvt->last_provisional, "100", 3)) {
(gdb) p pvt->last_provisional
Cannot access memory at address 0x3d8da9b8
(gdb) 
====================================================================== 

---------------------------------------------------------------------- 
 (0121324) under (reporter) - 2010-05-04 03:15
 https://issues.asterisk.org/view.php?id=17272#c121324 
---------------------------------------------------------------------- 
I tested system under load with this patch, and it goes to deadlock
(ast_channel->lock) after several hours. It seems that happens, because
timing has changed a bit after this patch. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-04 03:15 under          Note Added: 0121324                          
======================================================================




More information about the asterisk-bugs mailing list