Ok I ran httpd with gdb to see what's going on, and I am getting this data:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
get_params () at cgi.c:445
445 const char *args = c->r->args;
(gdb) where
#0 get_params () at cgi.c:445
#1 0x005d0317 in neko_interp_loop (vm=0x2e3fdd0, m=0x7effc0, _acc=61511536,
_pc=0x3a81f2c) at vm/interp.c:800
Previous frame inner to this frame (gdb could not unwind past this frame)
This is a apache:
Marcus-Laptop:bin mb$ httpd -V
Server version: Apache/2.2.6 (Unix)
Server built: Nov 24 2007 20:45:38
Server's Module Magic Number: 20051115:5
Server loaded: APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Again, everything seems to be working fine, but as soon as I try to use the
neko.Web lib, it crashes...
Is this a bug or have I compiled something wrong? I cannot find
any more information on this subject.
Thanks,
Marcus
--
Neko : One VM to run them all
(http://nekovm.org)