[asterisk-bugs] [Asterisk 0010944]: mISDN don't make hangup and crash

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Dec 5 22:28:18 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10944 
====================================================================== 
Reported By:                IgorG
Assigned To:                crich
====================================================================== 
Project:                    Asterisk
Issue ID:                   10944
Category:                   Channels/chan_misdn
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 81361 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-10-2007 22:41 CDT
Last Modified:              12-05-2007 22:28 CST
====================================================================== 
Summary:                    mISDN don't make hangup and crash
Description: 
Yesterday I have notice some bad situation. When calling from SIP to cell
phone, over chan_misdn and hangup on cell phone without take a call. On sip
phone I still hear ringing and call hangup only after time-limit specified
in Dial.

Here is step by step:
We call to cell phone:
--misdn-begin.txt--

We make hangup on cell phone. But still hear ringing on SIP:
--misdn-hangup.txt--

Finaly we hear hangup on SIP and saw fallowing in console:
--misdn-end.txt--

Also after 5-6 tries of such calls asterisk crashed:
--misdn-crash.txt--
--core-1.txt--
--core-2.txt--
====================================================================== 

---------------------------------------------------------------------- 
 IgorG - 12-05-07 22:28  
---------------------------------------------------------------------- 
Looks like I really hear some fake ringing, maybe from my phone (SPA 941).
I try to test more and report. Still have question about crash. I have one
more now. It is very similar:

(gdb) bt
http://bugs.digium.com/view.php?id=0  0xb7c38f73 in strlen () from
/lib/libc.so.6
http://bugs.digium.com/view.php?id=1  0x080ac284 in
ast_device_state_changed_literal (dev=0x2020206c
<Address 0x2020206c out of bounds>) at devicestate.c:480
http://bugs.digium.com/view.php?id=2  0x0809899a in ast_setstate
(chan=0x839fa20, state=AST_STATE_DOWN) at
channel.c:3812
http://bugs.digium.com/view.php?id=3  0xb59a0bfa in release_chan (bc=0x8370b14)
at chan_misdn.c:3705
http://bugs.digium.com/view.php?id=4  0xb59a3e60 in cb_events
(event=EVENT_CLEANUP, bc=0x8370b14,
user_data=0x0) at chan_misdn.c:4679
http://bugs.digium.com/view.php?id=5  0xb59aeed2 in handle_cr (stack=0x836fec0,
frm=0x834c8fc) at
misdn/isdn_lib.c:1645
http://bugs.digium.com/view.php?id=6  0xb59b158d in handle_frm (msg=0x834c8c8)
at misdn/isdn_lib.c:2602
http://bugs.digium.com/view.php?id=7  0xb59b4180 in manager_isdn_handler
(frm=0x834c8fc, msg=0x834c8c8) at
misdn/isdn_lib.c:3619
http://bugs.digium.com/view.php?id=8  0xb59b2782 in misdn_lib_isdn_event_catcher
(arg=0x834bad0) at
misdn/isdn_lib.c:3025
http://bugs.digium.com/view.php?id=9  0xb7d72192 in start_thread () from
/lib/libpthread.so.0
http://bugs.digium.com/view.php?id=10 0xb7c8f02e in clone () from /lib/libc.so.6

Asterisk crash when I have troubles with ISDN and can't make or receive
calls. I call several times and have a crash. All this crashes caused on
unsuccessful calls by wrong dev pointer. Where it can be corrupted? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-05-07 22:28  IgorG          Note Added: 0074873                          
======================================================================




More information about the asterisk-bugs mailing list