[Klone-users] Illegal instruction in request_cb_close_socket()

Mickael Auger mickael.auger at gmail.com
Fri Feb 6 06:49:17 EST 2009


Hi,

I get an illegal instruction error that often appears but randomly and that
I will describe below.

I use KLone 2.1.1 with kloned.conf :
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
allow_root yes
log
{
    type                            syslog
    syslog.facility    LOG_LOCAL0
}
app_http
{
    model                        iterative
    type            http
    addr.type       IPv4
    addr.port       80
    dir_root        /www
    post_maxsize    400000
}
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

and this Makefile's option :
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KLONE_CONF_ARGS += --enable_hooks
KLONE_IMPORT_ARGS = -z
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

I wanted to test the load of KLone server.
I get an illegal instruction error when I often (every one second) call my
pages (.kl1), so when the server is "overloaded".
This error often appears after "request_cb_close_socket()" call.

I use "gdbserver" to debug my application (with "kloned" and "kloned.gdb"
binaries) and here this last trace.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
0x9c0048 in _start ()
(gdb) continue
Continuing.

Program received signal SIGILL, Illegal instruction.
0x98b230 in ?? ()
(gdb) bt
#0  0x98b230 in ?? ()
#1  0x9cbbfc in request_cb_close_socket ()
#2  0x9c6392 in timerm_sigalrm ()
#3  0x97fce8 in ?? ()
#4  0x9c1972 in server_loop ()
#5  0x9c27ba in app_run ()
#6  0x9c2a6e in main ()
#7  0x9ed546 in __uClibc_start_main ()
#8  0x9ed56a in __uClibc_main ()
#9  0x9c0054 in __exit ()
#10 0xa416ae in ?? ()
#11 0x48d7001c in ?? ()
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Apparently this error doesn't caused by my pages or my librairies, but I
don't find a solution.

Good luck :)
-- 
Mickaël AUGER
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://koanlogic.com/pipermail/klone-users/attachments/20090206/065c997a/attachment.htm


More information about the klone-users mailing list