Summary:ASTERISK-13281: crash by ast_dynamic_str_thread_build_va
Reporter:jangjun21 (jangjun21)Labels:
Date Opened:2008-12-28 20:37:23.000-0600Date Closed:2011-06-07 14:00:41
Versions:Frequency of
Description:Core was generated by `/usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c'.
Program terminated with signal 6, Aborted.
#0  0x001b3402 in __kernel_vsyscall ()
(gdb) bt
#0  0x001b3402 in __kernel_vsyscall ()
#1  0x00a64c10 in raise () from /lib/libc.so.6
#2  0x00a66521 in abort () from /lib/libc.so.6
#3  0x00a9ac5b in __libc_message () from /lib/libc.so.6
#4  0x00aa51d0 in _int_realloc () from /lib/libc.so.6
ASTERISK-1  0x00aa605e in realloc () from /lib/libc.so.6
ASTERISK-2  0x08103a4d in ast_dynamic_str_thread_build_va (buf=0x11fe9a4, max_len=12030240, ts=0x8158b4c, append=0, fmt=0x813a84c "%s",
   ap=0x11fe9c8 "hz?t") at /usr/src/redhat/BUILD/asterisk-1.4.23-rc3/include/asterisk/utils.h:394
ASTERISK-3  0x080b3980 in astman_append (s=0x9d39368, fmt=0x813a84c "%s") at manager.c:497
ASTERISK-4  0x080bbb9e in action_command (s=0x9d39368, m=0x11ff120) at manager.c:1778
ASTERISK-5  0x080b8d86 in process_message (s=0x9d39368, m=0x11ff120) at manager.c:2225
ASTERISK-6 0x080ba4d9 in do_message (s=0x9d39368) at manager.c:2321
ASTERISK-7 0x080ba517 in session_do (data=0x9d39368) at manager.c:2337
ASTERISK-8 0x0810301b in dummy_start (data=0x9cadbe0) at utils.c:856
ASTERISK-9 0x00bb243b in start_thread () from /lib/libpthread.so.0
ASTERISK-10 0x00b09fde in clone () from /lib/libc.so.6
Comments:By: Tilghman Lesher (tilghman) 2008-12-29 07:17:36.000-0600

Please follow the instructions in doc/valgrind.txt.

By: Leif Madsen (lmadsen) 2009-01-06 08:28:32.000-0600

Pinging original reporter. Have you had a chance to get information from valgrind? Note that, as the valgrind.txt file mentions, Asterisk may not necessarily crash, but the information produced could still be useful, so just perform the steps you would normally do to cause this crash to happen. Thanks!

By: jangjun21 (jangjun21) 2009-01-07 19:05:37.000-0600

OK,I will follow the valgrind.txt to do

By: Joshua C. Colp (jcolp) 2009-02-11 13:02:09.000-0600

jangjun21: Any update?

By: Joshua C. Colp (jcolp) 2009-02-25 11:21:19.000-0600

Suspended due to lack of response. When you have the info feel free to reopen.