[Home]

Summary:ASTERISK-16506: random Crash
Reporter:mciacci (mciacci)Labels:
Date Opened:2010-08-24 11:01:13Date Closed:2011-06-07 14:00:23
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:CDR/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) gdb.TXT
Description:Hi, we have an asterisk from one yers, but from some days, random asterisk crash.
We have 30 iax extensions and 10 sip extension.
In 1 years zero problems and zero modify.


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

#0  0x0807b1f9 in ast_cdr_getvar (cdr=0x0, name=0x12 <Address 0x12 out of bounds>, ret=0x63f,
   workspace=<value optimized out>, workspacelen=61, recur=1, raw=136479632) at cdr.c:239
       varbuf = <value optimized out>
#1  0x0808e223 in handle_showchan (fd=83, argc=3, argv=0xb6b2e7f4) at cli.c:1105
       c = 0x8233e08
       buf = "Э\004\000level 1: clid=\"2008\" <2008>\nlevel 1: src=2008\nlevel 1: dst=0066581876\nlevel 1: dcontext=phonecontext-2008-manager\nlevel 1: channel=IAX2/2008-2284\nlevel 1: dstchannel=DAHDI/31-1\nlevel 1: lastapp=Dia"...
       cdrtime = "[\000\000\000\060h0m51s\000d\000\000\000\020\346\022\b0h0m(t\356\267\365\202\354\267f\262\022\b\220q\356\267\000\000\000\000 \000\000\000\004\000\000\000HM\"\b\002\000\000\000 ", '\000' <repeats 11 times>"\350, 粶@\322\b\b\b>#\b\020\346\022\bq\232\"\b\210?#\b\270}\"\b\003\000\000\000\240\261\022\b\341cà·q\356\267HM\"\bÕ\022\b\341c\340\267\364_\356\267\000\000\000\000`q\356\267X粶\255\214\340\267`q\356\267\034\000\000\000\364_\356\267\034\000\000\000y첶x粶\346\317\340\267 \220\"\by첶\034\000\000\000y첶\260\354\262zz\000\000\000\272\267w\267\000\000\000\000 \220\"\b\240\361w\267\310粶2\256\b\b\272\267w\267 \220\"\bX鲶\000\000\000\000\364粶\f\272\365\267\002\000\000\000\000\355\024\b"
       nf = "\000\000\000\000\060x4 (ulaw)\000\267\000\000\000\266\060x8 (alaw)\000\267\354岶(\220\022\b\000\000\000\000\316粶\000\000\000\000\377\377\377\377\t\000\000\000\001\200\255\373\316粶\316粶\316粶\316粶\320粶\327粶\316粶\327粶@Y\356\267", '\000' <repeats 16 times>, "=_\023\b\000\000\000\000D4.\b\000\000\000\000X沶d\000\000\000X沶\035|淨沶1\245\365\267\250沶k\000\000\000\000\000\000\000\306\020\342\267\037\016\000\000\214沶\000\000\000\000k\000\000\000\213*\020\b\274\224(\b\f\272\365\267\020\346\022\b\b粶\001\000\000\000*\232oLS\251\004\000\000\000\000\000\b>#\b\000\000\000\000\350沶O\373\a\b\b\335\024\b\020\346\022\b\221m\340\267@\271\b\b"
       wf = "\000\000\000\000\060x4 (ulaw)\000\b\272첶0x8 (alaw)\000\000\225\372\022\b\000\061\062\060", '\000' <repeats 12 times>, "X岶(岶N\000\t\bl\374\024\b", '\000' <repeats 33 times>, "\001\000\000\000\000\n\377\260\226\"\b$.\340\267\063^\023\bh粶\364_\356\267Å(\bX岶\235@\340\267|岶\274\224(\bÅ(\b\b粶\364_\356\267|岶\274\224(\bh沶\004\334\337\267|岶\020\346\022\b4粶\274\224(\b\000\000\000\000\034沶\t\003\000\000\001\200\255\373\274\224(\b\274\224(\b\274\224(\b\274\224(\b'\225(\bÅ(\b\274\224(\bÅ(\b", '\000' <repeats 15 times>
       rf = "\000\000\000\000\060x8 (alaw)\000\000\000\000\000\000\000\000\000\000 ulaw)\000\000\000\000\000\000\000\000\000\000 \000\000s", '\000' <repeats 12 times>, " \000\000s", '\000' <repeats 15 times>, "s", '\000' <repeats 12 times>, " ", '\000' <repeats 15 times>, " ets\000\000\000\000erisk/manags\000\000\000\000nf\000\000\214겶", '\000' <repeats 12 times>, "0겶\000\000\000\000G_\023\b\000\000\000\000@겶\000\000\000\000\a\373\022\b\237a\023\bP겶\000\000\000\000\a\373\022\b\272첶\377\377\377\377\000\000\000\000\a\373\022\b\272첶\377\377\377\377\000\000\000\000\a\373\022\b\272첶\377\377\377\377\061\245\365\267\000\000\000\000\312첶\220겶\000\000\000\000\a\373\022\b"
       elapsed_seconds = 135454884
#2  0x0808ba62 in _ast_strdup (e=0x4c6f9a2a, ed=<value optimized out>)
   at /usr/src/asterisk-1.4.30/include/asterisk/utils.h:422
       newstr = 0x0
       __PRETTY_FUNCTION__ = "_ast_strdup"
#3  __ast_cli_register (e=0x4c6f9a2a, ed=<value optimized out>) at cli.c:1651
       cur = <value optimized out>
       fulle = "D4.\bZ\000\000\000\374\372\022\bH鲶\274&\v\b\334}\"\bD4.\b\000\000\000\000d\000\000\000\374\372\022\bX鲶\377\000\000\000\364_î·3\337\267\364_\356\267\002\000\000\000\n\000\000\000\360貶\000\000\000\000\003\000\000"
       ret = 135589120
       __PRETTY_FUNCTION__ = "__ast_cli_register"
#4  0x080bcb4b in astman_send_error (s=0xb6b2f364, m=0xb6b2ed1c) at manager.c:876
No locals.
c = 0xb6b2ecba
       name = 0x44496e6f <Address 0x44496e6f out of bounds>
ASTERISK-2  0x080ba964 in astman_send_error (s=0xb6b2f364, m=0x3) at manager.c:876
No locals.
ASTERISK-3  process_message (s=0xb6b2f364, m=0x3) at manager.c:2246
       action = "and", '\000' <repeats 75 times>, "\n\377"
       tmp = <value optimized out>
       id = 0xb6b2ecba "CHINFO-634179863783063100"
       idText = "onID: CHINFO-634179863783063100\r\n", '\000' <repeats 219 times>, "Acti"
       ret = <value optimized out>
       __PRETTY_FUNCTION__ = "process_message"
ASTERISK-4  0x080bbc75 in get_input (s=0xb6b2ef28) at manager.c:2322
       res = <value optimized out>
       x = 136478168
       fds = {{fd = 0, events = 0, revents = -246}}
       __PRETTY_FUNCTION__ = "get_input"
ASTERISK-5  do_message (s=0xb6b2ef28) at manager.c:2386
       m = {hdrcount = 0, headers = {0x0 <repeats 128 times>}}
       header_buf = "\360첶\260첶p첶", '\000' <repeats 500 times>, "Z\000\000\000\001\000\001\000\000\n\000mand: Show Channel IAX2/2008-2284\000\n", '\000' <repeats 465 times>
       res = <value optimized out>
ASTERISK-6 0x080bbcc7 in get_input (s=0x0) at manager.c:2328
       res = <value optimized out>
       x = 136478168
       fds = {{fd = 0, events = 32216, revents = 2082}}
       __PRETTY_FUNCTION__ = "get_input"
ASTERISK-7 do_message (s=0x0) at manager.c:2386
       m = {hdrcount = 0, headers = {0x0 <repeats 113 times>, 0xff0a0000 <Address 0xff0a0000 out of bounds>,
           0xb6b2f364 "", 0x8227dd8 "\220", <incomplete sequence \373\262\266>,
           0xb6b2fb90 "\220\373\262\266\330\226\"\b\220\373\262\266\001",
           0xb6b2f378 "\330\363\262\266\313\035\020\b\330}\"\b",
           0x80bbcc7 "\340\371\377\377\211\024$\350E\274\371\377\213\205\334\371\377\377\215\215\350\371\377\377)\203\260\004", 0xb6b2f364 "", 0x813632d "\n%s", 0xb6b2f378 "\330\363\262\266\313\035\020\b\330}\"\b",
           0x806a820 "$h\306\024\b\350\216\314\376\377\203\304,\211\330[^_]Ã
\366t\344\211\064$\350\070\324\376\377\205\300\211\303u\330\307D$\034\320o\022\b\307D$\030\277\002", 0x814d128 "", 0xb7f5ba0c <Address 0xb7f5ba0c out of bounds>, 0x0,
           0x8229650 "", 0xb7dc5d91 <Address 0xb7dc5d91 out of bounds>}}
       header_buf = '\000' <repeats 448 times>, "Z\000\000\000\001\000\001\000\000\n\000mand: Show Channel IAX2/2008-2284\000\n", '\000' <repeats 529 times>
       res = <value optimized out>
ASTERISK-8 0x08101dcb in ast_enable_packet_fragmentation (sock=136484440) at utils.c:1414
       val = 0
       __PRETTY_FUNCTION__ = "ast_enable_packet_fragmentation"
Comments:By: Leif Madsen (lmadsen) 2010-08-24 13:23:15

It looks like your backtrace contains optimizations, which will make the issue hard, if not impossible, to debug. Please reproduce the issue on a system configured as per the documentation below.

~~~~~~~~~~~~~~~~~~~~~~

Thank you for your bug report. In order to move your issue forward, we require a backtrace from the core file produced after the crash. Please see the doc/backtrace.txt file in your Asterisk source directory.

Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the Compiler Flags section, then:

make install

after enabling, reproduce the crash, and then execute the instructions in doc/backtrace.txt.

When complete, attach that file to this issue report. Thanks!

By: mciacci (mciacci) 2010-08-25 05:35:42

Ok, sorry for mistake.
Regards.

By: Leif Madsen (lmadsen) 2011-01-06 14:13:40.000-0600

Closed due to unusable backtrace.