[asterisk-bugs] [Asterisk 0016027]: [patch] Crash on Pickup or Transfer

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 7 12:46:42 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16027 
====================================================================== 
Reported By:                ciscofreak
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   16027
Category:                   Channels/chan_sip/General
Reproducibility:            unable to reproduce
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.26.2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-06 11:04 CDT
Last Modified:              2009-10-07 12:46 CDT
====================================================================== 
Summary:                    [patch] Crash on Pickup or Transfer
Description: 
I am not able to reproduce this crash and I do not know when it happens. It
seems to happen when a SIP-User pickups or transfers a call. I had this
problem also under 1.4.25 and some 1.6 version (I used up to 1.6.0.5, then
I decided to use 1.4 in productive Situations). It does not happen very
often, but sometimes I find core Files on our PBX.

I should mention that I use a Patch for SNOM Pickup:
http://www.net-performer.de/asterisk/asterisk-1.4.22-pickup-by-call-id.patch

The last line of full-Log is:
NOTICE[4783] chan_sip.c: Ignoring this INVITE with replaces in a stupid
way.

I will attach a backtrace and the output of viewcore (I have found that on
http://www.voip-info.org/wiki/view/Asterisk+debugging )

OS is Debian Lenny i386.
uname -a:
Linux 2.6.26-2-686 https://issues.asterisk.org/view.php?id=1 SMP Thu Mar 26
01:08:11 UTC 2009 i686 GNU/Linux

Asterisk Version is 1.4.26.2.

Thanks in advance.
====================================================================== 

---------------------------------------------------------------------- 
 (0112001) dvossel (administrator) - 2009-10-07 12:46
 https://issues.asterisk.org/view.php?id=16027#c112001 
---------------------------------------------------------------------- 
I believe the patch I just uploaded may be a better option for this bug. 
If you're using 1.4.26.2, just take out the ast_channel_unlock(c) entirely
from that if block.  If it exists it will should be unlocked later by
handle_request_do(), and if it didn't than it shouldn't be unlocked to
begin with. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-07 12:46 dvossel        Note Added: 0112001                          
======================================================================




More information about the asterisk-bugs mailing list