"Nico Seessle" <[EMAIL PROTECTED]> wrote:

> At first let me warn you. Normally I'm really bad at C programming.
> 
> I had some problems building and running mod_webapp (from CVS) with Apache
> 1.3 on my Debian box.
> 
> Getting a Segmentation Fault on every access to something mounted with
> mod_webapp.
> 
> Finally I came up with the attached patch and now it seems to work for me.
> 
> In a call to apr_psprintf the first argument was an request_req which should
> be a wa_request (I think).
> 
> Sorry, I don't know if there are any testcases and how to run them to come
> up with something better than "it seems to work for me".
> 
> Nico

Me DUMB DUMB idiot ! :) :) :) It's true, the request_rec pool is not an APR
pool, but an Apache 1.3 pool! :) Instead of allocating ram from the private
Request pool, though, I'm actually changing the function to use the apache
1.3 equivalent...

Thanks... That was a good one...

    Pier

--
[Perl] combines all the worst aspects of C and Lisp:  a billion of different
sublanguages in  one monolithic executable.  It combines the power of C with
the readability of PostScript. [Jamie Zawinski - DNA Lounge - San Francisco]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to