[asterisk-bugs] [Asterisk 0015848]: segfault when transferring a queue caller

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Oct 10 03:48:39 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15848 
====================================================================== 
Reported By:                fhackenberger
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15848
Category:                   Channels/General
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           Older 1.6.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 209515 
Request Review:              
====================================================================== 
Date Submitted:             2009-09-08 03:55 CDT
Last Modified:              2009-10-10 03:48 CDT
====================================================================== 
Summary:                    segfault when transferring a queue caller
Description: 
The segfault happens after transferring (SIP re-invite) a queue call.

https://issues.asterisk.org/view.php?id=0  0xb7d5da04 in
__pthread_mutex_unlock_usercnt () from
/lib/tls/i686/cmov/libpthread.so.0
https://issues.asterisk.org/view.php?id=0  0xb7d5da04 in
__pthread_mutex_unlock_usercnt () from
/lib/tls/i686/cmov/libpthread.so.0
https://issues.asterisk.org/view.php?id=1  0xb61ef779 in sip_hangup
(ast=0xb3902a20) at
/tmp/buildd/asterisk-1.6.1.0~dfsg/include/asterisk/lock.h:1708
https://issues.asterisk.org/view.php?id=2  0x08087eb9 in ast_do_masquerade
(original=0x8722db8) at
channel.c:4406
https://issues.asterisk.org/view.php?id=3  0x0808b589 in ast_waitfor_nandfds
(c=0xb41fa200, n=2, fds=0x0, nfds=0,
exception=0x0, outfd=0x0, ms=0xb41fa214) at channel.c:2004
https://issues.asterisk.org/view.php?id=4  0x0808bb4f in ast_waitfor_n
(c=0xb41fa200, n=2, ms=0xb41fa214) at
channel.c:2318
https://issues.asterisk.org/view.php?id=5  0x0808e2d4 in ast_channel_bridge
(c0=0x8722db8, c1=0x87407f8,
config=0xb41fa61c, fo=0xb41fa2ec, rc=0xb41fa2e8) at channel.c:4733
https://issues.asterisk.org/view.php?id=6  0x080b06b6 in ast_bridge_call
(chan=0x8722db8, peer=0x87407f8,
config=0xb41fa61c) at features.c:2538
https://issues.asterisk.org/view.php?id=7  0xb5bfa2e9 in dial_exec_full
(chan=0x8722db8, data=0xb41fd138,
peerflags=0xb41fae90, continue_exec=0x0) at app_dial.c:1986
https://issues.asterisk.org/view.php?id=8  0xb5bfc174 in dial_exec
(chan=0x8722db8, data=0xb41fd138) at
app_dial.c:2060
https://issues.asterisk.org/view.php?id=9  0x080ddab5 in pbx_exec (c=0x8722db8,
app=0x82b0d00, data=0xb41fd138)
at pbx.c:960
https://issues.asterisk.org/view.php?id=10 0x080e4632 in pbx_extension_helper
(c=0x8722db8, con=0x0,
context=0x8723028 "agents", exten=0x8723078 "972605572372450", priority=9,
    label=0x0, callerid=0x848d910 "0314224713906", action=E_SPAWN,
found=0xb41ff244, combined_find_spawn=1) at pbx.c:3201
https://issues.asterisk.org/view.php?id=11 0x080e6ecc in __ast_pbx_run
(c=0x8722db8, args=0x0) at pbx.c:3745
https://issues.asterisk.org/view.php?id=12 0x080e89d0 in pbx_thread
(data=0x8722db8) at pbx.c:4032
https://issues.asterisk.org/view.php?id=13 0x0811ca47 in dummy_start
(data=0x86be7f8) at utils.c:968
https://issues.asterisk.org/view.php?id=14 0xb7d5a4fb in start_thread () from
/lib/tls/i686/cmov/libpthread.so.0
https://issues.asterisk.org/view.php?id=15 0xb6f7be5e in clone () from
/lib/tls/i686/cmov/libc.so.6

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

---------------------------------------------------------------------- 
 (0112182) triccyx (reporter) - 2009-10-10 03:48
 https://issues.asterisk.org/view.php?id=15848#c112182 
---------------------------------------------------------------------- 
https://issues.asterisk.org/view.php?id=0  0xb7ce6a04 in
__pthread_mutex_unlock_usercnt () from
/lib/tls/i686/cmov/libpthread.so.0
(gdb) bt
https://issues.asterisk.org/view.php?id=0  0xb7ce6a04 in
__pthread_mutex_unlock_usercnt () from
/lib/tls/i686/cmov/libpthread.so.0
https://issues.asterisk.org/view.php?id=1  0xb7ebeee6 in pthread_mutex_unlock ()
from
/lib/tls/i686/cmov/libc.so.6
https://issues.asterisk.org/view.php?id=2  0xb7514228 in ast_mutex_unlock
(pmutex=0x98) at
/usr/src/asterisk_1.6.1.6/include/asterisk/lock.h:1708
https://issues.asterisk.org/view.php?id=3  0xb752266a in sip_hangup
(ast=0x853fd20) at chan_sip.c:5357
https://issues.asterisk.org/view.php?id=4  0x08094c7d in ast_do_masquerade
(original=0x84de880) at
channel.c:4408
https://issues.asterisk.org/view.php?id=5  0x0808dcd1 in ast_waitfor_nandfds
(c=0xb6a14558, n=2, fds=0x0, nfds=0,
exception=0x0, outfd=0x0, ms=0xb6a14554) at channel.c:2006
https://issues.asterisk.org/view.php?id=6  0x0808e47c in ast_waitfor_n
(c=0xb6a14558, n=2, ms=0xb6a14554) at
channel.c:2320
https://issues.asterisk.org/view.php?id=7  0x08095f58 in ast_generic_bridge
(c0=0x84de880, c1=0x85c5658,
config=0xb6a157e4, fo=0xb6a14a8c, rc=0xb6a14a88, bridge_end={tv_sec = 0,
tv_usec = 0}) at channel.c:4735
https://issues.asterisk.org/view.php?id=8  0x08097a26 in ast_channel_bridge
(c0=0x84de880, c1=0x85c5658,
config=0xb6a157e4, fo=0xb6a14a8c, rc=0xb6a14a88) at channel.c:5150
https://issues.asterisk.org/view.php?id=9  0x080bcebf in ast_bridge_call
(chan=0x84de880, peer=0x85c5658,
config=0xb6a157e4) at features.c:2538
https://issues.asterisk.org/view.php?id=10 0xb760ea5a in dial_exec_full
(chan=0x84de880, data=0xb6a17cdc,
peerflags=0xb6a15b68, continue_exec=0x0) at app_dial.c:1986
https://issues.asterisk.org/view.php?id=11 0xb760f1da in dial_exec
(chan=0x84de880, data=0xb6a17cdc) at
app_dial.c:2060
https://issues.asterisk.org/view.php?id=12 0x080e869c in pbx_exec (c=0x84de880,
app=0x8247af8, data=0xb6a17cdc)
at pbx.c:960
https://issues.asterisk.org/view.php?id=13 0x080eee1c in pbx_extension_helper
(c=0x84de880, con=0x0,
context=0x84deaf0 "macro-call_generic_fork_tks", exten=0x84deb40 "s",
priority=1, label=0x0, 
    callerid=0x8598768 "5020000000697", action=E_SPAWN, found=0xb6a1a460,
combined_find_spawn=1) at pbx.c:3201
https://issues.asterisk.org/view.php?id=14 0x080f0071 in ast_spawn_extension
(c=0x84de880, context=0x84deaf0
"macro-call_generic_fork_tks", exten=0x84deb40 "s", priority=1,
callerid=0x8598768 "5020000000697", 
    found=0xb6a1a460, combined_find_spawn=1) at pbx.c:3656
https://issues.asterisk.org/view.php?id=15 0xb7503486 in _macro_exec
(chan=0x84de880, data=0xb6a1ce8c,
exclusive=0) at app_macro.c:342
https://issues.asterisk.org/view.php?id=16 0xb750458f in macro_exec
(chan=0x84de880, data=0xb6a1ce8c) at
app_macro.c:505
https://issues.asterisk.org/view.php?id=17 0x080e869c in pbx_exec (c=0x84de880,
app=0x82289c8, data=0xb6a1ce8c)
at pbx.c:960
https://issues.asterisk.org/view.php?id=18 0x080eee1c in pbx_extension_helper
(c=0x84de880, con=0x0,
context=0x84deaf0 "macro-call_generic_fork_tks", exten=0x84deb40 "s",
priority=2, label=0x0, 
    callerid=0x8598768 "5020000000697", action=E_SPAWN, found=0xb6a1f2f0,
combined_find_spawn=1) at pbx.c:3201
https://issues.asterisk.org/view.php?id=19 0x080f0071 in ast_spawn_extension
(c=0x84de880, context=0x84deaf0
"macro-call_generic_fork_tks", exten=0x84deb40 "s", priority=2,
callerid=0x8598768 "5020000000697", 
    found=0xb6a1f2f0, combined_find_spawn=1) at pbx.c:3656
https://issues.asterisk.org/view.php?id=20 0x080f070c in __ast_pbx_run
(c=0x84de880, args=0x0) at pbx.c:3745
https://issues.asterisk.org/view.php?id=21 0x080f1b4c in pbx_thread
(data=0x84de880) at pbx.c:4032
https://issues.asterisk.org/view.php?id=22 0x0813db9e in dummy_start
(data=0x81ec2a0) at utils.c:968
https://issues.asterisk.org/view.php?id=23 0xb7ce34fb in start_thread () from
/lib/tls/i686/cmov/libpthread.so.0
https://issues.asterisk.org/view.php?id=24 0xb7eb1e5e in clone () from
/lib/tls/i686/cmov/libc.so.6 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-10 03:48 triccyx        Note Added: 0112182                          
======================================================================




More information about the asterisk-bugs mailing list