Bug 223515

Summary: troff crashes with Signal 6 (core dumped)
Product: Base System Reporter: Wolfram Schneider <wosch>
Component: gnuAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: emaste
Priority: ---    
Version: 11.1-STABLE   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 223516    

Description Wolfram Schneider freebsd_committer freebsd_triage 2017-11-08 10:13:35 UTC
I tried to find out how much time we need to render a manual page, and looked for the largest manpage. I found in the ports collection the salt(7) manpage from the saltstack (https://saltstack.com/)

When I run the man command I noticed that groff crashes with signal 6.

How to repeat:

$ fetch https://www.freebsd.org/~wosch/tmp/salt.7.gz
$ zcat salt.7.gz | groff >/dev/null; echo $?

<standard input>:860: warning: can't find character with input code 153
<standard input>:3504: warning [p 22, 5.8i]: can't break line
[....]
troff: Failed assertion at line 510, file `/usr/src/gnu/usr.bin/groff/src/roff/troff/../../../../../../contrib/groff/src/roff/troff/input.cpp'.
groff: troff: Signal 6 (core dumped)
grops:<standard input>:1960401:warning: no final `x stop' command
2


$ groff --version
GNU groff version 1.19.2
Comment 1 Ed Maste freebsd_committer freebsd_triage 2017-11-20 15:09:53 UTC
Which FreeBSD version? The 'Version' field is set to CURRENT, but troff is not included in the base system in CURRENT.
Comment 2 Wolfram Schneider freebsd_committer freebsd_triage 2017-11-20 15:41:43 UTC
(In reply to Ed Maste from comment #1)

FreeBSD 12.0-CURRENT from Nov 17 2017 (upgraded from FreeBSD 11.1-STABLE a week ago).

I see the problem also on FreeBSD 11.1-STABLE
Comment 3 Ed Maste freebsd_committer freebsd_triage 2017-11-20 15:48:50 UTC
Recent 12-CURRENT does not provide /usr/bin/troff - perhaps you did not run make delete-old after the upgrade from 11?
Comment 4 Wolfram Schneider freebsd_committer freebsd_triage 2017-11-20 18:29:42 UTC
(In reply to Ed Maste from comment #3)

You are right - I forgot to run 'make delete-old'. I assumed this is part of 'make installworld'. My bad, sorry.
Comment 5 Ed Maste freebsd_committer freebsd_triage 2020-10-27 20:25:12 UTC
troff has been removed from contemporary FreeBSD releases, and will not be updated in older releases. Please install groff from ports/packages.