jean-frederic clere wrote:
>
> GOMEZ Henri wrote:
> >
> > >Just realised that the core I have was compiled without -g option. VERY
> > >useful. I also wanted to replicate the core dump with the
> > >httpd that was
> > >compiled with -g, but that didn't work.
>
> What did not work? -It does not core any more?
The core dump was the result of some other Apache run (probably when I
attempted to use kgcc rather then gcc to compile), not problems with
mod_jk. So, that wouldn't help much anyway.
It doesn't core dump. There is just segmentation fault of the child
processes after second and thereafter graceful restart.
>
> > > Now I'm starting to think that
> > >the core file I had was a result of a different crash (I was
> > >experimenting with a lot of stuff and Apache would sometimes spit the
> > >dummy).
> > >
> > >So, how do I get to you something you can use? I've seen the Apache
> > >debugging document (http://dev.apache.org/debugging.html) and forceful
> > >core dumping techniques, but I couldn't find truss for Linux.
> > >Or maybe I
> > >should use something else?
>
> The strace you have used is "truss for Linux"
Thanks. I saw the undocumented -S option for truss explained on Apache
debugging page, which 'freezes' the core so it can be forcefully dumped.
That's what I was after.
> > >
> > >What are your suggestions?
>
> Try to get a core (otherwise it is hard to help).
I'm sending an e-mail over to new-httpd. Maybe they can help with this.
> Remove dynamic linked modules until it stops coring.
This is statically linked Apache.
>
> BTW I do not have the httpd.conf file, could send it to me?
I've attached it. Don't worry about the SSL section as it's wrong (ie.
one configuration for all virtual hosts). I'm not using SSL to segfault
the server (at least it works fine with the TC 3.3 B1 mod_jk :-)
Bojan
apache-conf.tar.bz2