[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xsltproc: bus error on some architectures



Hi!

We are constantly running into this issue on sparc64 as well.

I have already updated the kernel to 4.3.3 from unstable as well as
tried the patch that Peter De Wachter suggested for docbook-xsl as
well as changing the permissions for /dev/shm, to no avail.

xsltproc still randomly segfaults:

root@test-adrian1:~# chroot /srv/sid-sparc64-sbuild/
root@test-adrian1:/# cd debian/libxslt/systemd-228/man/
root@test-adrian1:/debian/libxslt/systemd-228/man# /usr/bin/xsltproc -o
man/halt.8 --nonet --xinclude --stringparam man.output.quietly 1
--stringparam funcsynopsis.style ansi --stringparam
man.authors.section.enabled 0 --stringparam
man.copyright.section.enabled 0 --stringparam systemd.version 228 --path
'./man:../man' ../man/custom-man.xsl ../man/halt.xml
Segmentation fault
root@test-adrian1:/debian/libxslt/systemd-228/man# /usr/bin/xsltproc -o
man/halt.8 --nonet --xinclude --stringparam man.output.quietly 1
--stringparam funcsynopsis.style ansi --stringparam
man.authors.section.enabled 0 --stringparam
man.copyright.section.enabled 0 --stringparam systemd.version 228 --path
'./man:../man' ../man/custom-man.xsl ../man/halt.xml  <== here it worked
root@test-adrian1:/debian/libxslt/systemd-228/man# /usr/bin/xsltproc -o
man/halt.8 --nonet --xinclude --stringparam man.output.quietly 1
--stringparam funcsynopsis.style ansi --stringparam
man.authors.section.enabled 0 --stringparam
man.copyright.section.enabled 0 --stringparam systemd.version 228 --path
'./man:../man' ../man/custom-man.xsl ../man/halt.xml
Segmentation fault
root@test-adrian1:/debian/libxslt/systemd-228/man# /usr/bin/xsltproc -o
man/halt.8 --nonet --xinclude --stringparam man.output.quietly 1
--stringparam funcsynopsis.style ansi --stringparam
man.authors.section.enabled 0 --stringparam
man.copyright.section.enabled 0 --stringparam systemd.version 228 --path
'./man:../man' ../man/custom-man.xsl ../man/halt.xml
Segmentation fault
root@test-adrian1:/debian/libxslt/systemd-228/man#

Frankly, I am very much convinced that xsltproc is broken. It's
apparently happening quite often that xsltproc segfaults as the
below reports on different architectures and operating systems
show:

> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471029
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203250
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195044
> https://forums.gentoo.org/viewtopic-t-248184-start-0.html
> https://trac.macports.org/ticket/24060

I find it rather frustrating that libxslt upstream does not consider
this a bug and hence closed the related bug report:

> https://bugzilla.gnome.org/show_bug.cgi?id=736077

I'm currently out of ideas and I would appreciate it a lot if anyone
could suggest something else to try.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: