[Bug 2055402] Re: Though lintian call: error: troff: Segmentation fault

Alexandre Esse 2055402 at bugs.launchpad.net
Thu Feb 29 10:58:12 UTC 2024


** Description changed:

  Hello,
  
  I was trying to run lintian on some deb packages an run onto some errors
  messages from groff.
  
  Steps to reproduce:
  
  1. Setup a LXD container with mantic or Noble:
  
  lxc launch ubuntu-daily:noble #or lxc launch ubuntu:mantic
  
- 2. Install lintian
+ 2. After getting connected to the container: Install lintian on it
  
  apt install lintian
  
- 3. Run lintian on some package:
+ 3. Run lintian on some package inside the container:
  
  apt download tree && lintian tree_*.deb
  
  4. Enjoy the groff-message logs:
  
  W: tree: groff-message command exited with status 2: /usr/libexec/man-db/zsoelim | /usr/libexec/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE | preconv -e UTF-8 | groff -mandoc -Z -rLL=117n -rLT=117n -wmac -Tutf8 [usr/share/man/man1/tree.1.gz:2]
  W: tree: groff-message error: troff: Segmentation fault (core dumped) [usr/share/man/man1/tree.1.gz:1]
  
  * Container infos:
  
  lsb_release -rd
  
  No LSB modules are available.
  Description:    Ubuntu Noble Numbat (development branch)
  Release:        24.04
  
  * Packages infos:
  
  apt-cache policy groff
  groff:
    Installed: (none)
    Candidate: 1.23.0-3
    Version table:
       1.23.0-3 500
          500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
  
  apt-cache policy lintian
  lintian:
    Installed: 2.117.0ubuntu1
    Candidate: 2.117.0ubuntu1
    Version table:
   *** 2.117.0ubuntu1 500
          500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
          100 /var/lib/dpkg/status
  
  * Expected output (on Jammy): No segfault and no problem on the tested
  package with lintian (tree_2.1.1-2_amd64.deb)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to groff in Ubuntu.
https://bugs.launchpad.net/bugs/2055402

Title:
  Though lintian call: error: troff: Segmentation fault

Status in groff package in Ubuntu:
  Confirmed

Bug description:
  groff crash when redirecting output to a file

  % man --warnings -E UTF-8 -l -Tutf8 -Z /usr/share/man/man1/cat.1.gz >output
  troff:<standard input>:3: fatal error: unable to flush output file: Permission denied
  groff: error: troff: Segmentation fault (core dumped)
  man: command exited with status 2: /usr/libexec/man-db/zsoelim | /usr/libexec/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE | preconv -e UTF-8 | tbl | groff -mandoc -Z -rLL=78n -rLT=78n -wmac -Tutf8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/groff/+bug/2055402/+subscriptions




More information about the foundations-bugs mailing list