Summary:ASTERISK-15506: chan_mobile crashes asterisk segmentatio fault on end of outgoing call
Reporter:urisavor (urisavor)Labels:
Date Opened:2010-01-25 02:35:12.000-0600Date Closed:2011-06-07 14:00:34
Versions:Frequency of
Environment:Attachments:( 0) extensions.conf
( 1) mobile.conf
Description:chan_mobile connected through a CSR bluetooth adapter (onboard a laptop) to a Nokia 6230 classic.
Outgoing call made from a SIP client.
Call connects.
One side hangs up.
Asterisk crashes.
segfault at c ip 04d26c7f sp b6c50e20 error 6 in chan_mobile.so[4d1e000+10000
Comments:By: urisavor (urisavor) 2010-01-25 03:09:21.000-0600

gdb with backtrace:

   -- Mobile/nokia-3ad0 is ringing
   -- Mobile/nokia-3ad0 is ringing
   -- Mobile/nokia-3ad0 answered SIP/IMSI100001000010000-b65740c8
   -- Executing [h@sip-internal:1] Dial("SIP/IMSI100001000010000-b65740c8", "Mobile/nokia/h,40") in new stack
[Jan 25 11:08:03] WARNING[26738]: chan_mobile.c:853 mbl_request: Request to call on device nokia which is not connected / already in use.
[Jan 25 11:08:03] WARNING[26738]: app_dial.c:1721 dial_exec_full: Unable to create channel of type 'Mobile' (cause 44 - Requested channel not available)
 == Everyone is busy/congested at this time (1:0/0/1)
   -- Executing [h@sip-internal:2] Hangup("SIP/IMSI100001000010000-b65740c8", "") in new stack
 == Spawn extension (sip-internal, h, 2) exited non-zero on 'SIP/IMSI100001000010000-b65740c8'

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb611eb70 (LWP 26738)]
0xb6be4c7f in ?? () from /usr/lib/asterisk/modules/chan_mobile.so
(gdb) backtrace
#0  0xb6be4c7f in ?? () from /usr/lib/asterisk/modules/chan_mobile.so
#1  0x00ada2a8 in ast_hangup () from /usr/sbin/asterisk
#2  0x008b3ff8 in ?? () from /usr/lib/asterisk/modules/app_dial.so
#3  0x008b6635 in ?? () from /usr/lib/asterisk/modules/app_dial.so
#4  0x00b38d05 in pbx_exec () from /usr/sbin/asterisk
ASTERISK-1  0x00b3ffce in ?? () from /usr/sbin/asterisk
ASTERISK-2  0x00b404cc in ast_spawn_extension () from /usr/sbin/asterisk
ASTERISK-3  0x00b46386 in ?? () from /usr/sbin/asterisk
ASTERISK-4  0x00b47a9d in ?? () from /usr/sbin/asterisk
ASTERISK-5  0x00b8a6b4 in ?? () from /usr/sbin/asterisk
ASTERISK-6 0x0023f80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
ASTERISK-7 0x00d768de in clone () from /lib/tls/i686/cmov/libc.so.6

By: urisavor (urisavor) 2010-01-25 03:51:50.000-0600

same with Nokia 6130 (not "i")

By: urisavor (urisavor) 2010-01-26 05:58:48.000-0600

tried with latest SVN -looks OK - please close