[EMAIL PROTECTED] wrote:
Author: stas
Date: Sun Dec  5 10:55:24 2004
New Revision: 109900

URL: http://svn.apache.org/viewcvs?view=rev&rev=109900
Log:
create a new subpool modperl_server_user_pool (from
modperl_server_pool), which is handed to users via
Apache::ServerUtil::base_server_pool(). This ensures that
user-registered cleanups are run *before* perl's internals cleanups
are run. (previously there was a problem with non-threaded perls which
were segfaulting on user cleanups, since perl was already gone by that
time).

Geoff, this is why you couldn't reproduce the segfault you had earlier. You were now testing with ithreads-enabled perl, which has a different shutdown path in mod_perl, compared to its "disabled" brother, with which I guess you were testing back when you wrote your original patch. So the cleanup handler I've added was blowing up with non-ithreads perl. Now it should be OK.


--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

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



Reply via email to