Bug #17584: segmentation fault with imagefill and tiles

From: Date: Tue, 04 Jun 2002 00:06:39 +0000
Subject: Bug #17584: segmentation fault with imagefill and tiles
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9400@lists.php.net to get a copy of this message
From: ryan@kaneda.net Operating system: FreeBSD 4.5-STABLE PHP version: 4.2.1 PHP Bug Type: *Graphics related Bug description: segmentation fault with imagefill and tiles <?php $image=imageCreate(200,200); $tile1=imageCreateFromPNG('./images/stars.png'); $tile2=imageCreateFromgif('./images/temperate_1.gif'); imageSetTile($image,$tile1); imageFilledRectangle($image,0,0,200,200,IMG_COLOR_TILED); $polygon=array(10,10,190,100,10,190,100,100,10,10); imageSetTile($image,$tile2); imageFilledPolygon($image,$polygon,5,IMG_COLOR_TILED); imagePNG($image); imageDestroy($image); ?> Every time i would do an imagefill with IMG_COLOR_TILED set as the property color, Apache error reporting has this to say: [Mon Jun 03 16:28:29 2002] [notice] child pid 10678 exit signal Segmentation fault (11) Here are my configure options: './configure' '--with-apxs2=/usr/local/sbin/apxs' '--with-tsrm-pth' '--with-config-file-path=/usr/local/etc' '--enable-versioning' '--with-regex=system' '--without-gd' '--without-mysql' '--with-gd=/usr/local' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-zlib' '--with-bz2=/usr' '--with-mysql=/usr/local' '--with-openssl=/usr' '--enable-sockets' '--enable-trans-sid' '--prefix=/usr/local' 'i386-portbld-freebsd4.5' or, just look here: http://azazel.kaneda.net/phpinfo.php I'd have to rebuild php to get the gdb backtrace, but I'll do it if required. -- Edit bug report at http://bugs.php.net/?id=17584&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17584&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17584&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17584&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17584&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17584&r=support Expected behavior: http://bugs.php.net/fix.php?id=17584&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17584&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17584&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17584&r=globals

« previous php.bugs (#9400) next »