Am Sonntag, den 04.02.2007, 03:16 +0100 schrieb Daniel Leidert:
I wanted to create a gettext portable object template (.pot) file from Norman Walsh's "DocBook: The Definitive Guide". Therefor I used: xml2po -e -o book.pot book.xml in http://docbook.svn.sourceforge.net/viewvc/docbook/trunk/defguide/en/ and received a segmentation fault. So I started gdb and got the attached backtrace. Can any of you say, where the segmentation fault is produced - in xml2po or libxml2/python-libxml2 - so I can file a bug-report? xmllint validates the XML source if you fix the <tag> element in refpages/elements/equation/refentry.xml (should be an sgmltag element).
I forget. See the attached Makefile (and replace the defguide/en/Makefile with the attached one) to create bookinfo.xml with xsltproc and you don't need any further stuff from upstreams SVN to create all files to reproduce the bug. Just run make bookinfo.xml xml2po -e -o book.pot book.xml to try to reproduce the bug. Regards, Daniel
Attachment:
Makefile
Description: Text Data