[Bug 1064286] New: libxml2-python segfault when building gtk-doc with itstool 2.0.4
http://bugzilla.suse.com/show_bug.cgi?id=1064286 Bug ID: 1064286 Summary: libxml2-python segfault when building gtk-doc with itstool 2.0.4 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: pmonrealgonzalez@suse.com Reporter: jmatejek@suse.com QA Contact: qa-bugs@suse.de CC: dimstar@opensuse.org, zaitor@opensuse.org Found By: --- Blocker: --- gtk-doc uses itstool to do, uh, something, during its build process this works fine with itstool 2.0.2 but leads to random errors or segfaults with itstool 2.0.4 (sometimes it's not a segfault but an error "NoneType is not subscribable" somewhere in the libxml2 python library. The fact that a segfault *can* happen is a problem though.) itstool is a pure Python script and the segfault traces to libxml2-python module, function libxml_type. This is happening both in Python 2 and 3 and can be reproduced in Leap 42.3 see my toy project: https://build.opensuse.org/package/show/home:matejcik:py3port/gtk-doc the command that segfaults is: itstool -m fr/fr.mo C/index.docbook C/fdl-appendix.xml I'm now working on tracking down which exact change in itstool triggers the segfault. I can confirm that purely by switching the "itstool" script the segfault either triggers or not. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1064286
http://bugzilla.suse.com/show_bug.cgi?id=1064286#c1
--- Comment #1 from Jan Matejek
http://bugzilla.suse.com/show_bug.cgi?id=1064286
http://bugzilla.suse.com/show_bug.cgi?id=1064286#c2
Jan Matejek
http://bugzilla.suse.com/show_bug.cgi?id=1064286
http://bugzilla.suse.com/show_bug.cgi?id=1064286#c3
--- Comment #3 from Bernhard Wiedemann
http://bugzilla.suse.com/show_bug.cgi?id=1064286
http://bugzilla.suse.com/show_bug.cgi?id=1064286#c4
Matthias Gerstner
http://bugzilla.suse.com/show_bug.cgi?id=1064286
http://bugzilla.suse.com/show_bug.cgi?id=1064286#c5
Petr Gajdos
http://bugzilla.suse.com/show_bug.cgi?id=1064286
Petr Gajdos
http://bugzilla.suse.com/show_bug.cgi?id=1064286
http://bugzilla.suse.com/show_bug.cgi?id=1064286#c6
--- Comment #6 from Petr Gajdos
For 15/libxml2, I get the segfault:
$ python repro.py <?xml version="1.0"?> <doc><foo/></doc>
Segmentation fault (core dumped) $
And also for 12sp2/libxml2. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1064286
http://bugzilla.suse.com/show_bug.cgi?id=1064286#c7
--- Comment #7 from Petr Gajdos
http://bugzilla.suse.com/show_bug.cgi?id=1064286
http://bugzilla.suse.com/show_bug.cgi?id=1064286#c8
--- Comment #8 from Petr Gajdos
http://bugzilla.suse.com/show_bug.cgi?id=1064286
http://bugzilla.suse.com/show_bug.cgi?id=1064286#c9
--- Comment #9 from Petr Gajdos
http://bugzilla.suse.com/show_bug.cgi?id=1064286
http://bugzilla.suse.com/show_bug.cgi?id=1064286#c10
--- Comment #10 from Petr Gajdos
http://bugzilla.suse.com/show_bug.cgi?id=1064286
http://bugzilla.suse.com/show_bug.cgi?id=1064286#c14
--- Comment #14 from Petr Gajdos
participants (1)
-
bugzilla_noreply@novell.com