bugGNU troff - Bugs: bug #24048, [mm] infinite loop with certain...

 
 

bug #24048: [mm] 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:  None
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.

 

Wed 14 Apr 2021 07:36:19 AM UTC, comment #2: 

[Mike Bianchi asked (http://lists.gnu.org/archive/html/groff/2021-02/msg00077.html) who maintains the mm macros, implying it's not him (although he didn't respond to a direct query about this (http://lists.gnu.org/archive/html/groff/2021-04/msg00019.html)).  Thus I'm unassigning this mm bug.]

Dave <barx>
Project Member
Fri 27 Nov 2020 09:23:05 PM UTC, comment #1: 

Subject: #24048

  The testfile produces expected output, without any warning.

Can anybody reproduce this "bug"?

  I know, wenn there is not enough space for a footer (for example short
page), the stack gets overfilled.

Bjarni Ingi Gislason <bjarniig>
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:
   
   
Comment:
   

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 bjarniig (Posted a comment)
  • -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 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-04 barx Carbon-CopyRemoved 93119 => -
    2021-06-04 barx Summarymm macros -- infinite loop with certain page lengths => [mm] infinite loop with certain page lengths
    2021-04-14 barx Carbon-CopyRemoved 93119 => -
    2021-04-14 barx Assigned tombianchi => None
    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.6