Hello Nicolas,
NC> Yes, that would be help. Google for gdb+tutorial to find detailed
NC> explanations about gdb usage. In order to compile neko+mod_neko in debug
NC> mode you need to add -g in Makefile (CFLAGS) and neko/tools/install.neko
Hmm run into a pretty weird problem:
[EMAIL PROTECTED] ~]# /etc/init.d/httpd start
Starting httpd: /bin/bash: line 1: 2009 Segmentation fault /usr/sbin/httpd
[FAILED]
BUT
[EMAIL PROTECTED] ~]# bash /etc/init.d/httpd start
Starting httpd: [ OK ]
and moreover
/usr/sbin/httpd -k start
is ok as well..
Any ideas where to look? Zero understanding how do I catch this
segfault using gdb as it happens in a process spawned from a process
spawned from a bash script :( I tried
gdb bash
and then
run -c "/etc/init.d/httpd start"
but failed because of several levels of fork.. Tried 'set
follow-fork-mode child' but didn't help either - it just waits for
input after dumping the error message, so I guess it doesn't follow
fork all the time or whatever.
The amazing thing is that Fedora Core 7 behaves absolutely identically
(running both as vmware machines). And I have a production server
running on FC6, with the same apache 2.2.4 as on FC7... Really weird.
--
Best regards,
Michael mailto:[EMAIL PROTECTED]
--
Neko : One VM to run them all
(http://nekovm.org)