Beau E. Cox wrote:
On Monday 23 February 2004 09:47 am, Stas Bekman wrote:

Beau E. Cox wrote:

Nice work, Beau! You may want to put your patches somewhere online and post
the URL here/modperl list so if someone with 5.8.2 can't migrate to 5.8.3
they can use your patch.


OK, I'll put the patches online, but as I mentioned earlier on this list,
the DBI patch presents a whole new interface to DBDs; anyone wishing
to use it will have to update any DBDs they use also. (I have patched
only DBD-mysql and DBD-Pg.) As Tim mentioned, the 'real' implementation
of PERL_NO_GET_CONTEXT will have to wait for Tim's v2 DBI.

As for perl 5.8.2 - it still does'nt work: I patched DBI/DBD and EVERY
XS I use in my Apache2/mp2 server, and the "Attempt to free
unreferenced scalar..." messages still appear. For example, in DBI
running under 5.8.2, the error is triggered at:
[...]
Using DBI->Trace, the errors start appearing just after DBI does
a DBI 'clone'; I really don't understand this fully, but it seems
it happens just after Apache2 switches threads after a Max...(?)

That could be the issue with CLONE. Check this one out: http://apache.org/~stas/Example-CLONE-0.02.tar.gz

If you are still having problems, I'll take a look at it later on. So keep your builds around and problems documented, so that we can try to reproduce them later.

FWIW, current mp2 cvs running against threaded Apache has
"Attempt to free unreferenced scalar..." messages when running ithreads test. I'll look at them soonish.


__________________________________________________________________
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

Reply via email to