[asterisk-bugs] [Asterisk 0013640]: [patch] Crash in cdr code in specific one-touch parking scenario

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Oct 27 17:07:43 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13640 
====================================================================== 
Reported By:                mdu113
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   13640
Category:                   CDR/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 147193 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-07 12:34 CDT
Last Modified:              2008-10-27 17:07 CDT
====================================================================== 
Summary:                    [patch] Crash in cdr code in specific one-touch
parking scenario
Description: 
Asterisk crashes in cdr code in ast_bridge_call() in the following
one-touch parking scenario: A calls B, B answers, A dials feature code to
park B. Asterisk plays MOH to B and parking announcement to A. Now if B
hangs up during parking announcement is being played to the A then asterisk
crashes immediately after it ends playing parking announcement to A.
I'm attaching backtrace in bt.txt
====================================================================== 

---------------------------------------------------------------------- 
 (0094318) mdu113 (reporter) - 2008-10-27 17:07
 http://bugs.digium.com/view.php?id=13640#c94318 
---------------------------------------------------------------------- 
I can't apply 13640.14.planc3.diffs to current svn in 1.4 branch:
root at devel:~/src/voip/asterisk-1.4/svn/src# svn info
Path: .
URL: http://svn.digium.com/svn/asterisk/branches/1.4
Repository Root: http://svn.digium.com/svn/asterisk
Repository UUID: 4a481080-769f-4faf-86ef-b2ff1d3f910b
Revision: 152216
Node Kind: directory
Schedule: normal
Last Changed Author: tilghman
Last Changed Rev: 152215
Last Changed Date: 2008-10-27 17:32:00 -0400 (Mon, 27 Oct 2008)

root at devel:~/src/voip/asterisk-1.4/svn/src# patch -p0 <
13640.14.planc3.diffs
patching file apps/app_dial.c
Hunk http://bugs.digium.com/view.php?id=2 FAILED at 111.
Hunk http://bugs.digium.com/view.php?id=3 FAILED at 1787.
Hunk http://bugs.digium.com/view.php?id=4 FAILED at 1815.
Hunk http://bugs.digium.com/view.php?id=5 FAILED at 1947.
Hunk http://bugs.digium.com/view.php?id=6 FAILED at 1987.
5 out of 6 hunks FAILED -- saving rejects to file apps/app_dial.c.rej
patching file apps/app_queue.c
Hunk http://bugs.digium.com/view.php?id=1 FAILED at 3757.
Hunk http://bugs.digium.com/view.php?id=2 succeeded at 3196 (offset -590 lines).
1 out of 2 hunks FAILED -- saving rejects to file apps/app_queue.c.rej
patching file include/asterisk/features.h
Hunk http://bugs.digium.com/view.php?id=1 FAILED at 61.
1 out of 1 hunk FAILED -- saving rejects to file
include/asterisk/features.h.rej
patching file include/asterisk/pbx.h
Hunk http://bugs.digium.com/view.php?id=1 FAILED at 37.
1 out of 1 hunk FAILED -- saving rejects to file
include/asterisk/pbx.h.rej
can't find file to patch at input line 294
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: main/features.c
|===================================================================
|--- main/features.c    (revision 151682)
|+++ main/features.c    (working copy)
--------------------------
File to patch: 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-27 17:07 mdu113         Note Added: 0094318                          
======================================================================




More information about the asterisk-bugs mailing list