|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-01-02 18:36 UTC] sniper@php.net
[2001-02-15 08:00 UTC] thies@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 05:00:01 2025 UTC |
Hi! I'm using PHP 4.0.4 on a SuSE Linux 7.0 (Kernel 2.2.16, Apache 1.3.12, expat 1.1 release 113, libxml2-2.2.3) I've confugired PHP with the options --with-pgsql=/usr --with-mysql=yes --with-xml --with-dom --with-sablot --with-java=/usr/lib/java --with-bz2 --with-zlib --with-ttf --with-ftp --with-config-file-path=/etc/httpd --with-apxs=/usr/sbin/apxs --with-exec-dir=/usr/lib/apache/bin --enable-versioning --enable-yp --enable-trans-sid --enable-inline-optimization --enable-track-vars --enable-magic-quotes --enable-safe-mode --enable-sysvsem --enable-sysvshm --enable-memory-limit i386-suse-linux-gnu --enable-debug. My php.ini is the php.ini-optimized with short-open-tags switched to Off. Using the xml_* functions, I get a segfault with the following output by gdb: Program recieved signal SIGSEV, Segmentation fault. 0x402d98bb in objects () at zend_execute_API.c:103 103 } The minimal script with wich I could reproduce the error is like the following: <?php function startElement() {} function endElement() {} $parser = xml_parser_create(); xml_set_element_handler( $parser, "startElement", "endElement" ); xml_parse( $parser, "<foo></foo>" ); ?> If I take away any of the three xml_*-functions, everything works (well, generating an error message, if i take away xml_parser_create). Good Luck!