<div dir="ltr"><br>=====================================================================<br>Program received signal SIGSEGV, Segmentation fault.<br>0x0810f7c7 in ?? ()<br>(gdb) bt<br>#0 0x0810f7c7 in ?? ()<br>#1 0x0807c15e in io_close (io=0x8115600) at io.c:447<br>
#2 0x0806ef94 in request_cb_close_socket (al=0x810fc50, arg=0x8115600) at request.c:1545<br>#3 0x0805d1d8 in timerm_sigalrm (sigalrm=14) at timer.c:100<br>#4 <signal handler called><br>#5 0xb7efd410 in ?? ()<br>
#6 0xbfcb5138 in ?? ()<br>#7 0xbfcb5028 in ?? ()<br>#8 0xbfcb50a8 in ?? ()<br>#9 0xb7bd40fd in select () from /lib/tls/i686/cmov/libc.so.6<br>#10 0x0804fb0c in server_loop (s=0x810fa18) at server.c:953<br>#11 0x08052084 in app_run () at main.c:157<br>
#12 0x08052558 in main (argc=3, argv=0xbfcb5244) at entry.c:408<br>=====================================================================<br><br>This occurs when I'm running an AJAX-called javascript function with a timeout of 1500ms.<br>
It's not always at the same call this crashes... But generally it's like after half a minute or so.<br><br>=====================================================================<br>(gdb) up<br>#1 0x0807c15e in io_close (io=0x8115600) at io.c:447<br>
447 dbg_err_if(io->close(io));<br>(gdb) up<br>#2 0x0806ef94 in request_cb_close_socket (al=0x810fc50, arg=0x8115600) at request.c:1545<br>1545 io_close(io);<br>(gdb) up<br>#3 0x0805d1d8 in timerm_sigalrm (sigalrm=14) at timer.c:100<br>
100 al->cb(al, al->arg);<br>(gdb) down<br>#2 0x0806ef94 in request_cb_close_socket (al=0x810fc50, arg=0x8115600) at request.c:1545<br>1545 io_close(io);<br>(gdb) display io<br>1: io = (io_t *) 0x8115600<br>
(gdb) display io->name<br>2: io->name = 0x8113fc0 "\230?\021\b"<br>(gdb) display io->eof<br>3: io->eof = 1222693008<br>(gdb) display io->type<br>4: io->type = 134672157<br>=====================================================================<br>
<br>I think the there is somewhere not done a correct cleanup of the structure which the " timerm_sigalrm " is trying to destroy...<br><br>Could you check this out?<br><br><br>Thanks!<br></div>