#19704 [Com]: ImageTrueColorToPalette() kills PHP

From: Date: Fri, 04 Oct 2002 22:45:25 +0000
Subject: #19704 [Com]: ImageTrueColorToPalette() kills PHP
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21524@lists.php.net to get a copy of this message
ID: 19704 Comment by: ndsantos@nuxworks.net Reported By: sprice@wisc.edu Status: Open Bug Type: GD related Operating System: Darwin 6 (Mac OS 10.2) PHP Version: 4CVS-2002-10-02 New Comment: I encounter the same error in Linux but not in Windows. The problem occurs when the script is run through a browser but works fine when run from the command line. Previous Comments: ------------------------------------------------------------------------ [2002-10-02 13:11:01] sprice@wisc.edu I have tried libpng v1.0.14 using both "--with-gd=/usr/local" and "--with-gd=php" and I recompiled GD with the old version of libpng. I wish you guys would included the version of png in phpinfo() so I know that I grabbed the correct version of libpng. Anyway, the error remains the same as ever. ------------------------------------------------------------------------ [2002-10-02 12:26:49] rasmus@php.net Just to give us another datapoint it would be interesting to see if the crash is the same with libpng-1.0.x ------------------------------------------------------------------------ [2002-10-02 12:15:19] sprice@wisc.edu Yep, I haven't changed versions of libpng. Everything has been compiled against v1.2.4. Should I downgrade to v1.0.x? ------------------------------------------------------------------------ [2002-10-02 11:11:40] rasmus@php.net But was 4.2.3 compiled against the same version of libpng? There are known issues with libpng 1.2.x. The 1.0.x versions don't have these problems. ------------------------------------------------------------------------ [2002-10-02 11:00:56] sprice@wisc.edu I am getting lines in the error log now (i wasn't in PHP v4.2.3) It seems to be stuck in some sort of loop: [Wed Oct 2 10:53:02 2002] [notice] child pid 25019 exit signal Bus error (10) [Wed Oct 2 10:53:03 2002] [notice] child pid 25018 exit signal Bus error (10) ------------------------------------------------------------------------ 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/19704 -- Edit this bug report at http://bugs.php.net/?id=19704&edit=1

« previous php.bugs (#21524) next »