ID: 19704 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Closed Bug Type: GD related Operating System: Darwin 6 (Mac OS 10.2) PHP Version: 4CVS-2002-10-02 New Comment:
I grabbed the cvs snapshot, tested it nice and good, and it seems to work great. You did good. I did uncover another bug in ImageTrueColorToPalette(), but it seems like a different bug so I am going to report it as such. It is bug #19781. ( http://bugs.php.net/bug.php?id=19781 ) <girlfriend> *hugs* for all! Thanks for all your great help you gave my boyfriend! You guys are great! </girlfriend> Previous Comments: ------------------------------------------------------------------------ [2002-10-06 02:29:12] [EMAIL PROTECTED] I think I fixed this in CVS - please test. It doesn't crash on my box so I can't really test it. It was one of these super-intelligent fixes. I couldn't figure out what the code that was crashing was doing, so I just removed it. You can see the patch here: http://news.php.net/article.php?group=php.cvs&article=14592 ------------------------------------------------------------------------ [2002-10-05 21:27:08] [EMAIL PROTECTED] I tried both libpng v1.0.15 and v1.2.5. Same problem. ------------------------------------------------------------------------ [2002-10-05 10:03:16] [EMAIL PROTECTED] Tried it, still doesn't work. I wish you guys would make the libpng version show up in phpinfo() so I could be sure I compiled everything right. If everything worked as advertised, I compiled libpng v1.2.5rc3. I configured with "--with-gd=/usr/local" and "--with-gd=php" ------------------------------------------------------------------------ [2002-10-05 01:45:28] [EMAIL PROTECTED] Can you try the latest libpng (libpng 1.2.5). The problem seems to be particular to Mac OS, since *something* causes the filePutbuf() function inside the gd library to get an incorect size of data to write, resulting in a bug you are seeing. For the record, I am unable to replicate this bug on Linux. ------------------------------------------------------------------------ [2002-10-04 17:45:25] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ 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
