httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "César Leonardo Blum Silveira" <cesa...@gmail.com>
Subject Re: Surviving restarts
Date Wed, 06 Jun 2007 17:31:29 GMT
The thing is, I don't know if it's a segfault, but I'm almost sure it
is. When I do a restart, Apache just dies.

I don't know how to use gdb with Apache. How can I know which process
is going to serve my next request??

Thank you,

-- 
César L. B. Silveira
http://cesarbs.wordpress.com/


On 6/6/07, Tyler MacDonald <tyler@yi.org> wrote:
> César Leonardo Blum Silveira <cesarbs@gmail.com> wrote:
> > I know this is kind of a generic question, but what could make my
> > module fail (segfault or something of the like) on a restart?
>
>   I know this is kind of a generic answer, but if you're getting a segfault,
> that means your module is trying to access memory it is not supposed to
> access, which means you may have a garbled pointer or something.
>
>   :-)
>
>   Seriously, it could be *anything*. Attach gdb to a process you expect to
> fail, and check the backtrace when you do a restart.
>
>   Cheers,
>     Tyler
>

Mime
View raw message