ID:               25127
 Comment by:       mpaesold at gmx dot at
 Reported By:      henrik dot gebauer at web dot de
 Status:           Assigned
 Bug Type:         GD related
 Operating System: Mandrake 9.1
 PHP Version:      4.3.3RC5-dev, 5.0.0b2-dev
 Assigned To:      iliaa
 New Comment:

The same problem exists in PHP 4.3.2.
Regards, Michael


Previous Comments:
------------------------------------------------------------------------

[2003-08-19 07:06:58] [EMAIL PROTECTED]

[EMAIL PROTECTED] jani]$ php -dmemory_limit=9388608 -r
'imagecreatefromjpeg("p1010025.jpg");'

Fatal error: Allowed memory size of 9388608 bytes exhausted (tried to
allocate 7936 bytes) in Command line code on line 1
/usr/src/web/php/php4_3/main/streams.c(392) : Stream of type 'STDIO'
0x085CAF2C (path:p1010025.jpg) was not closed


------------------------------------------------------------------------

[2003-08-19 06:25:00] henrik dot gebauer at web dot de

My configure line:

'./configure' \
'--with-apxs2=/usr/local/apache2/bin/apxs' \
'--with-config-file-path=/etc' \
'--with-zlib' \
'--with-gd' \
'--with-mysql=/usr/src/mysql-4.0.14/include/' \
'--enable-sockets' \
'--enable-memory-limit' \
'--enable-trans-sid' \
'--with-jpeg-dir=/usr/src/jpeg-6b' \
'--with-png-dir=/usr/src/libpng'

The error does not occur with images with a smaller file size.

Try this picture to reproduce it:
http://www.henrikgebauer.de.vu/bilder/klassenfahrt_kanu2003/p1010025.jpg

------------------------------------------------------------------------

[2003-08-19 04:42:17] [EMAIL PROTECTED]

What was the configure line you used to configure PHP?
(config.nice)


------------------------------------------------------------------------

[2003-08-19 04:22:19] henrik dot gebauer at web dot de

I get the same error using the latest CVS version.

It seems to be luck if it works or not because after reloading the
script a few times it works.

------------------------------------------------------------------------

[2003-08-18 09:18:55] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/25127

-- 
Edit this bug report at http://bugs.php.net/?id=25127&edit=1

Reply via email to