https://issues.apache.org/bugzilla/show_bug.cgi?id=48440

--- Comment #6 from aurabhi <aura...@yahoo.com> 2009-12-28 08:14:54 UTC ---
(In reply to comment #5)
> (In reply to comment #4)
> > I could get the stack using dbx of a particular thread which crashes. I see
> > that apr_file_read throws the SEGV. 
> > 
> > The problem is the content from the file are read and request gets 
> > processed. I
> > get response back on my client but I see this SEGV error always. At times I 
> > see
> > that request times out. 
> > 
> > I tried using std file io instead of apr_file io. In which case I see an 
> > error
> > in __fseek(); 
> > 
> > 
> > (dbx) cont
> > t...@65 (l...@65) signal SEGV (no mapping at the fault address) in 
> > apr_file_read at
> > 0xff212fcc
> > 0xff212fcc: apr_file_read+0x0020:       ld       [%i0 + 32], %g3
> > (dbx) where
> > current thread: t...@65
> > =>[1] apr_file_read(0xffffffff, 0x1c7c38, 0xfad7bb0c, 0x0, 0xbc6, 0x0), at
> > 0xff212fcc
> >   [2] apr_file_read_full(0xffffffff, 0x1c7c38, 0xbc6, 0xfad7bb88, 
> > 0xfad7bb0c,
> > 0x0), at 0xff211be4
> >   [3] my_input_filter(0x1ba8b0, 0x1bbc98, 0xbc7, 0x0, 0x1c7c38, 0x0), at
> > 0xfeee46bc
> 
> This looks like a bug in my_input_filter in a way that it calls
> apr_file_read_full with invalid parameters. my_input_filter is no code from
> httpd. Please remove this filter and let us know if the segmentation fault 
> goes
> away. If not please provide a stack trace without my_input_filter.

my_input_filter is a filter that I have added which modifies the BB. I can not
take this filter away as this my application requires this to talk to a
weblogic apache plugin. 

If the seg fault was where I do apr_file_read_full then request flow should
fail at that point but whats happening is the requests complete and the
response is sent back to the client. I can see all the debug messages that I
have included in the debug log. I have handlers for each of the phases
including the log_transaction phase and I see all the handlers being invoked
and processed successfully. 

Has this got something to do with
https://issues.apache.org/bugzilla/show_bug.cgi?id=48029?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to