bugGforth - Bugs: bug #55628, dictionary overflow if too many...

 
 

bug #55628: dictionary overflow if too many locals

Submitter:  paul r <phr>
Submitted:  Fri 01 Feb 2019 11:43:34 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  anton
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 02 Feb 2019 09:07:47 AM UTC, comment #2: 

Thanks, sounds good,

paul r <phr>
Sat 02 Feb 2019 09:02:49 AM UTC, comment #1: 

Thank you.  This is fixed (unlimited locals) in the current snapshot (<https://www.complang.tuwien.ac.at/forth/gforth/Snapshots/current/>).  I don't think we will fix it in a 0.7 release, though.

Anton Ertl <anton>
Group administrator
Fri 01 Feb 2019 11:43:34 PM UTC, original submission:  

The definition

: foo { a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 }
      { b1 b2 b3 b4 b5  b6 b7 b8 b9 b10  }
      { c1 c2 c3 c4 c5  c6 c7 c8 c9 c10  } ;


produces the error message

"[filename].fs:3: Dictionary overflow
      { c1 c2 >>>c3<<< c4 c5  c6 c7 c8 c9 c10  } ;"

and then leaves the interpreter in a wedged state where hasn't seen the closing brace but doesn't let you add one.

Yes I really did want to write a definition with that many locals ;-).

It would be nice if the limit could be eliminated or increased by a lot, and also if the interpreter recovered properly when the error is triggered.

paul r <phr>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by paysan (Updated the item)
  • -email is unavailable- added by anton (Posted a comment)
  • -email is unavailable- added by phr (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-08 paysan Open/ClosedOpen Closed
    2019-02-02 anton StatusNone Fixed
        Assigned toNone anton

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code