[asterisk-gui] rev 204 sigsegv

Hans Zandbelt hans.zandbelt at gmail.com
Sun Dec 31 12:48:35 MST 2006


A segmentation fault occurs randomly after some clicking through the 
different screens; GDB stack trace see below.
Running Asterisk 1.4.0 and asterisk-gui svn revision 204 (on mipsel-linux).

Hope you can use it / fix it.

Regards,

Hans.

#0  0x004cbe60 in ast_dynamic_str_thread_build_va (buf=0x10071954, 
max_len=0, ts=0x0, append=1, fmt=0x518768 " destroy, but can't do it 
yet!\n",
     ap=0x7d3f7e74) at utils.c:971
971             if ((res + offset + 1) > (*buf)->len && (max_len ? 
((*buf)->len < max_len) : 1)) {
(gdb) where
#0  0x004cbe60 in ast_dynamic_str_thread_build_va (buf=0x10071954, 
max_len=0, ts=0x0, append=1, fmt=0x518768 " destroy, but can't do it 
yet!\n",
     ap=0x7d3f7e74) at utils.c:971
#1  0x004cbf64 in ast_dynamic_str_append (buf=0x10071954, max_len=0, 
fmt=0x518768 " destroy, but can't do it yet!\n") at threadstorage.h:411
#2  0x0047482c in astman_append (s=0x100e85d0, fmt=0x5179b0 
"SrcFilename") at manager.c:423
#3  0x00476654 in action_getconfig (s=0x10071910, m=0x7d3f8a80) at 
manager.c:1011
#4  0x0047f1ac in process_message (s=0x10071910, m=0x7d3f8a80) at 
manager.c:1982
#5  0x00481640 in generic_http_callback (format=0, requestor=0x510000, 
uri=0x0, params=0x100e8b28, status=0x7d3ffc98, title=0x20c6,
     contentlength=0x7d3ffca0) at manager.c:2469
#6  0x00482598 in rawman_http_callback (requestor=0x0, uri=0x40 <Address 
0x40 out of bounds>, params=0x20c6, status=0x100e8614, title=0x40,
     contentlength=0x20c6) at manager.c:2552
#7  0x00468bc0 in ast_httpd_helper_thread (data=0x10093e28) at http.c:339
#8  0x004cb4e0 in dummy_start (data=0x40) at utils.c:545
#9  0x2ab354f8 in ?? ()

...<snip>...

(gdb) print *buf
$1 = (struct ast_dynamic_str *) 0x0



More information about the asterisk-gui mailing list