serious segfault problem

From: Date: Sun, 31 Dec 2000 04:51:56 +0000
Subject: serious segfault problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-42657@lists.php.net to get a copy of this message
hi all, I've been fighting with a _totally_ mysterious apache segfault problem for two days now... [Sat Dec 30 16:40:35 2000] [notice] child pid 23068 exit signal Segmentation fault (11) I just found it: xml_parser_create() is causing the segfault. I have tried this with probably 30 configs of PHP compiled into apache, with 4.0.4 and 4.0.3pl1 ... apache is 1.3.14 I m using either libxml 2.2.8 or 2.2.10 (I have tried both) # cd /usr/ # find . -name *libxml* ./lib/libxml.so.1 ./lib/libxml.so.1.8.6 ./lib/libxml.a ./lib/libxml.la ./lib/libxml.so ./lib/libxml.so.2 ./lib/libxml.so.2.2.8 ./lib/libxmlparse.so.0 ./lib/libxmlparse.so.0.1.0 ./lib/libxmltok.so.0 ./lib/libxmltok.so.0.1.0 ./lib/libxmlparse.a ./lib/libxmlparse.la ./lib/libxmlparse.so ./lib/libxmltok.a ./lib/libxmltok.la ./lib/libxmltok.so ./local/lib/libxml.so.2 ./local/lib/libxml.so ./local/lib/libxml.la ./local/lib/libxml.a ./local/include/libxml are there any known problems with these versions? should I be passing configure anything specific? the manual says xml support is in by default... but I thought php used a lib? agh! any help _much_ appreciated. please respond to me directly, as news.php.net appears to be broken, and I do not subscribe to this list. ---------------------------------- compile info: redhat 6.2 cd apache_1.3.14 ./configure --prefix=/usr/local/apache cd ../php-4.0.4/ ./configure \ --prefix=/usr/local/php4.module \ --with-config-file-path=/usr/local/apache/conf \ --with-apache=../apache_1.3.14 \ --enable-ftp \ --with-zlib=/usr/ \ --enable-bcmath \ --enable-calendar \ --with-jpeg-dir=/usr/lib \ --with-tiff-dir=/usr/lib \ --with-openssl \ --with-mhash=/usr/local/mhash \ --with-mcrypt=/usr/bin/mcrypt \ --enable-debug=no \ --with-mysql=/usr/local \ make make install cd ../apache_1.3.14 ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a make make install ---------------------------------- -- Alex Black, Head Monkey enigma@turingstudio.com The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522

« previous php.dev (#42657) next »