<div dir="ltr">How do I enable debug mode?<br><br>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.<br><br>
This because I received this Segfault, and I have no idea where it crashes...<br><br><br>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.<br>
<br><br><br>Starting program: /home/steven/klone-2.1.1rc10/kloned -F -d<br>Failed to read a valid object file image from memory.<br> server_list app_http<br> allow_root yes<br> log<br> type syslog<br> syslog<br>
facility LOG_LOCAL0<br> app_http<br> type http<br> addr<br> type IPv4<br> port 8080<br> dir_root /www<br><br>Program received signal SIGSEGV, Segmentation fault.<br>0xb7bd5a2b in strtouq () from /lib/tls/i686/cmov/libc.so.6<br>
(gdb) bt<br>#0 0xb7bd5a2b in strtouq () from /lib/tls/i686/cmov/libc.so.6<br>#1 0xb7bd578f in __strtol_internal () from /lib/tls/i686/cmov/libc.so.6<br>#2 0x08060264 in exec_page (rq=0x807dd90, rs=0x807f630, ses=0x807f9c8) at /usr/include/stdlib.h:333<br>
#3 0x080516fb in supemb_serve ()<br>#4 0x080512db in broker_serve ()<br>#5 0x08050b66 in http_backend_serve ()<br>#6 0x0805bf5b in backend_serve ()<br>#7 0x0804d005 in server_dispatch ()<br>#8 0x0804db93 in server_loop ()<br>
#9 0x0804df39 in app_run ()<br>#10 0x0804e41b in main ()<br>(gdb) b<br><br></div>