ID: 25620 Updated by: [EMAIL PROTECTED] Reported By: xris at farcaster dot net -Status: Open +Status: Feedback Bug Type: Gettext related Operating System: GNU/Linux 2.4.20 PHP Version: 4.3.3 New Comment:
Yes, add them one by one..and remember to "rm -f config.cache" always before running configure! Previous Comments: ------------------------------------------------------------------------ [2003-09-23 12:37:23] xris at farcaster dot net mod_php, 4.3.x-dev, configure: '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-all' '--without-pear' '--with-pcre-regex' '--without-readline' '--with-apxs2=/usr/sbin/apxs2' '--with-gd' '--with-mysql=/usr' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--with-gettext' '--with-zlib' '--with-zlib-dir=/usr/lib' '--with-config-file-path=/etc/php/apache2-php4' => NO segfault ---- CLI php, 4.3.x-dev, configure: '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-all' '--without-pear' '--with-pcre-regex' '--disable-cgi' '--enable-cli' '--with-gd' '--enable-gd-native-ttf' '--with-mysql=/usr' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--with-gettext' '--with-zlib' '--with-zlib-dir=/usr/lib' '--with-config-file-path=/etc/php/cli-php4' => NO segfault (Both setups tested with register_globals "On" and "Off") Shall i incrementally add the configure options missing from this build in comparison to the [22 Sep 8:42pm EDT] setup and test each one until it breaks? ------------------------------------------------------------------------ [2003-09-23 11:06:37] [EMAIL PROTECTED] *sigh* so try this: # rm config.cache # ./configure --disable-all (+ all NECESSARY options needed to run the test) # make clean && make ------------------------------------------------------------------------ [2003-09-23 10:33:06] xris at farcaster dot net Sorry, i made a crucial mistake testing the CLI versions - i used a different php.ini all the time (the difference being register_globals=Off" (RG) ). To clear up any possible confusion, here a summary of all previous tests (dates referring to my postings): --- snip --- [21 Sep 11:21am EDT], mod_php 4.3.3, RG=On -> segfault [22 Sep 3:56pm EDT], php CLI 4.3.3, RG=Off -> segfault [22 Sep 8:42pm EDT], php CLI 4.3.3 (different configure-opts), RG=Off -> segfault [23 Sep 9:15am EDT], php CLI 4.3.x-dev, RG=Off -> NO segfault --- snip --- Just tested the last configuration (php CLI 4.3.x-dev, options as in the [22 Sep 8:42pm EDT] post) with a php.ini with register_globals = On -> segfault again (same backtrace). A newly build mod_php using 4.3.x-dev and my initial configure options causes a segfault, too - regardless of RG=On or RG=off ... arhgl .. ------------------------------------------------------------------------ [2003-09-23 09:56:43] [EMAIL PROTECTED] Okay, so latest CVS snapshot works for you. Then try your original configure line with the latest CVS snapshot. (remember to 'rm config.cache' first!) Note that many of those options you have used don't even exist or they are of no use to you. Check 'configure --help' for more information. ------------------------------------------------------------------------ [2003-09-23 09:15:35] xris at farcaster dot net Using the stable (4.3.x-dev) snapshot from Sep 23, 2003 09:30 to build a CLI PHP (and the last set of configure options), the error ceased to appear. I'll try building mod_php again. Anyway, thanks so far helping me out- sorry for any possibly unneccessary work on your side. ------------------------------------------------------------------------ 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/25620 -- Edit this bug report at http://bugs.php.net/?id=25620&edit=1