ID: 8492
Updated by: thies
Old-Status: Feedback
Status: Closed
Bug Type: XML related
Assigned To: 

fixed in cvs

Previous Comments:

[2001-01-02 18:36:03] [EMAIL PROTECTED]
I can not reproduce this crash with the latest CVS.
Please try the latest CVS snapshot from 



[2000-12-30 12:52:26] [EMAIL PROTECTED]

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:


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! 


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to