[asterisk-bugs] [Asterisk 0016804]: ParkAndAnnounce Core dumps asterisk
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Feb 15 14:41:29 CST 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16804
======================================================================
Reported By: asd1815
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16804
Category: Applications/app_parkandannounce
Reproducibility: always
Severity: crash
Priority: normal
Status: feedback
Asterisk Version: Older 1.6.0 - please test a newer version
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-02-10 16:32 CST
Last Modified: 2010-02-15 14:41 CST
======================================================================
Summary: ParkAndAnnounce Core dumps asterisk
Description:
I am running Asterisk 1.6.0.21 on FreeBSD AMD 64 running inside a VM. The
VM does not have a sound card.
I have a simple extension
exten => 777,1,ParkAndAnnounce(pbx-transfer:PARKED,45,console/dsp)
exten => 777,n,Hangup
when I dial 777 asterisk crashes with this message
Accepting AUTHENTICATED call from IP:
> requested format = gsm,
> requested prefs = (),
> actual format = ulaw,
> host prefs = (ulaw|gsm),
> priority = mine
Segmentation fault (core dumped)
======================================================================
----------------------------------------------------------------------
(0118090) colinc (reporter) - 2010-02-15 14:41
https://issues.asterisk.org/view.php?id=16804#c118090
----------------------------------------------------------------------
I had this problem on Asterisk 1.6.2.1. We got a segmentation fault every
time we used the ParkAndAnnounce() application.
I tracked this down to the masq_park_call function of features.c and in
particular the following piece of code;
/*
if (!play_announcement && args == &park_args) {
args->orig_chan_name = ast_strdupa(peer->name);
}
*/
It seems to be the evaluation of the if statement that is causing the
segfault.
So I commented this out and re-compiled and all works fine.
This system is in the UK using chan_dahdi and E1 lines.
[I have another system running 1.6.2.0 that doesn't have this problem. I
have only tested this with IAX Trunks]
Issue History
Date Modified Username Field Change
======================================================================
2010-02-15 14:41 colinc Note Added: 0118090
======================================================================
More information about the asterisk-bugs
mailing list