Bug #1413: gd segfaults when php3 compiled as shared mod

From: Date: Sat, 15 May 1999 13:28:32 +0000
Subject: Bug #1413: gd segfaults when php3 compiled as shared mod
Groups: php.dev 
Request: Send a blank email to php-dev+get-5636@lists.php.net to get a copy of this message
From: rns@radar.no Operating system: Linux, RedHat 6.0 kernel 2.2.5 PHP version: 3.0.7 PHP Bug Type: Reproduceable crash Bug description: gd segfaults when php3 compiled as shared mod when I compile php3 as a shared module to apache, it segfaults apache without dumping a core. First I thought it may have to be because it was a conflikt with snmp and/or sybase, but when I tried to compile it without anything else than gd, it still crashes. ./configure --with-shared-apache=../apache-1.3.6 --with-gd <?php $img = imagecreate(100, 100); header("Content-Type: image/gif"); imagegif($img); ?> From /var/log/httpf/error_log [Fri May 14 18:26:27 1999] [notice] child pid 11496 exit signal Segmentation fault (11)  I've added CoreDumpDirectory "/home/httpd/core" to the config files and made that dir owned and writeable to nobody (uid running httpd), but it didn't dump a core. I then compiled php3 into apache, and that worked ok. -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#5636) next »