[asterisk-dev] Asterisk core dump problem

cr rajesh cr_rajesh at yahoo.com
Fri Mar 31 14:22:53 MST 2006



Hi,

I'm running Asterisk v 1.2.0 in our Servers. We are
creating conference dynamically using Meetme
application with dq flag. We are currently testing our
application and over a period of time the asterisk
gets crashed with message -Segmentation fault (core
dumped). In average it happens once in a day.

All the times the core dump happens exactly after the
MeetMe in the Dial plan. I've listed below all the
logs and other information. Please help me in solving
this problem. Also, please let me know if you need any
other information.

Thanks,
Rajesh.


gdb messages from the core file

(gdb) bt
#0  0x00000039baa079ec in pthread_mutex_lock () from
/lib64/tls/libpthread.so.0
#1  0x0000002a960dbbf0 in local_indicate
(ast=0x78b520, condition=-1)
    at ../include/asterisk/lock.h:584
#2  0x000000000041c860 in ast_indicate (chan=0x78b520,
condition=-1)
    at channel.c:2000
#3  0x0000002a95aaba62 in ast_bridge_call
(chan=0x766960, peer=0x78b520,
    config=0x40448d80) at res_features.c:1386
#4  0x0000002a9c0ce512 in dial_exec_full
(chan=0x766960, data=Variable "data" is not available.
)
    at app_dial.c:1561
#5  0x0000002a9c0cf0d6 in dial_exec (chan=Variable
"chan" is not available.
) at app_dial.c:1601
#6  0x000000000043a204 in pbx_exec (c=0x766960,
app=Variable "app" is not available.
) at pbx.c:544
#7  0x0000002a96e4e8f6 in realtime_exec
(chan=0x766960,
    context=0x766b38 "karl-add2conference",
exten=0x766c2c "2028441212",
    priority=Variable "priority" is not available.
) at pbx_realtime.c:221
#8  0x000000000044467a in pbx_extension_helper
(c=0x766960, con=Variable "con" is not available.
) at pbx.c:1716
#9  0x00000000004456a2 in __ast_pbx_run (c=0x766960)
at pbx.c:2220
#10 0x0000000000446e09 in pbx_thread (data=Variable
"data" is not available.
) at pbx.c:2507
#11 0x00000039baa060aa in start_thread () from
/lib64/tls/libpthread.so.0
#12 0x00000039b9fc5b43 in clone () from
/lib64/tls/libc.so.6
#13 0x0000000000000000 in ?? ()

(gdb) bt full
#0  0x00000039baa079ec in pthread_mutex_lock () from
/lib64/tls/libpthread.so.0
No symbol table info available.
#1  0x0000002a960dbbf0 in local_indicate
(ast=0x78b520, condition=-1)
    at ../include/asterisk/lock.h:584
        p = (struct local_pvt *) 0x0
        res = Variable "res" is not available.

Last few lines from the CLI

-- Executing
Eval("Local/2028441212 at karl-add2conference-44b1,1",
"callkey_dbname=4663254114:karl") in new stack
-- Executing
Cut("Local/2028441212 at karl-add2conference-44b1,1",
"callkey=callkey_dbname|:|1") in new stack
-- Executing
Cut("Local/2028441212 at karl-add2conference-44b1,1",
"dbname=callkey_dbname|:|2") in new stack
-- Executing
MeetMe("Local/2028441212 at karl-add2conference-44b1,1",
"4663254114|dq") in new stack
Segmentation fault (core dumped)

Last few lines from asterisk full log

Mar 31 13:12:17 VERBOSE[10185] logger.c:     --
Executing
MeetMe("Local/2028441212 at karl-add2conference-44b1,1",
"4663254114|dq") in new stack
Mar 31 13:12:17 DEBUG[10184] app_queue.c: Device
'Local/2028441212 at karl-add2conference' changed to
state '2' (In use)
Mar 31 13:12:17 DEBUG[10178] channel.c: Done planning
to masquerade channel IAX2/jnctn_out-1 into the
structure of
Local/2028441212 at karl-add2conference-44b1,1
Mar 31 13:12:17 DEBUG[10178] chan_local.c: Not posting
to queue since already masked on
'Local/2028441212 at karl-add2conference-44b1,2'
Mar 31 13:12:17 DEBUG[10183] app_queue.c: Device
'Local/2028441212 at karl-add2conference' changed to
state '2' (In use)
Mar 31 13:12:17 DEBUG[10185] channel.c: Set channel
Local/2028441212 at karl-add2conference-44b1,1 to write
format slin
Mar 31 13:12:17 DEBUG[10185] channel.c: Set channel
Local/2028441212 at karl-add2conference-44b1,1 to read
format slin
Mar 31 13:12:17 DEBUG[10178] channel.c: Got a
FRAME_CONTROL (-1) frame on channel
Local/2028441212 at karl-add2conference-44b1,2
Mar 31 13:12:17 DEBUG[10185] app_meetme.c: Placed
channel Local/2028441212 at karl-add2conference-44b1,1 in
ZAP conf 1023
Mar 31 13:12:17 DEBUG[10178] channel.c: Bridge stops
bridging channels
Local/2028441212 at karl-add2conference-44b1,2 and
IAX2/jnctn_out-1
Mar 31 13:12:17 DEBUG[10185] channel.c: Got clone lock
for masquerade on 'IAX2/jnctn_out-1' at 0x78b620
Mar 31 13:12:17 DEBUG[10185] channel.c: Set channel
IAX2/jnctn_out-1 to write format slin
Mar 31 13:12:17 DEBUG[10185] channel.c: Set channel
IAX2/jnctn_out-1 to read format slin
Mar 31 13:12:17 DEBUG[10185] channel.c: Putting
channel IAX2/jnctn_out-1 in 64/64 formats
Mar 31 13:12:17 DEBUG[10185] channel.c: Released clone
lock on
'Local/2028441212 at karl-add2conference-44b1,1<ZOMBIE>'
Mar 31 13:12:17 DEBUG[10185] channel.c: Done
Masquerading IAX2/jnctn_out-1 (6)

-> After this there were no more log messages




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the asterisk-dev mailing list