Re: Fix for segfault in RubyChildInitHandler

Shugo Maeda <[email protected]> Sat, 27 May 2006 12:13:43 +0900
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Hi,

Michael Granger wrote:
> The most recent mod_ruby (rev 125) segfaults when a RubyChildInitHandler
> is configured. Here is a minimal httpd.conf testcase that can be run
> from the working directory:
(snip)
> The attached patch works around these two situations by adding guard
> conditionals around code that uses dconf, but I'm not sure if it's the
> best way to do this.

Thanks for your excellent patch.
It seems to work fine, so I commited it to SVN.

I'll release mod_ruby-1.2.6 next week end.

Thanks,
Shugo