Summary:ASTERISK-15260: Crash when performing dial
Reporter:Mark Murawski (kobaz)Labels:
Date Opened:2009-12-02 14:02:15.000-0600Date Closed:2010-02-18 16:45:44.000-0600
Versions:Frequency of
Description:Totally random crash

#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb74ea3d0 in raise () from /lib/i686/cmov/libc.so.6
#2  0xb74eda85 in abort () from /lib/i686/cmov/libc.so.6
#3  0xb75232ed in ?? () from /lib/i686/cmov/libc.so.6
#4  0xb752d8f4 in ?? () from /lib/i686/cmov/libc.so.6
ASTERISK-1  0xb752f896 in free () from /lib/i686/cmov/libc.so.6
ASTERISK-2  0xb604fd57 in __sip_destroy (p=0x3ff) at chan_sip.c:4671
ASTERISK-3  sip_destroy (p=0x3ff) at chan_sip.c:4925
ASTERISK-4  sip_destroy_fn (p=0x3ff) at chan_sip.c:4914
ASTERISK-5  0x0807b242 in ao2_ref (user_data=0xb13e9838, delta=-1) at astobj2.c:227
ASTERISK-6 0xb60526b0 in dialog_unref (type=0xb53664d0 "SIP", format=4, data=0xb5366c04, cause=0xb5366e2c) at chan_sip.c:1374
ASTERISK-7 sip_request_call (type=0xb53664d0 "SIP", format=4, data=0xb5366c04, cause=0xb5366e2c) at chan_sip.c:20907
ASTERISK-8 0x0808b7b1 in ast_request (type=0xb53664d0 "SIP", format=4, data=0xb5366c04, cause=0xb5366e2c) at channel.c:3962
ASTERISK-9 0xb698e85f in dial_exec_full (chan=0xb13d0d50, data=<value optimized out>, peerflags=0xb5366e60, continue_exec=0x0) at app_dial.c:1515
ASTERISK-10 0xb6991b49 in dial_exec (chan=0xb13d0d50, data=0xb5368f18) at app_dial.c:2077
ASTERISK-11 0x080ec979 in pbx_exec (c=0xb13d0d50, app=0x820f190, data=0xb5368f18) at pbx.c:951
ASTERISK-12 0x080f7802 in pbx_extension_helper (c=0xb13d0d50, con=0x0, context=0xb13d0ed8 "queue_keeptrying_extension", exten=0xb13d0f28 "U0lQLzIwMw==", priority=34, label=0x0, callerid=0xb13ca1c0 "1110",
   action=E_SPAWN, found=0xb536b348, combined_find_spawn=1) at pbx.c:3120
ASTERISK-13 0x080fa34c in ast_spawn_extension (c=0xb13d0d50, args=0x0) at pbx.c:3586
ASTERISK-14 __ast_pbx_run (c=0xb13d0d50, args=0x0) at pbx.c:3673
ASTERISK-15 0x080fbb20 in pbx_thread (data=0xb13d0d50) at pbx.c:3946
ASTERISK-16 0x0813807b in dummy_start (data=0xb13c9588) at utils.c:861
ASTERISK-17 0xb74a84b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
ASTERISK-18 0xb75a0a5e in clone () from /lib/i686/cmov/libc.so.6


14:48 <Kobaz> any idea what could cause that?
14:49 <@file> reference counting problem.
Comments:By: Elazar Broad (ebroad) 2009-12-02 14:04:00.000-0600

Per the bug guidelines please recompile Asterisk with DONT_OPTIMIZE(make menuconfig) set and post a backtrace(see doc/backtrace.txt). Thanks!

By: Leif Madsen (lmadsen) 2010-01-07 10:44:41.000-0600

Pinging reporter -- I suppose you haven't gotten this crash again?

By: Mark Murawski (kobaz) 2010-01-07 11:09:01.000-0600

I haven't seen the same crash since the report.  But obviously there is a problem somewhere. I thought the backtrace might be helpful.

By: Leif Madsen (lmadsen) 2010-01-11 14:00:25.000-0600

Well I'll just leave this as acknowledged for now until a developer can review it.

By: Digium Subversion (svnbot) 2010-02-18 16:45:42.000-0600

Repository: asterisk
Revision: 247839

U   branches/1.6.0/channels/chan_sip.c

r247839 | dvossel | 2010-02-18 16:45:42 -0600 (Thu, 18 Feb 2010) | 8 lines

fixes dialog ref count crash isolated to the 1.6.0 branch

(closes issue ASTERISK-15260)
Reported by: kobaz

(closes issue ASTERISK-15598)
Reported by: kobaz