ID: 42597 Updated by: [EMAIL PROTECTED] Reported By: hostmaster at taunusstein dot net -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Debian 4.0r0 PHP Version: 5.2.4 New Comment:
Please provide the backtrace of the hang you get now (with the minimum configure line). Previous Comments: ------------------------------------------------------------------------ [2007-09-14 05:14:01] hostmaster at taunusstein dot net Hello, this is minimum configuration that causes that bug: #!/bin/sh ./configure --prefix=/opt/apache-2.2.6 \ --with-apxs2=/opt/apache-2.2.6/apache/bin/apxs \ --enable-mbstring=all \ --with-zlib \ --with-mysql=/opt/mysql \ --with-mysql-sock=/tmp/mysqld.sock \ --with-mysqli=/opt/mysql/bin/mysql_config \ Without --with-mysqli=/opt/mysql/bin/mysql_config make install does not hang. Obviously there is a problem with mysqli. ------------------------------------------------------------------------ [2007-09-11 12:29:59] [EMAIL PROTECTED] Try cut down your configure line to bare minimum which is needed to reproduce this. And this is totally unnecessary: --with-tsrm-pthreads Also, after you run configure, with that configure line you should see several warnings about unknown configure options. ------------------------------------------------------------------------ [2007-09-11 12:27:57] [EMAIL PROTECTED] [EDIT: removed unrelated information] # gdb ./sapi/cli/php GNU gdb 6.4.90-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". warning: not using untrusted file "/usr/src/php-5.2.4/.gdbinit" (gdb) r -n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= -derror_reporting=E_ALL -dmemory_limit=-1 -ddetect_unicode=0 pear/install-pear-nozlib.phar -d /opt/apache-2.2.6-test/lib/php -b /opt/apache-2.2.6-test/bin Starting program: /usr/src/php-5.2.4/sapi/cli/php -n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= -derror_reporting=E_ALL -dmemory_limit=-1 -ddetect_unicode=0 pear/install-pear-nozlib.phar -d /opt/apache-2.2.6-test/lib/php -b /opt/apache-2.2.6-test/bin [Thread debugging using libthread_db enabled] [New Thread 47016115236496 (LWP 8206)] [PEAR] Console_Getopt: upgrade to a newer version (1.2.3 is not newer than 1.2.3) [PEAR] Archive_Tar: upgrade to a newer version (1.3.2 is not newer than 1.3.2) [PEAR] Structures_Graph: upgrade to a newer version (1.0.2 is not newer than 1.0.2) [PEAR] PEAR: upgrade to a newer version (1.6.1 is not newer than 1.6.1) Program received signal SIGINT, Interrupt. [Switching to Thread 47016115236496 (LWP 8206)] 0x00002ac2c9effeeb in __lll_mutex_lock_wait () from /lib/libpthread.so.0 (gdb) bt #0 0x00002ac2c9effeeb in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #1 0x0000000000000016 in ?? () #2 0x0000000000000011 in ?? () #3 0x00002ac2c9efd98c in pthread_cond_destroy@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #4 0x0000000000000000 in ?? () (gdb) Problem does not occur, when I used a minimum PHP configuration like ./configure --prefix=/opt/apache-2.2.6-test \ --with-apxs2=/opt/apache-2.2.6-test/apache/bin/apxs \ ------------------------------------------------------------------------ [2007-09-10 10:18:55] [EMAIL PROTECTED] I can't reproduce it on 64bit Linux. Try to get the place where it hangs: # gdb ./sapi/cli/php gdb> r -n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= -derror_reporting=E_ALL -dmemory_limit=-1 -ddetect_unicode=0 pear/install-pear-nozlib.phar -d /opt/apache-2.2.6/lib/php -b /opt/apache-2.2.6/bin Press Ctrl-C when it hangs and 'bt' to get the backtrace. Are ALL these configure options required to replicate it? Would be good to squeeze this list to the minimum. ------------------------------------------------------------------------ [2007-09-10 09:49:52] [EMAIL PROTECTED] Possibly related to bug #42491 ------------------------------------------------------------------------ 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/42597 -- Edit this bug report at http://bugs.php.net/?id=42597&edit=1