[Klone-users] Enable-debug
Steven Van Ingelgem
steven at vaningelgem.be
Fri Sep 12 10:41:59 EDT 2008
How do I enable debug mode?
I saw that you have something like "./configure --enable_debug
--enable_libu_debug", but this doesn't seem to work with the configure
script in the root.
This because I received this Segfault, and I have no idea where it
crashes...
So I would like to enable debug mode (gcc -g & no stripping), and try to
figure out if it's me or klone which makes it crash.
Starting program: /home/steven/klone-2.1.1rc10/kloned -F -d
Failed to read a valid object file image from memory.
server_list app_http
allow_root yes
log
type syslog
syslog
facility LOG_LOCAL0
app_http
type http
addr
type IPv4
port 8080
dir_root /www
Program received signal SIGSEGV, Segmentation fault.
0xb7bd5a2b in strtouq () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0 0xb7bd5a2b in strtouq () from /lib/tls/i686/cmov/libc.so.6
#1 0xb7bd578f in __strtol_internal () from /lib/tls/i686/cmov/libc.so.6
#2 0x08060264 in exec_page (rq=0x807dd90, rs=0x807f630, ses=0x807f9c8) at
/usr/include/stdlib.h:333
#3 0x080516fb in supemb_serve ()
#4 0x080512db in broker_serve ()
#5 0x08050b66 in http_backend_serve ()
#6 0x0805bf5b in backend_serve ()
#7 0x0804d005 in server_dispatch ()
#8 0x0804db93 in server_loop ()
#9 0x0804df39 in app_run ()
#10 0x0804e41b in main ()
(gdb) b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://koanlogic.com/pipermail/klone-users/attachments/20080912/5bf5d192/attachment.htm
More information about the klone-users
mailing list