[asterisk-bugs] [Asterisk 0017264]: [patch] Crash when using Background() in Macro called by M() option to Dial()
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed May 19 14:39:42 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17264
======================================================================
Reported By: falves11
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17264
Category: Applications/app_dial
Reproducibility: random
Severity: crash
Priority: normal
Status: confirmed
Asterisk Version: 1.6.1.18
JIRA: SWP-1397
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1
SVN Revision (number only!): 259958
Request Review:
======================================================================
Date Submitted: 2010-04-29 17:27 CDT
Last Modified: 2010-05-19 14:39 CDT
======================================================================
Summary: [patch] Crash when using Background() in Macro
called by M() option to Dial()
Description:
This the section where it blows up.
exten
=>_X.,n,Dial(${CUT(CARRIERLIST,-,${i})},${CUT(TO,-,${i})},M(get-callid^${PROMPT})L(10800000))
;dial once
[macro-get-callid]
exten => s,1,Verbose(2,Playing ${ARG1})
exten => s,n,GotoIf($["${ARG1}" = "0" ]?salida)
exten => s,n,Background(${ARG1})
exten => s,n(salida),MacroExit
======================================================================
----------------------------------------------------------------------
(0122187) dvossel (administrator) - 2010-05-19 14:39
https://issues.asterisk.org/view.php?id=17264#c122187
----------------------------------------------------------------------
https://issues.asterisk.org/view.php?id=0 0x000000000051786c in
ast_udptl_set_local_max_ifp (udptl=0x0,
max_ifp=30) at udptl.c:869
869 udptl->local_max_ifp = max_ifp;
(gdb) bt
https://issues.asterisk.org/view.php?id=0 0x000000000051786c in
ast_udptl_set_local_max_ifp (udptl=0x0,
max_ifp=30) at udptl.c:869
https://issues.asterisk.org/view.php?id=1 0x00002aaab0e45b56 in
interpret_t38_parameters (p=0x2aaad9d0bd78,
parameters=0x9fced60) at chan_sip.c:6054
If Asterisk is crashing in ast_udptl_set_local_max_ifp because the udptl
struct is NULL, then the solution here should be to figure out why chan_sip
is trying to set a udptl struct that hasn't been allocated yet.
Issue History
Date Modified Username Field Change
======================================================================
2010-05-19 14:39 dvossel Note Added: 0122187
======================================================================
More information about the asterisk-bugs
mailing list