Bug 141912 - Reproducible troff segfault
Summary: Reproducible troff segfault
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: groff
Version: 3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-12-05 23:04 UTC by Ville Skyttä
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-01-12 14:58:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
gdb backtrace (2.30 KB, text/plain)
2004-12-05 23:04 UTC, Ville Skyttä
no flags Details

Description Ville Skyttä 2004-12-05 23:04:59 UTC
Running the following command (don't ask ;) makes troff reproducibly segfault:

  zcat -f /usr/share/man/man4/ptmx.4.gz | nroff --legacy ISO-8859-1

This is groff-1.18.1.1-3 on FC3.  Backtrace attached.

Comment 1 Ville Skyttä 2004-12-05 23:04:59 UTC
Created attachment 107918 [details]
gdb backtrace

Comment 2 Miroslav Lichvar 2006-01-10 13:09:20 UTC
Manpage ptmx.4 includes man4/pts.4 therefore the command has to be run in
/usr/share/man directory. Otherwise groff will not find the file and abort.

Comment 3 Ville Skyttä 2006-01-10 15:40:10 UTC
Aborting or erroring out is ok, crashing is not.  But anyway, it no longer
crashes in FC-4 and Rawhide so I don't care that much (nor can I any more test
with FC-3).

Comment 4 Ville Skyttä 2006-01-10 19:05:44 UTC
Oops, it seems to crash in FC-4 (1.18.1.1-5) and Rawhide (1.18.1.1-7) still
after all -> reopening.

A graceful exit with an error message would be much more acceptable than a
silent core dump.

Comment 5 Miroslav Lichvar 2006-01-12 14:58:58 UTC
Ok, there was a problem with assertion failure. Fixed in rawhide.


Note You need to log in before you can comment on or make changes to this bug.