Re: [mp2] Free to Wrong Pool

2003-02-16 Thread Stas Bekman
Lee Goddard wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: MD5

Sometimes I get:

[Sat Feb 15 19:14:25 2003] -e: Free to wrong pool 464d8e0 not 466f8c0 at C:/PhotoWebServer/Perl/site/lib//Commerce/PhotoWebServer/Core.pm line 4404, DATA line 290.
[Sat Feb 15 19:14:27 2003] [notice] Parent: child process exited with status 3221225477 -- Restarting.
GNU tar version 1.11.2

And sometimes I get:

[Sat Feb 15 19:20:10 2003] [notice] Parent: child process exited with status 3221225477 -- Restarting.

The exit status value is consistent.

This is whilst using

 Apache server version Apache/2.0.43 (Win32)
 mod_perl/1.99_08-dev
 Perl/v5.8.0

After each 'restart' there is less and less memory available.

The problem is caused by a fault in the ImageMagick module,
which crashes when trying to read a specific image.

Is this a mod_perl issue? If so, is this a known issue?
If not, is there something I can do ... ?


The error message is coming from ImageMagick, so something goes wrong there. 
The Apache child process doesn't segfault, though. May be this has anything to 
do with signals in perl 5.8.0 being postponed and not delivered immediately? 
If so you could give it a try with -DPERL_OLD_SIGNALS (passed to ./configure 
followed by 'make  make install'). If you can reduce the code that 
reproduces the problem, you may want to try with mod_cgi, just to know whether 
the problem is caused specifically in the mod_perl 2.0 env.



__
Stas BekmanJAm_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



[mp2] Free to Wrong Pool

2003-02-15 Thread Lee Goddard
-BEGIN PGP SIGNED MESSAGE-
Hash: MD5

Sometimes I get:

[Sat Feb 15 19:14:25 2003] -e: Free to wrong pool 464d8e0 not 466f8c0 at 
C:/PhotoWebServer/Perl/site/lib//Commerce/PhotoWebServer/Core.pm line 4404, DATA 
line 290.
[Sat Feb 15 19:14:27 2003] [notice] Parent: child process exited with status 
3221225477 -- Restarting.
GNU tar version 1.11.2

And sometimes I get:

[Sat Feb 15 19:20:10 2003] [notice] Parent: child process exited with status 
3221225477 -- Restarting.

The exit status value is consistent.

This is whilst using

 Apache server version Apache/2.0.43 (Win32)
 mod_perl/1.99_08-dev
 Perl/v5.8.0

After each 'restart' there is less and less memory available.

The problem is caused by a fault in the ImageMagick module,
which crashes when trying to read a specific image.

Is this a mod_perl issue? If so, is this a known issue?
If not, is there something I can do ... ?

Thanks in anticipation,
lee

Lee Goddard  mailto:[EMAIL PROTECTED]
Perl / Java / XML / XSLT  http://www.LeeGoddard.com

$$=qw$808273788400074285838400657879847269820080698276007265677569820727$;
$$=~s$(\d\d)$\$_.=chr(\$1+32)$ge;eval;

No one should drive a hard bargain with an artist. -Ludwig Van Beethoven (1770-1827)

-BEGIN PGP SIGNATURE-
Version: 2.6

iQCVAwUAPk6HkKdrfekeF/QBAQGusAP9FJ7f6MzP7sDlb2O6PxS76VU3l17GuQO7
ZUjY4/j6bRh/hn/HB7c7h9ytCCm8kj9O35muOpufVFujczA5DREUujJvyV/r5tdN
8gTjiTFQHMV7snp06+xW+Esr/UhO3dKeAS2vfgmMyHzEmK3UPl02DCEb05UljohX
bgL7PpVpmeY=
=gUEk
-END PGP SIGNATURE-