GNOME Bugzilla – Bug 789813
itstool segfaults with libxml2-2.9.6 python binding
Last modified: 2017-11-17 10:34:42 UTC
building gtk-doc fails with a segfault in itstool. The segfault seems to happen in the libxml2 python binding. This happens on Alpine Linux (which uses musl libc) x86_64, armhf, aarch64, ppc64le, s390x, (and I assume it also happens with x86, but I have not tested) It was first detected with python2 but problem still remained after using python3. Backtrace with debugging symbols: Core was generated by `/usr/bin/python3 -s /usr/bin/itstool -m ../fr/fr.mo ..//C/index.docbook ..//C/f'. Program terminated with signal SIGSEGV, Segmentation fault.
+ Trace 238135
It would be helpful if someone could dig deeper into this issue. Where does the crash happen in the Python code? Can you provide a minimized test case?
I was not able to create a minimalized testcase. The issue win gtk-doc could be avoided by running `autoreconf -vif` before building. But the problem appeared again while building gnumeric. It seems to be a bug in itstool though: https://github.com/itstool/itstool/issues/17 The patch provided there solved it, so I am closing this issue. Thanks!