[Home]

Summary:ASTERISK-15307: Crash when making outbound call
Reporter:simplyintricate (simplyintricate)Labels:
Date Opened:2009-12-12 17:59:00.000-0600Date Closed:2011-06-07 14:01:00
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:It seems that asterisk will issue a segmentation fault whenever you try to connect to a parked call. I am running the latest version of Ubuntu Server with the latest asterisk from their repository (1:1.6.2.0~rc2-0ubuntu1.1)

I have attached the gdb bt full output as well as some of the console output.

****** ADDITIONAL INFORMATION ******

(gdb) bt full
#0  0x00402d1d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#1  0x001e9956 in pthread_mutex_lock () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x0052195e in ast_sched_runq () from /usr/sbin/asterisk
No symbol table info available.
#3  0x004b88fe in ?? () from /usr/sbin/asterisk
No symbol table info available.
#4  0x004b8e9d in ast_waitstream () from /usr/sbin/asterisk
No symbol table info available.
ASTERISK-1  0x0051d886 in ?? () from /usr/sbin/asterisk
No symbol table info available.
ASTERISK-2  0x0047bbee in ast_say_digits_full () from /usr/sbin/asterisk
No symbol table info available.
ASTERISK-3  0x0047bc2f in ast_say_digits () from /usr/sbin/asterisk
No symbol table info available.
ASTERISK-4  0x004ae23c in ?? () from /usr/sbin/asterisk
No symbol table info available.
ASTERISK-5  0x004ae81a in ?? () from /usr/sbin/asterisk
No symbol table info available.
ASTERISK-6 0x004af3e3 in ?? () from /usr/sbin/asterisk
No symbol table info available.
ASTERISK-7 0x004e3cb5 in pbx_exec () from /usr/sbin/asterisk
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
ASTERISK-8 0x004eaf7e in ?? () from /usr/sbin/asterisk
No symbol table info available.
ASTERISK-9 0x004eb47c in ast_spawn_extension () from /usr/sbin/asterisk
No symbol table info available.
ASTERISK-10 0x004f1336 in ?? () from /usr/sbin/asterisk
No symbol table info available.
ASTERISK-11 0x004f2a4d in ?? () from /usr/sbin/asterisk
No symbol table info available.
ASTERISK-12 0x00535674 in ?? () from /usr/sbin/asterisk
No symbol table info available.
ASTERISK-13 0x0040080e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
ASTERISK-14 0x001dc7ee in clone () from /lib/tls/i68

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

$> asterisk -vvvvvvvvgc

 == Parked Local/7084154969@custom-gv-75ca;2 on 75 (lot default). Will timeout back to extension [custom-gv] s, 1 in 30 seconds
   -- Added extension '75' priority 1 to parkedcalls (0xb6fbd9c8)
   -- <Local/7084154969@custom-gv-75ca;2> Playing 'digits/7.gsm' (language 'en')
 == Using SIP RTP TOS bits 184
 == Using SIP RTP CoS mark 5
   -- Executing [7087941980@from-trunk:1] Set("SIP/SipGate-b6fe7ab0", "__FROM_DID=xxxxxxx") in new stack
SetMusicOnHold application is deprecated and will be removed. Use Set(CHANNEL(musicclass)=...) instead
   -- Executing [xxxxxxx@from-trunk:2] ExecIf("SIP/SipGate-b6fe7ab0", "0 ?Set(CALLERID(name)=7738095278)") in new stack
   -- Executing [xxxxxxx@from-trunk:3] SetMusicOnHold("SIP/SipGate-b6fe7ab0", "none") in new stack
   -- Executing [xxxxxxx@from-trunk:4] Set("SIP/SipGate-b6fe7ab0", "__MOHCLASS=none") in new stack
   -- Executing [xxxxxxx@from-trunk:5] Set("SIP/SipGate-b6fe7ab0", "__CALLINGPRES_SV=allowed_not_screened") in new stack
   -- Executing [xxxxxxx@from-trunk:6] Set("SIP/SipGate-b6fe7ab0", "CALLERPRES()=allowed_not_screened") in new stack
   -- Executing [xxxxxxx@from-trunk:7] Goto("SIP/SipGate-b6fe7ab0", "custom-park,s,1") in new stack
   -- Goto (custom-park,s,1)
   -- Executing [s@custom-park:1] Wait("SIP/SipGate-b6fe7ab0", "4") in new stack
   -- Executing [s@custom-park:2] Set("SIP/SipGate-b6fe7ab0", "GVNUM=xxxxxxx") in new stack
   -- Executing [s@custom-park:3] Set("SIP/SipGate-b6fe7ab0", "CALLPARK=75") in new stack
   -- Executing [s@custom-park:4] NoOp("SIP/SipGate-b6fe7ab0", "**CALLERID: xxxxxxx") in new stack
   -- Executing [s@custom-park:5] GotoIf("SIP/SipGate-b6fe7ab0", "1?6:7") in new stack
   -- Goto (custom-park,s,6)
   -- Executing [s@custom-park:6] ParkedCall("SIP/SipGate-b6fe7ab0", "75") in new stack
   -- Channel SIP/SipGate-b6fe7ab0 connected to parked call 75
   -- Packet2Packet bridging SIP/101-b6fee9a0 and SIP/SipGate-b6fe7ab0
 == Spawn extension (custom-park, s, 6) exited non-zero on 'Local/xxxxxxx@custom-gv-75ca;1<ZOMBIE>'
Segmentation fault (core dumped)

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

$> tail /var/log/messages

Dec 12 17:56:34 ubuntu kernel: [18938.141859] asterisk[13014]: segfault at c ip 002a6d1d sp b6dcb614 error 4 in libpthread-2.10.1.so[29f000+15000]

Comments:By: Leif Madsen (lmadsen) 2009-12-14 09:27:00.000-0600

Since you are using 1.6.2.0-rc2 from the ubuntu repository, and we're up to 1.6.2.0-rc8, I'd suggest you try compiling the latest 1.6.2.0 release candidate and report back if you still have the crash.

If so, please attach a backtrace as obtained with the instructions in backtrace.txt, a file located within the doc/ directory of your Asterisk sources.

Thanks!