groff
[Top][All Lists]
Advanced

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

[groff] address@hidden: Bug#892423: man -Tutf8 /usr/share/man/ja/man5/ap


From: Colin Watson
Subject: [groff] address@hidden: Bug#892423: man -Tutf8 /usr/share/man/ja/man5/apt_preferences.5.gz (and several others) enter infinite loop]
Date: Sun, 1 Apr 2018 11:19:42 +0100
User-agent: NeoMutt/20170113 (1.7.2)

Hi,

The attached input file, when processed as follows:

  LC_ALL=ja_JP.UTF-8 groff -mtty-char -mandoc -Tutf8 <apt_preferences-reduced.5

... causes groff to enter an infinite loop printing newlines.  Any of
(1) removing LC_ALL=ja_JP.UTF-8, (2) not having the ja_JP.UTF-8 locale
present, (3) removing ".mso ja.tmac", or (4) removing ".nh" makes this
symptom go away, so I think it must have something to do with the CJK
line-breaking rules, but I really don't know those well enough to debug
this much further.

I've reproduced this with groff 1.22.4.rc2.

The input file (apt_preferences-reduced.5) is a reduced version of the
original as processed by man-db; I've attached the original
(apt_preferences.5) for reference.

Thanks,

-- 
Colin Watson                                       address@hidden
--- Begin Message --- Subject: Bug#892423: man -Tutf8 /usr/share/man/ja/man5/apt_preferences.5.gz (and several others) enter infinite loop Date: Thu, 08 Mar 2018 19:35:49 -0500
Package: man-db
Version: 2.8.2-1
Severity: normal

Running:

man -Tutf8 /usr/share/man/ja/man5/apt_preferences.5.gz

starts outputting the manpage, but then at some point switches over to
outputting an (so far as I can tell) infinite loop of newlines:

       sources.list(5) ファイルに列挙された場所から取得した Packages ファイル
       や Release ファイルはすべて、/var/lib/apt/lists ディレクトリ
       や、apt.conf ファイルの Dir::State::Lists 変数で指定した場所に取得され
       ます。例え




Attaching the requested debug output is... difficult, but attached are
the first 100,000 lines:

   man --debug -Tutf8 /usr/share/man/ja/man5/apt_preferences.5.gz |& head -n 
100000 | gzip -v9 > /tmp/man-debug.txt.gz

I've also attached the apt_preferences page, just in case you have a
different version of apt; but note that other pages do this too (e.g.,
Japanese dos2unix page).

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'testing'), (200, 'unstable'), (150, 'stable'), (100, 'experimental'), (1, 
'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en_GB (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages man-db depends on:
ii  bsdmainutils           11.1.2
ii  debconf [debconf-2.0]  1.5.66
ii  dpkg                   1.19.0.5
ii  groff-base             1.22.3-10
ii  libc6                  2.27-1
ii  libgdbm5               1.14.1-4
ii  libpipeline1           1.5.0-1
ii  libseccomp2            2.3.1-2.1
ii  zlib1g                 1:1.2.8.dfsg-5

man-db recommends no packages.

Versions of packages man-db suggests:
pn  apparmor                            <none>
ii  chromium [www-browser]              62.0.3202.89-1
ii  elinks [www-browser]                0.12~pre6-13
ii  firefox [www-browser]               58.0.1-1+b1
ii  google-chrome-stable [www-browser]  65.0.3325.146-1
ii  groff                               1.22.3-10
ii  konqueror [www-browser]             4:17.08.3-2
ii  less                                487-0.1
ii  links2 [www-browser]                2.14-5
ii  lynx [www-browser]                  2.8.9dev16-3
ii  w3m [www-browser]                   0.5.3-36

-- debconf information:
  man-db/auto-update: true
* man-db/install-setuid: false

Attachment: man-debug.txt.gz
Description: application/gzip

Attachment: apt_preferences.5.gz
Description: application/gzip


--- End Message ---

Attachment: apt_preferences-reduced.5
Description: Text document

Attachment: apt_preferences.5
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]