ID: 25337 Updated by: [EMAIL PROTECTED] Reported By: spunge at spunge dot org -Status: Open +Status: Feedback -Bug Type: Reproducible crash +Bug Type: DOM XML related Operating System: Linux PHP Version: 4.3.3 New Comment:
I wanted to know libxml version and is it linked with libpthread? Is httpd linked with libpthread? Previous Comments: ------------------------------------------------------------------------ [2003-09-01 07:29:55] spunge at spunge dot org Here are the steps used to reproduce this "bug" on my machine... ./configure --prefix=/usr/local/apache/www --with-apxs=/usr/local/apache/www/bin/apxs --with-calendar --with-gdbm --with-ndbm --enable-ftp --enable-gd-native-ttf --with-gd=/usr/local --with-ttf=/usr/local --with-mysql=/usr/local/mysql --with-mysql-sock=/var/log/mysql/mysql.sock --with-imap=/usr/local/lib --with-curl=/usr/local --with-mcrypt=/usr/local --enable-track-vars --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --enable-mailparse --enable-trans-sid --enable-exif --with-mhash --with-tiff-dir=/usr/local --with-zlib --with-flatfile --with-imap-ssl=/usr/local/ssl --with-openssl=/usr/local/ssl --with-ldap=/usr/local/openldap --with-readline --with-mm --with-pspell --enable-wddx --with-pear --with-xslt --with-xslt-sablot --with-expat-dir=/usr/local --with-iconv-dir=/usr/local --with-dom --enable-debug (no critical errors reported) make make install /usr/local/apache/www/bin/apachectl stop /usr/local/apache/www/bin/apachectl start End result: Apache doesn't start though it says it did. There are no errors in the error log. If I delete the error log, it does recreate it at zero length. If I remove --with-dom, and go through the steps, all works fine. I can also compile PHP statically in Apache with --with-dom and appears to work. This isn't the best solution though. an ldd on libphp4.so didn't show that it couldn't find any of the libraries. I already gave the backtrace in the initial posting. I am not sure what other information would be useful to you, or you are looking for. If you provide some hints, I can provide information. ------------------------------------------------------------------------ [2003-09-01 06:45:44] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. .. ------------------------------------------------------------------------ [2003-08-31 20:39:16] spunge at spunge dot org Description: ------------ When compliling PHP with dom support, Apache will not start, but also produces no errors (it creates a zero length error_log). Compiling PHP as a static module seems to work at this point though. Removing --with-dom seems to make this issue go away. Reproduce code: --------------- No PHP code needed Actual result: -------------- This GDB was configured as "i386-redhat-linux"... (gdb) run -X Starting program: /usr/local/apache/test/bin/./httpd -X Program received signal SIGSEGV, Segmentation fault. __pthread_mutex_lock (mutex=0x80de40c) at mutex.c:91 mutex.c:91: No such file or directory. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25337&edit=1
