roxen.lists.roxen.general

Subject Author Date
Re: Roxen 4.0 sudden death on piketag - corrupted double-linked lists on #include? <gnudiff <> 06-01-2006
2006/1/6, Jonas Walldén <<jonasw[at]roxen.com>>:
> On Jan 5, 2006, at 22:40, <<gnudiff[at]gmail.com>> wrote:
>

> You're on the right track! After attaching, type "c" to let the
> process continue and then wait until it crashes. You should see a
> message saying the process was terminated because of XYZ. If you get
> a prompt in other situations (e.g. internal kernel signals), hit "c"
> again. After the crash, use "bt" or "thread apply all bt".
>
> -- Jonas
If I do ./start --with-debug -w --once
attach GDB to the PID
do a "c" and then cause server to crash, I only get:

Loaded symbols for /lib64/libresolv.so.2
0x00002aaaab3ccd49 in poll () from /lib64/libc.so.6
(gdb) c
Continuing.

Program terminated with signal SIGKILL, Killed.
The program no longer exists.
(gdb) bt
No stack.
---------------------------------
If I do a  ./start --with-debug -w --gdb --once, it runs under GDB by
itself, and then I get upon crash:

16:08:36  : All modules for CSmain enabled in 1.0 seconds
 0m34.3s  :
[New Thread 114696 (LWP 3529)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 81926 (LWP 3522)]
0x00002aaaab382873 in malloc_consolidate () from /lib64/libc.so.6
(gdb) bt
#0  0x00002aaaab382873 in malloc_consolidate () from /lib64/libc.so.6
#1  0x00002aaaab383613 in _int_malloc () from /lib64/libc.so.6
#2  0x00002aaaab383f1a in malloc_check () from /lib64/libc.so.6
#3  0x000000000048ed4e in debug_xalloc (size=<value optimized out>) at
pike_memory.c:586
#4  0x0000000000489ec3 in init_mapping (m=0xdc01a0, size=9, flags=0)
at mapping.c:175
#5  0x0000000000489fd5 in debug_allocate_mapping (size=9) at mapping.c:229
#6  0x000000000048cfe0 in f_aggregate_mapping (args=2) at mapping.c:1818
#7  0x00002aaaacad8cf5 in tag_args (this=0xffbfb0, feed=<value
optimized out>, c=5843, def=0x0,
    skip_name=1, to_tag_end=1) at html.c:4325
#8  0x00002aaaacaddc2a in try_feed (finished=1) at html.c:2706
#9  0x00002aaaacadeada in html_finish (args=<value optimized out>) at
html.c:3909
#10 0x0000000000424e63 in low_mega_apply (type=APPLY_LOW, args=<value
optimized out>,
    arg1=<value optimized out>, arg2=<value optimized out>) at apply_low.h:195
#11 0x000000000042a1db in eval_instruction (pc=0xd1eec0
"�~�y�|!E�#|2120")
    at interpret_functions.h:1874
#12 0x00000000004302c2 in o_catch (pc=0xcf40b1 "+\b72-") at
interpret.c:1818
#13 0x0000000000427fd3 in eval_instruction (pc=0xcf40ac "j46") at
interpret_functions.h:1195
#14 0x00000000004302c2 in o_catch (pc=0xc55773 "&5(4") at interpret.c:1818
#15 0x0000000000427fd3 in eval_instruction (pc=0xc5576e "j$") at
interpret_functions.h:1195
#16 0x000000000042faf8 in mega_apply (type=<value optimized out>,
args=<value optimized out>,
    arg1=<value optimized out>, arg2=<value optimized out>) at interpret.c:1774
#17 0x00002aaaacaddf73 in try_feed (finished=1) at html.c:2706
#18 0x00002aaaacadeada in html_finish (args=<value optimized out>) at
html.c:3909
#19 0x0000000000424e63 in low_mega_apply (type=APPLY_LOW, args=<value
optimized out>,
    arg1=<value optimized out>, arg2=<value optimized out>) at apply_low.h:195
#20 0x000000000042a1db in eval_instruction (pc=0xd1eec0
"�~�y�|!E�#|2120")
    at interpret_functions.h:1874
#21 0x00000000004302c2 in o_catch (pc=0xcf40b1 "+\b72-") at
interpret.c:1818
#22 0x0000000000427fd3 in eval_instruction (pc=0xcf40ac "j46") at
interpret_functions.h:1195
#23 0x00000000004302c2 in o_catch (pc=0xcf3893 "'4�2c&2")
at interpret.c:1818
#24 0x0000000000427fd3 in eval_instruction (pc=0xcf388e "jZ2") at
interpret_functions.h:1195
#25 0x00000000004302c2 in o_catch (pc=0xcf40b1 "+\b72-") at
interpret.c:1818
#26 0x0000000000427fd3 in eval_instruction (pc=0xcf40ac "j46") at
interpret_functions.h:1195
#27 0x00000000004302c2 in o_catch (pc=0xc55773 "&5(4") at interpret.c:1818
#28 0x0000000000427fd3 in eval_instruction (pc=0xc5576e "j$") at
interpret_functions.h:1195
#29 0x000000000042faf8 in mega_apply (type=<value optimized out>,
args=<value optimized out>,
    arg1=<value optimized out>, arg2=<value optimized out>) at interpret.c:1774
#30 0x00002aaaacaddf73 in try_feed (finished=1) at html.c:2706
#31 0x00002aaaacadeada in html_finish (args=<value optimized out>) at
html.c:3909
#32 0x0000000000424e63 in low_mega_apply (type=APPLY_LOW, args=<value
optimized out>,
    arg1=<value optimized out>, arg2=<value optimized out>) at apply_low.h:195
#33 0x000000000042a1db in eval_instruction (pc=0xd1eec0
"�~�y�|!E�#|2120")
    at interpret_functions.h:1874
#34 0x00000000004302c2 in o_catch (pc=0xcf3893 "'4�2c&2")
at interpret.c:1818
#35 0x0000000000427fd3 in eval_instruction (pc=0xcf388e "jZ2") at
interpret_functions.h:1195
#36 0x00000000004302c2 in o_catch (pc=0xcf40b1 "+\b72-") at
interpret.c:1818
#37 0x0000000000427fd3 in eval_instruction (pc=0xcf40ac "j46") at
interpret_functions.h:1195
#38 0x00000000004302c2 in o_catch (pc=0xb50eee "\"6d5") at
interpret.c:1818
#39 0x0000000000427fd3 in eval_instruction (pc=0xb50ee9 "j(2") at
interpret_functions.h:1195
#40 0x00000000004302c2 in o_catch (pc=0xb50891 "'") at interpret.c:1818
#41 0x0000000000427fd3 in eval_instruction (pc=0xb5088c "jP") at
interpret_functions.h:1195
#42 0x00000000004302c2 in o_catch (pc=0xd458c2 "!1�") at interpret.c:1818
#43 0x0000000000427fd3 in eval_instruction (pc=0xd458bd "j\r") at
interpret_functions.h:1195
#44 0x00000000004302c2 in o_catch (pc=0xd6c10e "1!2�1D1[")
at interpret.c:1818
#45 0x0000000000427fd3 in eval_instruction (pc=0xd6c109 "j�") at
interpret_functions.h:1195
#46 0x000000000042faf8 in mega_apply (type=<value optimized out>,
args=<value optimized out>,
    arg1=<value optimized out>, arg2=<value optimized out>) at interpret.c:1774
#47 0x00000000004c2191 in new_thread_func (data=0xe78b30) at threads.c:811
#48 0x00002aaaab052bdc in pthread_start_thread () from /lib64/libpthread.so.0
#49 0x00002aaaab052c93 in pthread_start_thread_event () from
/lib64/libpthread.so.0
#50 0x00002aaaab3d5642 in clone () from /lib64/libc.so.6
#51 0x0000000000000000 in ?? ()
#52 0x0000000000000000 in ?? ()
#53 0x0000000000000000 in ?? ()
#54 0x0000000000000000 in ?? ()
#55 0x0000000000000000 in ?? ()
#56 0x0000000000000000 in ?? ()
#57 0x0000000000000000 in ?? ()
#58 0x0000000000000000 in ?? ()
#59 0x0000000000000000 in ?? ()
#60 0x0000000000000000 in ?? ()
#61 0x0000000000000000 in ?? ()
#62 0x0000000000000000 in ?? ()
#63 0x0000000000000000 in ?? ()
[infinite backtrace, that just continues]


Hope this makes sense.