ID: 40153 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: GD related Operating System: Linux 2.6.19 PHP Version: 5.2.0 -Assigned To: +Assigned To: pajoye New Comment:
It is not a php bug. See http://bugs.libgd.org/4 Previous Comments: ------------------------------------------------------------------------ [2007-01-17 12:53:02] [EMAIL PROTECTED] Description: ------------ Segfault occurs when using imagefill() with external GD library. Extract from `php -i` Configure Command => './configure' ... '--with-gd=/usr' ... GD Support => enabled GD Version => 2.0 or higher Installed GD version: gd-2.0.33 (Gentoo) Reproduce code: --------------- <?php $image = imagecreatetruecolor( 400, 200 ); $bgColor = imagecolorallocatealpha( $image, 255, 255, 255, 127 ); imagefill( $image, 1, 1, $bgColor ); ?> Expected result: ---------------- Image filled with transparent white Actual result: -------------- Segfault (gdb) run bug_9870_2.php Starting program: /usr/bin/php bug_9870_2.php [Thread debugging using libthread_db enabled] [New Thread -1220794704 (LWP 4989)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1220794704 (LWP 4989)] 0xb7d46dd2 in gdImageSetPixel () from /usr/lib/libgd.so.2 (gdb) bt #0 0xb7d46dd2 in gdImageSetPixel () from /usr/lib/libgd.so.2 #1 0x00000000 in ?? () ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40153&edit=1