[Home]

Summary:ASTERISK-11283: Asterisk core dump
Reporter:GPSH (gaurav6628)Labels:
Date Opened:2008-01-23 06:40:46.000-0600Date Closed:2011-06-07 14:03:09
Priority:MajorRegression?No
Status:Closed/CompleteComponents:. I did not set the category correctly.
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:We are using asterisk 1.4.17 and zaptel-1.4.2.1 and libpri-1.4.0 with 4 e1 card .

3 of the e1 are terminated on IBM X series 3200 and we are getting lot of core dump during the live calling .

we have checked the core dump and most of the core dump are because of the dial application _ast_request_dial .

i am attaching the core dump as well .

Load on the server is also well below 3.0 all the time .

We are running with CENTOS 5.0 .


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

(gdb) bt
#0  0x00890257 in _int_malloc () from /lib/libc.so.6
#1  0x00891d8e in malloc () from /lib/libc.so.6
#2  0x080ade8e in manager_event (category=2, event=0x813560a "Newexten",
   fmt=0x81369d4 "Channel: %s\r\nContext: %s\r\nExtension: %s\r\nPriority: %d\r\nApplication: %s\r\nAppData: %s\r\nUniqueid: %s\r\n") at manager.c:2316
#3  0x080c7c6d in pbx_extension_helper (c=0x9d75da8, con=0x0, context=0x9d75f28 "default", exten=0x9d75f78 "9119871271140", priority=6, label=0x0,
   callerid=0x0, action=E_SPAWN) at pbx.c:1829
#4  0x080c99c6 in __ast_pbx_run (c=0x9d75da8) at pbx.c:2293
ASTERISK-1  0x080ca96e in pbx_thread (data=0x9d75da8) at pbx.c:2608
ASTERISK-2  0x080f6d6b in dummy_start (data=0x9d084a8) at utils.c:843
ASTERISK-3  0x0099d2db in start_thread () from /lib/libpthread.so.0
ASTERISK-4  0x008f712e in clone () from /lib/libc.so.6
(gdb)


---------------------------


(gdb) bt full
#0  0x00890257 in _int_malloc () from /lib/libc.so.6
No symbol table info available.
#1  0x00891d8e in malloc () from /lib/libc.so.6
No symbol table info available.
#2  0x080ade8e in manager_event (category=2, event=0x813560a "Newexten",
   fmt=0x81369d4 "Channel: %s\r\nContext: %s\r\nExtension: %s\r\nPriority: %d\r\nApplication: %s\r\nAppData: %s\r\nUniqueid: %s\r\n") at manager.c:2316
       s = <value optimized out>
       auth = "call,all", '\0' <repeats 71 times>
       ap = 0x3179e7c "8çÑ\t(_×\tx_×\t\006"
       buf = (struct ast_dynamic_str *) 0x9be9a78
#3  0x080c7c6d in pbx_extension_helper (c=0x9d75da8, con=0x0, context=0x9d75f28 "default", exten=0x9d75f78 "9119871271140", priority=6, label=0x0,
   callerid=0x0, action=E_SPAWN) at pbx.c:1829
       e = (struct ast_exten *) 0x9adaad8
       app = (struct ast_app *) 0x9ab9450
       res = <value optimized out>
       q = {incstack = {0x0 <repeats 128 times>}, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x9d75f28 "default"}
       passdata = "Zap/g3/9871271140||o", '\0' <repeats 8171 times>
       matching_action = 0
       __PRETTY_FUNCTION__ = "pbx_extension_helper"
#4  0x080c99c6 in __ast_pbx_run (c=0x9d75da8) at pbx.c:2293
       waittime = 163518848
       dst_exten = "\000\000\000\000\000\000\000\000q\000\211\000\020\000 ·Ð  ·\230\002\030\003°5\211\000\020\000 ·Ð  ·|\003\232\000\000\000\000\000\000\000\000\000÷\002\030\003\000\000\000\000Ð  ·\b\231Á\t", '\0' <repeats 12 times>, "\020\000\000\000(A\226", '\0' <repeats 25 times>, "a÷\210\000H\000\000\000\000\000\000\0008¾\224", '\0' <repeats 21 times>, "\020\000\000\000\000\000\000\0008¾\224\000a÷\210\000\000\000\000\000\220Þ\210\000\f\000\000\000\221ò\231\000\000\000\000\000ô/\226\000\203u\000\000\f\000\000\0008\003\030\003\235\032\211\000 A\226\000\f\000\000\000\210\000\000\000éæ\000\000\030yî\t\f\000\000\000¨\204Ð\t"...
       pos = 0
       digit = 163518848
       found = 1
       res = 0
       error = <value optimized out>
       __PRETTY_FUNCTION__ = "__ast_pbx_run"
ASTERISK-1  0x080ca96e in pbx_thread (data=0x9d75da8) at pbx.c:2608
No locals.
ASTERISK-2  0x080f6d6b in dummy_start (data=0x9d084a8) at utils.c:843
       __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {166307472, 0, 51907472, 51905480, 1231872504, 1115394012}, __mask_was_saved = 0}},
 __pad = {0x3180480, 0x0, 0x0, 0x962ff4}}
       __cancel_arg = (void *) 0x3180b90
       not_first_call = <value optimized out>
       ret = <value optimized out>
ASTERISK-3  0x0099d2db in start_thread () from /lib/libpthread.so.0
No symbol table info available.
ASTERISK-4  0x008f712e in clone () from /lib/libc.so.6

----------------------------------------------------


(gdb) bt
#0  0x0089356c in free () from /lib/libc.so.6
#1  0x0809f85a in ast_frame_free (fr=0x962ff4, cache=1) at frame.c:360
#2  0x007bbc4f in dial_exec_full (chan=0xa048ac8, data=<value optimized out>, peerflags=0x1318e64, continue_exec=0x0) at app_dial.c:691
#3  0x007beb02 in dial_exec (chan=0xa048ac8, data=0x131cf38) at app_dial.c:1710
#4  0x080c7cde in pbx_extension_helper (c=0xa048ac8, con=0x0, context=0xa048c48 "default", exten=0xa048c98 "9119971608483", priority=4, label=0x0,
   callerid=0x0, action=E_SPAWN) at pbx.c:532
ASTERISK-1  0x080c99c6 in __ast_pbx_run (c=0xa048ac8) at pbx.c:2293
ASTERISK-2  0x080ca96e in pbx_thread (data=0xa048ac8) at pbx.c:2608
ASTERISK-3  0x080f6d6b in dummy_start (data=0xb7c007d8) at utils.c:843
ASTERISK-4  0x0099d2db in start_thread () from /lib/libpthread.so.0
ASTERISK-5  0x008f712e in clone () from /lib/libc.so.6
(gdb)


------------------------


(gdb) bt full
#0  0x0089356c in free () from /lib/libc.so.6
No symbol table info available.
#1  0x0809f85a in ast_frame_free (fr=0x962ff4, cache=1) at frame.c:360
No locals.
#2  0x007bbc4f in dial_exec_full (chan=0xa048ac8, data=<value optimized out>, peerflags=0x1318e64, continue_exec=0x0) at app_dial.c:691
       res2 = <value optimized out>
       loopcount = <value optimized out>
       res = 0
       u = (struct ast_module_user *) 0xb7c00760
       rest = 0x0
       cur = <value optimized out>
       outgoing = <value optimized out>
       peer = (struct ast_channel *) 0xa048ac8
       to = -1
       numbusy = 1
       numcongestion = 0
       numnochan = 0
       cause = 0
       numsubst = "g1/9971608483\000DONE/200\0000122\"\000\000\0004\001\000\000\000\000\000\000\000ô/\226\000\220û1\001p)\v\n(\2141\001e}\210\0004Ã\210\000\000\000\000\000\b\001\210\000ô/\226\000\000\000\000\000\000\000\000\000\235Õ\210\000\\\2141\001Ìã\004\nóã\004\nà\2151\001ô/\226\000\\\2141\001Ìã\004\nH\2151\001´t\210\000\\\2141\001Ó>\023\bà\2151\001Ìã\004\n\000\000\000\000ü\2141\001'\000\000\000\001\200­ûÌã\004\nÌã\004\nÌã\004\nÌã\004\nÎã\004\nóã\004\nÌã\004\nóã\004\n", '\0' <repeats 20 times>, "<\215"...
       cidname = '\0' <repeats 79 times>
       privdb_val = 0
       calldurationlimit = 0
       timelimit = 0
       play_warning = 0
       warning_freq = 0
       warning_sound = 0x0
       end_sound = 0x0
       start_sound = 0x0
       dtmfcalled = <value optimized out>
       dtmfcalling = 0x0
       status = "NOANSWER\000GS", '\0' <repeats 244 times>
       play_to_caller = 0
       play_to_callee = 0
       sentringing = 1
       moh = 0
       outbound_group = 0x0
       result = <value optimized out>
       start_time = <value optimized out>
       privintro = '\0' <repeats 268 times>, "ñn\205", '\0' <repeats 29 times>, "p\2061\001\000\000\000\000\000\000\000\000\231\231\231\031\005", '\0' <repeats 11 times>, "\223Ä\210\000\000\000\000\000\000\000\000\000Þã\207\000Õ>\023\bÕ>\023\b\002\000\000\000ô/\226\000\\\2141\001d­\021\b8\2141\001¯U\206\000\\\21---Type <return> to continue, or q <return> to quit---



-------------------------------------------------------------------



(gdb) bt
#0  0x00f94402 in __kernel_vsyscall ()
#1  0x00852c00 in raise () from /lib/libc.so.6
#2  0x00854451 in abort () from /lib/libc.so.6
#3  0x008881fb in __libc_message () from /lib/libc.so.6
#4  0x008936db in free () from /lib/libc.so.6
ASTERISK-1  0x080864c0 in __ast_request_and_dial (type=0x9f9ef48 "Local", format=64, data=0x9f9ef98, timeout=56380, outstate=0x3c4d358, cid_num=0x0,
   cid_name=0x9f9f05c "V0122133745000284924", oh=0x3c4d268) at channel.c:3169
ASTERISK-2  0x080caa2b in ast_pbx_outgoing_exten (type=0x9f9ef48 "Local", format=64, data=0x9f9ef98, timeout=60000, context=0x9f9f0fc "default",
   exten=0x9f9f14c "8365", priority=1, reason=0x3c4d358, sync=1, cid_num=0x0, cid_name=0x9f9f05c "V0122133745000284924", vars=0x9fad618,
   account=0x9f9f1ec "", channel=0x3c4d354) at pbx.c:4975
ASTERISK-3  0x080ae22a in fast_originate (data=0x9f9ef48) at manager.c:1676
ASTERISK-4  0x080f6d6b in dummy_start (data=0xa05ae48) at utils.c:843
ASTERISK-5  0x0099d2db in start_thread () from /lib/libpthread.so.0
ASTERISK-6 0x008f712e in clone () from /lib/libc.so.6
(gdb)



(gdb) bt full
#0  0x00f94402 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00852c00 in raise () from /lib/libc.so.6
No symbol table info available.
#2  0x00854451 in abort () from /lib/libc.so.6
No symbol table info available.
#3  0x008881fb in __libc_message () from /lib/libc.so.6
No symbol table info available.
#4  0x008936db in free () from /lib/libc.so.6
No symbol table info available.
ASTERISK-1  0x080864c0 in __ast_request_and_dial (type=0x9f9ef48 "Local", format=64, data=0x9f9ef98, timeout=56380, outstate=0x3c4d358, cid_num=0x0,
   cid_name=0x9f9f05c "V0122133745000284924", oh=0x3c4d268) at channel.c:3169
       f = (struct ast_frame *) 0x962ff4
       dummy_outstate = 0
       cause = 0
       chan = (struct ast_channel *) 0x2
       res = 63230131
       __PRETTY_FUNCTION__ = "__ast_request_and_dial"
ASTERISK-2  0x080caa2b in ast_pbx_outgoing_exten (type=0x9f9ef48 "Local", format=64, data=0x9f9ef98, timeout=60000, context=0x9f9f0fc "default",
   exten=0x9f9f14c "8365", priority=1, reason=0x3c4d358, sync=1, cid_num=0x0, cid_name=0x9f9f05c "V0122133745000284924", vars=0x9fad618,
   account=0x9f9f1ec "", channel=0x3c4d354) at pbx.c:4975
       chan = <value optimized out>
       res = <value optimized out>
       cdr_res = <value optimized out>
       oh = {context = 0x9f9f0fc "default", exten = 0x9f9f14c "8365", priority = 1, cid_num = 0x0, cid_name = 0x9f9f05c "V0122133745000284924",
 account = 0x9f9f1ec "", vars = 0x9fad618, parent_channel = 0x0}
       attr = {__size = '\0' <repeats 16 times>, "q\000\211", '\0' <repeats 16 times>, __align = 0}
       __PRETTY_FUNCTION__ = "ast_pbx_outgoing_exten"
       __FUNCTION__ = "ast_pbx_outgoing_exten"
ASTERISK-3  0x080ae22a in fast_originate (data=0x9f9ef48) at manager.c:1676
       res = <value optimized out>
       reason = 0
       chan = (struct ast_channel *) 0x0
       requested_channel = "\034O\000\000\f\000\000\0008ÓÄ\003\235\032\211\000 A\226\000\f\000\000\000\b\001\000\000y¢\000\000\210\035\r\n\f\000\000\000 \035\006\n¸\034\006\n\220ÛÄ\003hÓÄ\003\234\233\006\b|\003\232\000\f\000\000\000hÓÄ\003\001\000\000\0001)\205"
ASTERISK-4  0x080f6d6b in dummy_start (data=0xa05ae48) at utils.c:843
       __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {168172728, 0, 63232912, 63230920, -1547759704, -1468747380}, __mask_was_saved = 0}},
 __pad = {0x3c4d480, 0x0, 0x0, 0x962ff4}}
       __cancel_arg = (void *) 0x3c4db90
       not_first_call = <value optimized out>
       ret = <value optimized out>
ASTERISK-5  0x0099d2db in start_thread () from /lib/libpthread.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---

Comments:By: Russell Bryant (russell) 2008-01-23 10:36:27.000-0600

Can you reproduce this while running under valgrind?  Check out the instructions in doc/valgrind.txt

By: Joshua C. Colp (jcolp) 2008-02-11 13:05:44.000-0600

I'm suspending this for lack of response. If you can grab what Russell needs feel free to attach and reopen.