httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zero Altitude" <>
Subject Re: BUG: Problem with latest subversion libapreq2 on linux 64 bit amd (segfault accessing handle variable)
Date Thu, 08 May 2008 06:16:07 GMT
I apologize: can you clarify the watchpoint suggestion?  If you mean
"while running the program" as in, while apache is still running and
not crashed, this is virtually impossible -- as I said, the segfault
occurs only once in a few thousand uploads.  If you mean "while
running the program" as in, while running gdb on the core dump, then I
am not sure how to set a watchpoint in that context.  Do I just put a
breakpoint at the beginning of my function, set the watchpoint on
"handle", and then tell the program to run?  Can you 'watch' a
variable in the context of a core dump?  My apologies for the noobish
nature of the question -- I'm not GDB expert.

Thank you,


On Thu, May 8, 2008 at 2:01 AM, Bojan Smojver <> wrote:
> On Wed, 2008-05-07 at 11:20 -0400, Zero Altitude wrote:
>  > The segfault appears to be due to handle having an illegal-to-read
>  > memory address by the time its module member is referenced.  I do not
>  > appear to be doing anything untoward with respect to initializing
>  > apreq, and so my current, defeasible, assumption is that the bug is
>  > somewhere in the apreq library.
>  Try to set a watchpoint in GDB (while running the program) to see what
>  actually stomps over it.
>  --
>  Bojan

View raw message