bugGNU troff - Bugs: bug #24048, mm macros -- infinite loop with...


bug #24048: mm macros -- infinite loop with certain page lengths

Submitted by:  Werner LEMBERG <wl>
Submitted on:  Tue 12 Aug 2008 05:00:45 PM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: Michael H Bianchi <mbianchi>
Open/Closed: OpenPlanned Release: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 12 Aug 2008 05:00:45 PM UTC, original submission:

.\" $Id: m.tmac,v 2.24 2004/03/10 06:11:26 wlemb Exp $

With mm default setup, get "input stack limit exceeded" upon page break for range of page lengths:
.pl 10.2i to .pl 10.6i

[.pl 10.5i is for executive paper, which I use].

If format same text without mm macros (straight troff), there is no problem.

The description of the VM command in the groff_mm man page suggests you have met this problem already -- shrinking of the page footer size gives "input stack limit exceeded" behavior for the default page length, .pl 11.0i.

The attached file shows the above behaviour when run through the troff formatter.

Werner LEMBERG <wl>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #16284:  test-bp-inf-loop.mm added by wl (1KiB - text/x-troff-mm)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by wl (Submitted the item)
  • -unavailable- added by wl

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 12 Aug 2008 05:00:45 PM UTCwlAttached File-=>Added test-bp-inf-loop.mm, #16284
      Carbon-Copy-=>Added john rupley

    Back to the top

    Powered by Savane 3.1-cleanup1