Skip to content

Infinite loop in an error message from "Evaluate" #664

@magv

Description

@magv

If you'll run this program with a recent FORM master:

Evaluate 1;

... you will get this output:

FORM 5.0.0-beta.1 (Jun 17 2025, v5.0.0-beta.1-180-g6abc477-dirty)  Run: Tue Jun 17 20:06:13 2025
    Evaluate 1;
bug.frm Line 1 -->  should be a built in function that can be evaluated numeric
ally.
bug.frm Line 1 --> <FD><E1>q should be a built in function that can be evaluated nume
rically.
bug.frm Line 1 --> <E1>q should be a built in function that can be evaluated numer
ically.
bug.frm Line 1 --> q should be a built in function that can be evaluated numeri
cally.
bug.frm Line 1 -->  should be a built in function that can be evaluated numeric
ally.
bug.frm Line 1 -->  should be a built in function that can be evaluated numeric
ally.
bug.frm Line 1 --> pX^L<FF>6a should be a built in function that can be evaluated n
umerically.
[...]

Looks like an error report goes in a loop.

Found with the fuzzer (#663).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions