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 <[EMAIL PROTECTED]> wrote:
César Leonardo Blum Silveira <[EMAIL PROTECTED]> 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