[Asterisk-Dev] Seg Fault GDB
Santosh Prasad
sprasad at hubris.net
Fri Jun 27 10:53:47 MST 2003
Hello,
I am using the following:
Asterisk version
Asterisk CVS-06/26/03-11:23:30
SIP endpoints
ATA 186
H323 end points
ATA 186
I am able to place calls between SIP->SIP and H323->H323, but when I
call SIP->H323 or vice versa I get segmentation fault like after 10 sec
after the call is set up.
I did a gdb to trace the problem, but I am unable to proceed further.
How do I trace from these messages attached below. Please suggest.
Call from SIP end point to H323 end point
------------------------------------------------------------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 294931 (LWP 18598)]
ast_smoother_feed (s=0x3efe5d25, f=0x810e518) at frame.c:72
72 if (!s->format) {
(gdb) bt
#0 ast_smoother_feed (s=0x3efe5d25, f=0x810e518) at frame.c:72
#1 0x407b893b in oh323_write (c=0x8118780, f=0x810e518) at
chan_oh323.c:955
#2 0x08057ffb in ast_write (chan=0x8118780, fr=0x810e518) at
channel.c:1317
#3 0x0805a3a1 in ast_channel_bridge (c0=0x810e518, c1=0x810e518,
flags=0,
fo=0xbd5feeb4, rc=0xbd5feeb8) at channel.c:2138
#4 0x4022cc0e in ast_bridge_call (chan=0x810f1f8, peer=0x8118780,
allowredirect=0, allowdisconnect=0) at res_parking.c:207
#5 0x40686f11 in dial_exec (chan=0x810f1f8, data=0x40687ffb) at
app_dial.c:640
#6 0x0806051a in pbx_exec (c=0x810f1f8, app=0x80e8450, data=0xbd5ff74c,
newstack=1) at pbx.c:388
#7 0x080673b8 in pbx_extension_helper (c=0x810f1f8,
context=0xbd5ff74c "OH323/BYEXTENSION", exten=0x810f3bc "4050",
priority=1, callerid=0x80ca8d0 "5011", action=135328248) at
pbx.c:1130
#8 0x0806237c in ast_pbx_run (c=0x810f1f8) at pbx.c:1614
#9 0x08067a71 in pbx_thread (data=0x810bf40) at pbx.c:1830
#10 0x4002f463 in pthread_start_thread () from /lib/libpthread.so.0
#11 0x4002f4df in pthread_start_thread_event () from
/lib/libpthread.so.0
(gdb)
-------------------------------------------------------------------
Call from H323 endpoint to SIP endpoint
-----------------------------------------------------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 327701 (LWP 18636)]
ast_smoother_feed (s=0x7471e97d, f=0x80f2a70) at frame.c:72
72 if (!s->format) {
(gdb) bt
#0 ast_smoother_feed (s=0x7471e97d, f=0x80f2a70) at frame.c:72
#1 0x408b893b in oh323_write (c=0x407343d0, f=0x80f2a70) at
chan_oh323.c:955
#2 0x08057ffb in ast_write (chan=0x407343d0, fr=0x80f2a70) at
channel.c:1317
#3 0x0805a3a1 in ast_channel_bridge (c0=0x80f2a70, c1=0x80f2a70,
flags=0,
fo=0xbd1feeb4, rc=0xbd1feeb8) at channel.c:2138
#4 0x4022cc0e in ast_bridge_call (chan=0x407343d0, peer=0x8107b38,
allowredirect=0, allowdisconnect=0) at res_parking.c:207
#5 0x40686f11 in dial_exec (chan=0x407343d0, data=0x40687ffb)
at app_dial.c:640
#6 0x0806051a in pbx_exec (c=0x407343d0, app=0x40705248,
data=0xbd1ff74c,
newstack=1) at pbx.c:388
#7 0x080673b8 in pbx_extension_helper (c=0x407343d0,
context=0x40705248 "Dial", exten=0x40734594 "5011", priority=4,
callerid=0x40729be8 "4050", action=1081295824) at pbx.c:1130
#8 0x0806237c in ast_pbx_run (c=0x407343d0) at pbx.c:1614
#9 0x08067a71 in pbx_thread (data=0x40733a88) at pbx.c:1830
#10 0x4002f463 in pthread_start_thread () from /lib/libpthread.so.0
#11 0x4002f4df in pthread_start_thread_event () from
/lib/libpthread.so.0
(gdb)
-----------------------------------------------------------------
Best
Santosh
More information about the asterisk-dev
mailing list