Segmentation Fault on apache with imageCopy fonction

From: Date: Fri, 31 Aug 2001 14:01:38 +0000
Subject: Segmentation Fault on apache with imageCopy fonction
Groups: php.general 
Request: Send a blank email to php-general+get-65470@lists.php.net to get a copy of this message
This line in my code : imageCopy($im,$source,10,10,0,0,$this->width,$this->height); Give me a segmentation fault in apache : [Fri Aug 31 13:58:43 2001] [notice] child pid 4158 exit signal Segmentation fault (11) If I replace this fonction by imageCopyMerge($im,$source,10,10,0,0,$this->width,$this->height,100); (which, according the documentation, sould give the same result as imageCopy) I have no segmentation fault, but some images got a very bad aspect, like in 16 colors or so... My configuration : PHP 6.0.4 Configuration Commande : './configure' '--with-mysql' '--enable-ftp' '--enable-track-vars' '--with-gd' '--enable-native-tt' '--with-freetype-dir=/usr/local' '--with-jpeg-dir' '--with-png-dir' '--with-zlib-dir' '--with-apache=../apache_1.3.19' '--enable-track-vars' '--enable-sockets' '--enable-trans-sid' Thanks a lot. -- Matthieu Brunet - matthieu.brunet@reseau-photo.com Réseau-Photo S.A. - http://www.reseau-photo.com 15, rue du Général Campredon - 34000 Montpellier Tél. : 04 67 58 07 08 - Fax : 04 67 58 03 04 Icq : 119683958

« previous php.general (#65470) next »