[asterisk-bugs] [Asterisk 0017517]: chan_mobile (revision 421) crash Asterisk
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Jun 17 07:41:59 CDT 2010
The following issue has been CLOSED
======================================================================
https://issues.asterisk.org/view.php?id=17517
======================================================================
Reported By: matagou
Assigned To: mnicholson
======================================================================
Project: Asterisk
Issue ID: 17517
Category: Addons/chan_mobile
Reproducibility: always
Severity: crash
Priority: normal
Status: closed
Asterisk Version: 1.4.32
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2010-06-17 01:58 CDT
Last Modified: 2010-06-17 07:41 CDT
======================================================================
Summary: chan_mobile (revision 421) crash Asterisk
Description:
The module is compiled according the instructions from
http://www.geek-pages.com/articles/asterisk/howto_build_and_configure_chan_mobile_on_trixbox.html
The Asterisk crashes with following message at shell
/usr/sbin/safe_asterisk: line 125: 8035 Segmentation fault (core
dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS}
>&/dev/${TTY} < /dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal EXITSTATUS-128.
Automatically restarting Asterisk.
mpg123: no process killed
the backtrace from the coredump file is below:
(gdb) bt full
https://issues.asterisk.org/view.php?id=0 ast_frdup (f=0x3ed) at frame.c:482
out = <value optimized out>
len = 2048
srclen = 0
buf = <value optimized out>
__PRETTY_FUNCTION__ = "ast_frdup"
https://issues.asterisk.org/view.php?id=1 0x0807e5fa in __ast_queue_frame
(chan=0xa0f76c0, fin=0x3ed, head=0,
after=0x0) at channel.c:929
f = 0xa0f76c0
cur = 0x3ed
blah = 1
new_frames = 0
new_voice_frames = 0
queued_frames = <value optimized out>
queued_voice_frames = <value optimized out>
__PRETTY_FUNCTION__ = "__ast_queue_frame"
https://issues.asterisk.org/view.php?id=2 0x08085931 in ast_queue_frame
(chan=0xa0f76c0, dropaudio=0) at
channel.c:1000
No locals.
https://issues.asterisk.org/view.php?id=3 __ast_read (chan=0xa0f76c0,
dropaudio=0) at channel.c:2285
readq_tail = 0x0
f = 0x9de08c4
blah = -1228521952
count = <value optimized out>
__PRETTY_FUNCTION__ = "__ast_read"
https://issues.asterisk.org/view.php?id=4 0x006cfd9b in wait_for_answer
(chan=0xa0e0000, data=<value optimized
out>, peerflags=0xb6c63e54, continue_exec=0x0) at app_dial.c:594
__PRETTY_FUNCTION__ = "wait_for_answer"
https://issues.asterisk.org/view.php?id=5 dial_exec_full (chan=0xa0e0000,
data=<value optimized out>,
peerflags=0xb6c63e54, continue_exec=0x0) at app_dial.c:1442
res = <value optimized out>
u = 0xa0f8128
rest = 0x0
cur = <value optimized out>
outgoing = 0xa0f9540
peer = 0x0
to = 295719
numbusy = 0
numcongestion = 0
numnochan = 0
cause = 0
numsubst = "Orange/069060481", '\000' <repeats 16 times>,
";\000\000\000\000\000\000\000d)\035\000\000\000\000\000\000\000\000\000\001\000\000\000\000p\367\267;\000\000\000\300$%\000\000\000\000\000\350;?\325)\027\000\377\377\377\377\000p\367\267;\000\000\000P\000\062\066;\000\000\000\000p\367\267\364\037%\000;\000\000\000\300$%\000\364;?\277,\027\000\064T\027\000\000\000\000\000\256\065\027\000\364\037%\000\000\000\000\000\000\000\000\000\335f\027\000L<?\235\062\017\n\313\062\017\n\320=?\364\037%\000L<?\235\062\017\n8=?\364\003\027\000L<?\005S\023\b\320=?\235\062\017\n\000\000\000\000\354<?.\000\000\000\001\200\255\373\235\062\017\n\235\062\017\n\235\062\017\n\235\062\017\n\237\062\017\n\313\062\017\n\235\062\017\n\313\062\017\n\000\000\000"
cidname = '\000' <repeats 79 times>
privdb_val = 0
calldurationlimit = -1
timelimit = 0
play_warning = 0
warning_freq = 0
warning_sound = 0x0
end_sound = 0x0
start_sound = 0x0
dtmfcalled = 0x0
dtmfcalling = 0x0
status = "NOANSWER\000GS", '\000' <repeats 244 times>
play_to_caller = 0
play_to_callee = 0
sentringing = 1
moh = 0
outbound_group = 0xa0f3127 "OUT_3"
result = <value optimized out>
start_time = 1276757496
privintro = '\000' <repeats 480 times>"\223, U\027", '\000'
<repeats 17 times>,
"L(\024\b\000\000\000\000\307<?\364\037%\000K(\024\b\001\000\000\000\310:?q\302\024\000\354:?K(\024\b\001\000\000\000\000\000\000\000\374:?K(\024\b\001",
'\000' <repeats 11 times>"\240,
:?\000\000\000\000\000\000\000\000\064:?_\277\024\000\000\000\000\000\223U\027\000D:?_\277\024\000\000\000\000\000\000\000\000\000L(\024\b\000\000\000\000\067=?\364\037%\000K(\024\b\001\000\000\000\070;?q\302\024\000\\;?K(\024\b\001",
'\000' <repeats 23 times>"\377,
\377\377\377\020;?6(\024\b\006\000\000\000\244:?_\277\024\000\000\000\000\000\000\000\000\000\n\000\000\000\062:?",
'\000' <repeats 24 times>...
privcid = "\000\000\000\000\000\000\000\000 ", '\000' <repeats 18
times>, "d", '\000' <repeats 116 times>, "Jun 17 09:51:36\000Jun 17
09:51:36\000K\344\022\b\000\000\000\000\000\000\000\000\000\000\064\060",
'\000' <repeats 14 times>, "40", '\000' <repeats 20 times>"\200,
\225\017\n", '\000' <repeats 23 times>
opermode = 0
delprivintro = 0
args = {argc = 3, argv = 0xb6c63dcc, peers = 0xb6c62d00 "Mobile",
timeout = 0xb6c62d18 "300", options = 0xb6c62d1c "tTwW", url = 0x0}
opts = {flags = 7864320}
opt_args = {0xc0363c "ZY[\303WVSU\211??\354\b\211\343\061?N", 0x0,
0x0, 0x0, 0xbffd32
"\351y\377\377\377\220\220\220\220\220\220\220\220\220U\211\345\213E\b",
<incomplete sequence \307>,
0xa0f71f4 "", 0xb6c63e58 "\210\201?[\317\f\b", 0x80b339f
"\201?", 0x8150ea8 "", 0x17 <Address 0x17 out of bounds>}
datastore = 0xa0f8208
fulldial = 0
num_dialed = 1
__PRETTY_FUNCTION__ = "dial_exec_full"
https://issues.asterisk.org/view.php?id=6 0x006d2a92 in dial_exec
(chan=0xa0e0000, data=0xb6c65ec8) at
app_dial.c:1921
peerflags = {flags = 0}
https://issues.asterisk.org/view.php?id=7 0x080ccf5b in pbx_exec (c=0xa0e0000,
con=0x0, context=0xa0e0180
"macro-dialout-trunk", exten=0xa0e01d0 "s", priority=26, label=0x0,
callerid=0x9edba78 "101", action=E_SPAWN) at pbx.c:536
No locals.
https://issues.asterisk.org/view.php?id=8 pbx_extension_helper (c=0xa0e0000,
con=0x0, context=0xa0e0180
"macro-dialout-trunk", exten=0xa0e01d0 "s", priority=26, label=0x0,
callerid=0x9edba78 "101", action=E_SPAWN) at pbx.c:1879
e = 0x9e3b400
app = 0x9e9b5d0
res = <value optimized out>
q = {incstack = {0x0 <repeats 128 times>}, stacklen = 0, status =
5, swo = 0x0, data = 0x0, foundcontext = 0xa0e0180 "macro-dialout-trunk"}
passdata = "Mobile/Orange/069060481|300|tTwW", '\000' <repeats
8159 times>
matching_action = 0
__PRETTY_FUNCTION__ = "pbx_extension_helper"
https://issues.asterisk.org/view.php?id=9 0x007a82d9 in _macro_exec
(chan=0xa0e0000, data=0xb6c6af28,
exclusive=0) at app_macro.c:352
c = <value optimized out>
e = 0x9e3b400
s = <value optimized out>
cur = <value optimized out>
rest = 0x0
macro = <value optimized out>
fullmacro = "macro-dialout-trunk\000call,all", '\000' <repeats 51
times>
varname =
"ARG4\000\037%\000 at 1%\000l\243\023\bG\352\277\000\000\000\000\000<6\300",
'\000' <repeats 13 times>,
"2\375\277\000\364q\017\n\270\216?\237\063\v\b\250\016\025\b\027\000\000\000\240%\025\b\005S\023\bl\243\023\b??"
runningapp =
"Dial\000f\000\000\232\062\017\n2\000\000\000\005S\023\b0\216?\247\000\000\000\001\000\000\000\060*\000\000\000\000\000\000\364\215?\370\305\031L\035\000\000\000\060\216?\270\200\017\n\240%\025\b\030\216?;\033\020\b\244\216?\000\000\000"
runningdata =
"${pre_num:4}${the_num}${post_num}|300|${DIAL_TRUNK_OPTIONS}\000t|DIAL_TRUNK_OPTIONS=M(setmusic^${MOHCLASS})${DIAL_TRUNK_OPTIONS}",
'\000' <repeats 11 times>"\377, \377\377\377?\023\bu\243\023\b\006", '\000'
<repeats 19 times>, "\n\000\000\000\063\214?", '\000' <repeats 40 times>, "
", '\000' <repeats 18 times>, "s\f", '\000' <repeats 23 times>, " ", '\000'
<repeats 18 times>...
oldargs = {0x0 <repeats 81 times>}
argc = 5
x = <value optimized out>
res = 0
oldexten = "069060481", '\000' <repeats 246 times>
oldpriority = 4
gosub_level = 0
pc =
"4\000\000\000\225\244\006\b\300\306\366\267\360\225\017\n\370\000\000\000\343\215?p2%\000(\317?\000\000\000\000p1%\000 at 1%\000\340\000\000\000 at 1%\000\003",
'\000' <repeats 19 times>"\351, \000\000\000p1%"
depthc = "1\000\000\000\000\000\000\000\000\000\000"
oldcontext = "from-internal", '\000' <repeats 66 times>
inhangupc = <value optimized out>
offset = <value optimized out>
depth = 0
maxdepth = 7
setmacrocontext = 1
inhangup = 0
save_macro_exten = 0x0
save_macro_context = 0x0
save_macro_priority = 0x0
save_macro_offset = 0x0
u = 0xa0f5c00
macro_store = <value optimized out>
__PRETTY_FUNCTION__ = "_macro_exec"
https://issues.asterisk.org/view.php?id=10 0x080ccf5b in pbx_exec (c=0xa0e0000,
con=0x0, context=0xa0e0180
"macro-dialout-trunk", exten=0xa0e01d0 "s", priority=4, label=0x0,
callerid=0x9edba78 "101", action=E_SPAWN) at pbx.c:536
No locals.
https://issues.asterisk.org/view.php?id=11 pbx_extension_helper (c=0xa0e0000,
con=0x0, context=0xa0e0180
"macro-dialout-trunk", exten=0xa0e01d0 "s", priority=4, label=0x0,
callerid=0x9edba78 "101", action=E_SPAWN) at pbx.c:1879
e = 0x9e37d58
app = 0xa0d94d0
res = <value optimized out>
q = {incstack = {0x9e5092c "from-internal", 0x9e5040c
"from-internal-xfer", 0x9e46c54 "from-internal-custom", 0x9e4702c
"agentlogin", 0x9e474cc "conferences", 0x9e47684 "calendar-event",
0x9e4784c "weather-wakeup", 0x9dd98d4 "parkedcalls", 0x9e51f9c
"ext-fax", 0x9e5103c "ext-local-confirm", 0x9e51204
"findmefollow-ringallv2", 0x9e44c1c "from-internal-additional",
0x9e0afac "app-fmf-toggle", 0x9e0ba6c "ext-findmefollow",
0x9e0dcc4 "app-callwaiting-cwoff", 0x9e0e034 "app-callwaiting-cwon",
0x9e0e36c "app-calltrace", 0x9e0ee2c "app-directory",
0x9e0f0b4 "app-echo-test", 0x9e0f3fc "app-speakextennum",
0x9e0f88c "app-speakingclock", 0x9e102bc "app-dialvm", 0x9e10f34
"app-vmmain", 0x9e16864 "app-pbdirectory", 0x9e17804 "ext-paging",
0x9e18044 "app-gabcast", 0x9e18704 "park-hints", 0x9e1955c
"app-speeddial", 0x9e1a3fc "app-recordings", 0x9e1a71c "ext-queues",
0x9e2283c "app-blacklist", 0x9e2576c "app-dnd-off",
0x9e25eac "app-dnd-on", 0x9e2662c "app-dnd-toggle", 0x9e26fdc
"ext-dnd-hints", 0x9e291ec "app-cf-busy-off", 0x9e2987c
"app-cf-busy-off-any", 0x9e29d34 "app-cf-busy-on", 0x9e2a864 "app-cf-off",
0x9e2aeac "app-cf-off-any", 0x9e2b2ec "app-cf-on", 0x9e2be3c
"app-cf-unavailable-off", 0x9e2c444 "app-cf-unavailable-on", 0x9e2cf94
"app-dictate-record", 0x9e2d43c "app-dictate-send",
0x9e2dbcc "app-userlogonoff", 0x9e2dec4 "app-pickup",
0x9e2e53c "app-zapbarge", 0x9e2e8ac "app-chanspy", 0x9e2eb64 "ext-test",
0x9e2f88c "ext-local", 0x9e0a654 "ext-local-custom",
0x9e0a76c "send-sms-Moldcell", 0x9e36884 "outbound-allroutes",
0x9e36d14 "outrt-001-World1", 0x9e36fcc "outrt-002-world-fax", 0x9e372fc
"outrt-003-Moldcell", 0x0 <repeats 71 times>},
stacklen = 57, status = 5, swo = 0x0, data = 0x0, foundcontext =
0x9e36c05 "outrt-004-Orange"}
passdata = "dialout-trunk|3|069060481||", '\000' <repeats 8164
times>
matching_action = 0
__PRETTY_FUNCTION__ = "pbx_extension_helper"
https://issues.asterisk.org/view.php?id=12 0x080cf521 in ast_spawn_extension
(c=0xa0e0000) at pbx.c:2300
No locals.
https://issues.asterisk.org/view.php?id=13 __ast_pbx_run (c=0xa0e0000) at
pbx.c:2394
dst_exten = '\000' <repeats 56 times>, "\f\000\000\000 at 1%", '\000'
<repeats 21 times>, "\020", '\000' <repeats 11 times>"\346, \216\027",
'\000' <repeats 25 times>"\210, \366\r\n", '\000' <repeats 28 times>"\202,
k#\000\000\000\000\000\f\000\000\000\000\000\000\000\215r\027\000\364\037%\000 at 1%\000\000\000\000\000\070\323?\232\272\027\000\000\000\000\000\000\000\000\000G\352\277\000\000\000\000\000P\350\021\n\f\000\000\000\217\037\000\000\200\366\r\n\000\070\017\n\220\333?h\323?p\206\006\b\b\301\024\b\f\000\000\000\000\000\000"
pos = -1228481648
digit = -1228483696
found = 1
res = 0
error = <value optimized out>
emc = <value optimized out>
__PRETTY_FUNCTION__ = "__ast_pbx_run"
https://issues.asterisk.org/view.php?id=14 0x080d067e in pbx_thread
(data=0xa0e0000) at pbx.c:2621
No locals.
https://issues.asterisk.org/view.php?id=15 0x08100c9b in dummy_start
(data=0xa0df680) at utils.c:856
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf =
{168769536, 0, -1228481648, -1228483640, -295193238, 1353804446},
__mask_was_saved = 0}}, __pad = {0xb6c6d480, 0x0, 0x0, 0x0}}
__cancel_arg = 0xb6c6db90
not_first_call = <value optimized out>
ret = <value optimized out>
https://issues.asterisk.org/view.php?id=16 0x00bfc73b in start_thread () from
/lib/libpthread.so.0
No symbol table info available.
https://issues.asterisk.org/view.php?id=17 0x001e1cfe in clone () from
/lib/libc.so.6
No symbol table info available.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-06-17 07:41 mnicholson Status assigned => closed
======================================================================
More information about the asterisk-bugs
mailing list