Summary:ASTERISK-14806: Crash on exit
Reporter:Mark Murawski (kobaz)Labels:
Date Opened:2009-09-09 15:12:15Date Closed:2009-11-30 15:48:24.000-0600
Versions:Frequency of
Environment:Attachments:( 0) valgrind
Description:Affects asterisk
Does not affect trunk

Run asterisk -cvvvv
Handle an incoming sip call


#0  0xb7f2c410 in __kernel_vsyscall ()
#1  0xb7c57640 in raise () from /lib/i686/cmov/libc.so.6
#2  0xb7c59008 in abort () from /lib/i686/cmov/libc.so.6
#3  0xb7c94e1d in ?? () from /lib/i686/cmov/libc.so.6
#4  0xb7c9b1d4 in ?? () from /lib/i686/cmov/libc.so.6
ASTERISK-1  0xb7c9d186 in free () from /lib/i686/cmov/libc.so.6
ASTERISK-2  0xb6e4db37 in __sip_destroy (p=0x19) at chan_sip.c:4547
ASTERISK-3  sip_destroy (p=0x19) at chan_sip.c:4800
ASTERISK-4  sip_destroy_fn (p=0x19) at chan_sip.c:4789
ASTERISK-5  0x0807b262 in ao2_ref (user_data=0x8568dd8, delta=-1) at astobj2.c:227
ASTERISK-6 0xb6e460b0 in dialog_unref (type=0xb67be500 "SIP", format=4, data=0xb67bec10, cause=0xb67bee2c) at chan_sip.c:1359
ASTERISK-7 sip_request_call (type=0xb67be500 "SIP", format=4, data=0xb67bec10, cause=0xb67bee2c) at chan_sip.c:20622
ASTERISK-8 0x0808b701 in ast_request (type=0xb67be500 "SIP", format=4, data=0xb67bec10, cause=0xb67bee2c) at channel.c:3913
ASTERISK-9 0xb6ee872f in dial_exec_full (chan=0x84d0850, data=<value optimized out>, peerflags=0xb67bee60, continue_exec=0x0) at app_dial.c:1496
ASTERISK-10 0xb6eeb749 in dial_exec (chan=0x84d0850, data=0xb67c0f18) at app_dial.c:1997
ASTERISK-11 0x080ebff9 in pbx_exec (c=0x84d0850, app=0x8474c08, data=0xb67c0f18) at pbx.c:951
ASTERISK-12 0x080f6ef2 in pbx_extension_helper (c=0x84d0850, con=0x0, context=0x84d09d8 "queue_keeptrying_extension", exten=0x84d0a28 "h", priority=3, label=0x0, callerid=0x85c8630 "1110", action=E_SPAWN, found=0xb67c3348,
   combined_find_spawn=1) at pbx.c:3120
ASTERISK-13 0x080f9fe2 in ast_spawn_extension (c=0x84d0850, args=0x0) at pbx.c:3584
ASTERISK-14 __ast_pbx_run (c=0x84d0850, args=0x0) at pbx.c:3837
ASTERISK-15 0x080fb150 in pbx_thread (data=0x84d0850) at pbx.c:3944
ASTERISK-16 0x0813771b in dummy_start (data=0x85c5b30) at utils.c:862
ASTERISK-17 0xb7c154e5 in start_thread () from /lib/i686/cmov/libpthread.so.0
ASTERISK-18 0xb7d0f0de in clone () from /lib/i686/cmov/libc.so.6
Comments:By: Tilghman Lesher (tilghman) 2009-09-10 12:50:00

This will need valgrind to proceed.  See doc/valgrind.txt.

By: Mark Murawski (kobaz) 2009-09-10 13:50:02

added valgrind output

By: Matthew Nicholson (mnicholson) 2009-11-23 09:56:05.000-0600

I tried to reproduce this with the instructions that you provided and was unable to.  I tested with the 1.6.0 branch, revision 230782.  Please test with the latest 1.6.0 revision and see if you can still reproduce this issue.  If you can, then post detailed instructions on how you were able to reproduce it.  Please include a description of your configuration (or the configuration files themselves).