Re: An update resulting php execuable core dump

From: Date: Mon, 01 Apr 2013 19:24:40 +0000
Subject: Re: An update resulting php execuable core dump
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969384317@lists.php.net to get a copy of this message
Thanks, Hannes. I've fixed the problem by ommiting an extra '</note>'. It's interesting that parser didn't just show the labels not match instead of a segment fault. Dallas On 2013/4/1 4:12, Hannes Magnusson wrote:
In certain cases with a very broken xml (or entities) libxml2 will segfault configure.php has a --disable-segfault-error switch which attempts to avoid it. There is also a --enable-xml-details which should give you more info on why the build fails. -Hannes On Mon, Apr 1, 2013 at 12:49 AM, Dallas Thunder <dallas@php.net <mailto:dallas@php.net>> wrote:
    Hi, I just updated an file in Chinese language tree, and strangely
    when I use configure to validate it, it causing php execuable core
    dump.
    The updated file is "phpdoc/zh/trunk/language/variables.xml" with
    revision 329973.
    Honestly, I can't think of anything within xml file would causing
    php itself fail.   Error message in FreeBSD is:
    ...
    Generating /root/phpdoc/doc-base/scripts/file-entities.php... done
    Iterating over extension specific version files... OK
    Saving it... OK
    Creating file /root/phpdoc/doc-base/entities/file-entities.ent... done
    Checking for if we should generate a simplified file... no
    Checking whether to save an invalid .manual.xml... no
    Loading and parsing manual.xml... Segmentation fault (core dumped)
    root@DOCBSD:/root/phpdoc #
    And it's the same result withing Windows 7.  At same point
    (Loading and parsing manual.xml...) Windows will prompt for CLI
    stopped working.
    Any idea about this?  Thanks.


« previous php.doc (#969384317) next »