[asterisk-bugs] [Asterisk 0015124]: Segmentation fault with incoming calls

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 15 16:50:54 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15124 
====================================================================== 
Reported By:                Fishticky
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   15124
Category:                   Addons/chan_mobile
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.2.0-beta2 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-15 16:35 CDT
Last Modified:              2009-05-15 16:50 CDT
====================================================================== 
Summary:                    Segmentation fault with incoming calls
Description: 
For this issue, my chan_mobile version is 1.6.2, and my asterisk version is
1.6.2(beta2)

Having had problems with dtmf being accepted for incoming calls using
chan_mobile v. 1.6.1 and asterisk v. 1.6.1, I upgraded both to version
1.6.2.  However, now 90% of the time any incoming call is received,
asterisk immediately shuts down, and a segmentation fault occurs (however,
in the 10% of the time that it works, everything works perfectly during the
duration of the call, including dtmf)

My extensions.conf file is as follows:

[my-phone]
exten => s,1,Answer()
exten => s,n,Wait(1)
exten => s,n,Authenticate(1234)
exten => s,n,Background(vm-enter-num-to-call)
exten => s,n,Wait(1)
exten => s,n,Hangup()


Using gdb, here is the backtrace of the core that is saved after the
segfault:

https://issues.asterisk.org/view.php?id=0  0x00272c4d in __i686.get_pc_thunk.bx
()
   from /usr/lib/asterisk/modules/chan_mobile.so
https://issues.asterisk.org/view.php?id=1  0x00000010 in ?? ()
https://issues.asterisk.org/view.php?id=2  0x004ce391 in pthread_mutex_lock ()
from /lib/libpthread.so.0
https://issues.asterisk.org/view.php?id=3  0x080971d1 in ast_raw_answer
(chan=0x9af2d20, cdr_answer=1)
    at channel.c:1771
https://issues.asterisk.org/view.php?id=4  0x0809a764 in __ast_answer
(chan=0x9af2d20, delay=0, cdr_answer=1)
    at channel.c:1789
https://issues.asterisk.org/view.php?id=5  0x080fd066 in
handle_set_extenpatternmatchnew (e=0x9af2d20,
cmd=160475728, 
    a=0x493180) at pbx.c:6263
https://issues.asterisk.org/view.php?id=6  0x080fc19f in device_state_cb
(event=0x9af2d20, unused=0x9900150)
    at pbx.c:9218
https://issues.asterisk.org/view.php?id=7  0x08108f9d in pbx_extension_helper
(c=0x9af2d20, con=0x0, 
    context=<value optimized out>, exten=0x9af2fe0 "s", priority=1,
label=0x0, 
    callerid=0x990a848 "5109192759", action=E_SPAWN, found=0xb756b338, 
    combined_find_spawn=1) at pbx.c:3730
https://issues.asterisk.org/view.php?id=8  0x0810b5d4 in
manager_show_dialplan_helper (s=0xc, m=0x3b9bb0, 
    actionidtext=0x0, 
    context=0x9af2820 "pbx_thread", ' ' <repeats 11 times>, "started at [
4541] pbx.c ast_pbx_start()", exten=0x0, dpc=0xb756b3b8,
rinclude=0x814dcdb)
    at pbx.c:5973
https://issues.asterisk.org/view.php?id=9  0x0810d190 in __ast_pbx_run (c=0x0,
args=0x0) at pbx.c:4296
https://issues.asterisk.org/view.php?id=10 0x0814dcdb in dummy_start
(data=0x990aac8) at utils.c:949
https://issues.asterisk.org/view.php?id=11 0x004cc45b in start_thread () from
/lib/libpthread.so.0
https://issues.asterisk.org/view.php?id=12 0x00423e5e in clone () from
/lib/libc.so.6


====================================================================== 

---------------------------------------------------------------------- 
 (0104857) Fishticky (reporter) - 2009-05-15 16:50
 https://issues.asterisk.org/view.php?id=15124#c104857 
---------------------------------------------------------------------- 
I forgot to add, the phone model is a samsung sgh-x820 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-15 16:50 Fishticky      Note Added: 0104857                          
======================================================================




More information about the asterisk-bugs mailing list