ID: 25620 User updated by: xris at farcaster dot net Reported By: xris at farcaster dot net -Status: Feedback +Status: Open Bug Type: Gettext related Operating System: GNU/Linux 2.4.20 PHP Version: 4.3.3 New Comment:
I have been too fast declaring my last config was working, as i obviously missed a sideeffect from the DB usage. But I have spent the last two days extensively testing dozens of php builds and now i'm fairly sure i have gotten to a minimalistic config and _still_ being able to reproduce the error (really..): '--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' '--with-pcre-regex' '--without-pear' '--without-gd' '--disable-cgi' '--enable-cli' '--with-mysql=/usr' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--with-config-file-path=/etc/php/cli-php4' I'm still getting the same backtrace as in my [22 Sep 3:56pm EDT] post. Using gdb it's segfaulting regardless of having register_globals "on" or "off") - if i just use the CLI from the bash prompt directly, it segfaults only using a "register_globals=on" php.ini ..... ahrgl. BTW: i experimented with using the APD (debugger), strangely enough: when i load the apd extension, the error does not appear, the script works just fine... Maybe its some problem wit the memory management after all (since the error does not seem to be linked to specific extension .. but thats just speculation)? Previous Comments: ------------------------------------------------------------------------ [2003-09-23 12:56:45] [EMAIL PROTECTED] Yes, add them one by one..and remember to "rm -f config.cache" always before running configure! ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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