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:  Macro - mm Severity:  3 - Normal
Item Group:  Crash/Not responding Status:  Confirmed
Privacy:  Public Assigned to:  Michael H Bianchi <mbianchi>
Open/Closed:  Open Planned 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 Files:

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
  • -email is unavailable- added by schwarze (Updated the item)
  • -email is unavailable- added by wl (Submitted the item)
  • -email is unavailable- added by wl

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

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-02-16 schwarze CategoryNone => Macro - mm
        Item GroupNone => Crash/Not responding
        StatusNone => Confirmed
    2008-08-12 wl Attached File- => Added test-bp-inf-loop.mm, #16284
        Carbon-Copy- => Added john rupley <rupley@u.arizona.edu>

    Back to the top

    Powered by Savane 3.5