fatal error using mm .S macro to double-space (.S 12 24)

Bug #398650 reported by jimav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
groff (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: groff

Increasing the vertical spacing (e.g. for double-spaced text) using the -mm .S macro causes an internal error if there is too much text in a paragraph. For example, .S 12 24 should format text in 12-point font with 24 point vertical baseline separation. It works unless a paragraph is too big.

Attached is a demo file. To see the problem:

  groff -mm -Tps (attached file) >/dev/null
  fatal error: input stack limit exceeded (probable infinite loop)

Using groff in Ubuntu 8.10
groff --version
GNU groff version 1.18.1

Revision history for this message
jimav (james-avera) wrote :

Attaching demo file (use: groff -mm -Tps demofile.tr >/dev/null)

description: updated
Revision history for this message
Colin Watson (cjwatson) wrote :

I've confirmed this to be fixed in groff 1.20, which I hope to upload to Debian unstable and thence to Ubuntu karmic over the next couple of weeks.

Revision history for this message
Colin Watson (cjwatson) wrote :

I uploaded groff 1.20.1 to Debian unstable yesterday, and just synced it into Karmic.

Changed in groff (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.