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 <dal...@php.net
<mailto:dal...@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.