[asterisk-bugs] [Asterisk 0017680]: [patch] chan_skinny crashes asterisk when parking a call
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Jul 27 02:12:42 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17680
======================================================================
Reported By: jmhunter
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17680
Category: Channels/chan_skinny
Reproducibility: always
Severity: crash
Priority: normal
Status: new
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!): 278578
Request Review:
======================================================================
Date Submitted: 2010-07-21 17:48 CDT
Last Modified: 2010-07-27 02:12 CDT
======================================================================
Summary: [patch] chan_skinny crashes asterisk when parking a
call
Description:
I have recently upgraded to Asterisk 1.6, from 1.4, and also acquired a
Cisco 7905 handset - so have now configured chan_skinny for the first time.
This seems to work in the main, apart from when I use the 'Park' softbutton
on the handset, which causes Asterisk to crash. Clearly, this shouldn't
happen!
I can dial the park extension just fine from the handset - it only crashes
if I press the softbutton.
I have checked out the latest SVN and the crash still occurs.
Happy to debug further if somebody can tell me how (I'm not an Asterisk
developer)
======================================================================
----------------------------------------------------------------------
(0125099) jmhunter (reporter) - 2010-07-27 02:12
https://issues.asterisk.org/view.php?id=17680#c125099
----------------------------------------------------------------------
Thanks Dan.
I've applied the v2 patch but still get a crash with the softkey...
Am now heading out but will try again this evening!
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/sbin/asterisk -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
https://issues.asterisk.org/view.php?id=0 0x080eac39 in masq_park_call
(rchan=0x0, peer=0xca12568, timeout=0,
extout=0xb77f9148,
play_announcement=0, args=0xb77f9054) at features.c:1034
1034 if (!(chan = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0,
rchan->accountcode, rchan->exten, rc
han->context, rchan->linkedid, rchan->amaflags, "Parked/%s",rchan->name)))
{
https://issues.asterisk.org/view.php?id=0 0x080eac39 in masq_park_call
(rchan=0x0, peer=0xca12568, timeout=0,
extout=0xb77f9148,
play_announcement=0, args=0xb77f9054) at features.c:1034
chan = (struct ast_channel *) 0x74686d6a
f = (struct ast_frame *) 0x31747365
park_status = 6691584
park_args = {timeout = 0, extout = 0xb77f9148, orig_chan_name =
0x0, return_con = 0x0,
return_ext = 0x0, return_pri = 0, flags = 0, pu = 0xca20d08}
__FUNCTION__ = "masq_park_call"
__PRETTY_FUNCTION__ = "masq_park_call"
https://issues.asterisk.org/view.php?id=1 0x080eaf43 in ast_masq_park_call
(rchan=0x0, peer=0xca12568,
timeout=0, extout=0xb77f9148)
at features.c:1081
No locals.
https://issues.asterisk.org/view.php?id=2 0x00674e13 in
handle_soft_key_event_message (req=0xca202d8,
s=0xc834cf8) at chan_skinny.c:6092
extout = 135845100
message =
"8\221\177<B7>5<C3>\030\b\f\000\000\000\000<C0>\003\000\000<C0>\003\000\006\000\000\000\22
0\233a<B7><FF><FF>\017"
d = (struct skinny_device *) 0xc7fe100
l = (struct skinny_line *) 0xc7fb9c0
sub = (struct skinny_subchannel *) 0xca157c8
c = (struct ast_channel *) 0xca12568
t = 3977552
event = 14
instance = 1
callreference = 2
__PRETTY_FUNCTION__ = "handle_soft_key_event_message"
__FUNCTION__ = "handle_soft_key_event_message"
https://issues.asterisk.org/view.php?id=3 0x00675bc8 in handle_message
(req=0xca202d8, s=0xc834cf8) at
chan_skinny.c:6278
res = 0
sd = (struct skinny_speeddial *) 0x67be2a
l = (struct skinny_line *) 0xc834cfc
d = (struct skinny_device *) 0xc7fe100
__PRETTY_FUNCTION__ = "handle_message"
https://issues.asterisk.org/view.php?id=4 0x00676813 in skinny_session
(data=0xc834cf8) at chan_skinny.c:6450
res = 20
req = (struct skinny_req *) 0xca202d8
s = (struct skinnysession *) 0xc834cf8
__PRETTY_FUNCTION__ = "skinny_session"
https://issues.asterisk.org/view.php?id=5 0x0818d56e in dummy_start
(data=0xc835b18) at utils.c:971
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {4358132,
0, -1216373872, -1216375864,
115922671, -1181773647}, __mask_was_saved = 0}}, __pad =
{0xb77f9480, 0x0, 0x0, 0x0}}
__cancel_routine = (void (*)(void *)) 0x807ad46
<ast_unregister_thread>
__cancel_arg = (void *) 0xb77f9b90
not_first_call = 0
ret = (void *) 0x0
a = {start_routine = 0x676720 <skinny_session>, data = 0xc834cf8,
name = 0xc835b28 "skinny_session started at [ 6497] chan_skinny.c
accept_thread()"}
https://issues.asterisk.org/view.php?id=6 0x0041945b in start_thread () from
/lib/libpthread.so.0
No symbol table info available.
https://issues.asterisk.org/view.php?id=7 0x0035c23e in clone () from
/lib/libc.so.6
No symbol table info available.
Issue History
Date Modified Username Field Change
======================================================================
2010-07-27 02:12 jmhunter Note Added: 0125099
======================================================================
More information about the asterisk-bugs
mailing list