2006/1/5, Jonas Walldén <<jonasw[at]roxen.com>>:
> <<gnudiff[at]gmail.com>> wrote:
>
> I don't think it's particularly valuable to track down which RXML
> operation that causes the problem because in the end that will not be
> of great importance when fixing the error as long as you have a
> reproducible test case. Instead it would be more helpful to use tools
> such as gdb or valgrind. Any chance you can attach a gdb to the
> running server before it dies and then report a stack backtrace?
>
Sure I can.
Here is a bt from a running server:
#0 0x00002aaaab3ccd49 in poll () from /lib64/libc.so.6
#1 0x0000000000455e9e in low_backend_once (me=0x8241a0,
timeout=0x7fffff942fb0) at backend.cmod:1120
#2 0x0000000000456450 in f_Backend_cq__backtick_28_29
(args=-1420541328) at backend.cmod:1473
#3 0x0000000000424e63 in low_mega_apply (type=APPLY_SVALUE,
args=<value optimized out>, arg1=<value optimized out>,
arg2=<value optimized out>) at apply_low.h:195
#4 0x000000000042b4a5 in eval_instruction (pc=0x89527c
"�.W����I%N�M'%�4j����P0L�.P0L�.W����11!]'")
at interpret_functions.h:1878
#5 0x00000000004302c2 in o_catch (pc=0x895274
"P0L�.P0L�.W����I%N�M'%�4j����P0L�.P0L�.W����11!]'")
at interpret.c:1818
#6 0x0000000000427fd3 in eval_instruction (pc=0x89526f "j3") at
interpret_functions.h:1195
#7 0x000000000042faf8 in mega_apply (type=<value optimized out>,
args=<value optimized out>, arg1=<value optimized out>,
arg2=<value optimized out>) at interpret.c:1774
#8 0x0000000000489956 in main (argc=15, argv=0x7fffff9435e8) at main.c:756
If you would like me to do something via gdb at the point when server
crashes, please lt me know -- this is my first try at gdb whatsoever,
have no idea what to do there more.
> Which platform/OS are you running? Did you compile Pike yourself, and
> if so using what compiler? Can you reproduce the error with a Roxen
> binary downloaded from download.roxen.com/4.0?
Compiled from source using only --with-pgsql as the configure switch.
SuSE Linux 10.0: Linux ghost 2.6.14.2dec26 #3 SMP Tue Dec 27 17:59:57
EET 2005 x86_64 x86_64 x86_64 GNU/Linux
MySQL-server-4.1.15-0.glibc23 RPM
glibc-2.3.5-40 RPM
PostgreSQL 8.1
Attached is the Debug summary from Admin server,
Emils
|