Public bug reported:
Processing good (valid) files works fine. With a very small bad sample file, you can see below that the sgml2html utility (which is calling into /usr/share/perl5/LinuxDocTools.pm) is exiting zero even though it probably should simply die. $ sgml2html --split=0 linuxdoc-bad.sgml Processing file linuxdoc-bad.sgml nsgmls:<OSFD>0:13:4:E: end tag for "ARTICLE" omitted, but its declaration does not permit this nsgmls:<OSFD>0:2:0: start tag was here $ echo $? 0 -Martin ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: linuxdoc-tools 0.9.69-2 ProcVersionSignature: Ubuntu 3.13.0-79.123-generic 3.13.11-ckt33 Uname: Linux 3.13.0-79-generic x86_64 NonfreeKernelModules: ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs veth zram iptable_filter ip_tables x_tables bridge stp llc kvm_intel kvm crct10dif_pclmul crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper lp serio_raw cryptd i2c_piix4 parport mac_hid zfs zunicode zcommon znvpair spl zavl btrfs xor raid6_pq libcrc32c floppy psmouse pata_acpi ApportVersion: 2.14.1-0ubuntu3.19 Architecture: amd64 Date: Wed Mar 2 20:01:56 2016 ProcEnviron: TERM=xterm SHELL=/bin/bash PATH=(custom, no user) LANG=en_GB.UTF-8 XDG_RUNTIME_DIR=<set> SourcePackage: linuxdoc-tools UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: linuxdoc-tools (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug trusty -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linuxdoc-tools in Ubuntu. https://bugs.launchpad.net/bugs/1552398 Title: sgml2html exits 0, even though LinuxDocTools.pm encounters errors Status in linuxdoc-tools package in Ubuntu: New Bug description: Processing good (valid) files works fine. With a very small bad sample file, you can see below that the sgml2html utility (which is calling into /usr/share/perl5/LinuxDocTools.pm) is exiting zero even though it probably should simply die. $ sgml2html --split=0 linuxdoc-bad.sgml Processing file linuxdoc-bad.sgml nsgmls:<OSFD>0:13:4:E: end tag for "ARTICLE" omitted, but its declaration does not permit this nsgmls:<OSFD>0:2:0: start tag was here $ echo $? 0 -Martin ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: linuxdoc-tools 0.9.69-2 ProcVersionSignature: Ubuntu 3.13.0-79.123-generic 3.13.11-ckt33 Uname: Linux 3.13.0-79-generic x86_64 NonfreeKernelModules: ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs veth zram iptable_filter ip_tables x_tables bridge stp llc kvm_intel kvm crct10dif_pclmul crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper lp serio_raw cryptd i2c_piix4 parport mac_hid zfs zunicode zcommon znvpair spl zavl btrfs xor raid6_pq libcrc32c floppy psmouse pata_acpi ApportVersion: 2.14.1-0ubuntu3.19 Architecture: amd64 Date: Wed Mar 2 20:01:56 2016 ProcEnviron: TERM=xterm SHELL=/bin/bash PATH=(custom, no user) LANG=en_GB.UTF-8 XDG_RUNTIME_DIR=<set> SourcePackage: linuxdoc-tools UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linuxdoc-tools/+bug/1552398/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp