bugPSPP - Bugs: bug #38782, Infinite loop and temp space...


bug #38782: Infinite loop and temp space exhaustion processing empty input program.

Submitted by:  John Darrington <jmd>
Submitted on:  Sat Apr 20 09:42:37 2013  
Category: Syntax ParserSeverity: 5 - Average
Status: FixedAssigned to: Ben Pfaff <blp>
Open/Closed: ClosedRelease: Before 0.8.0
Effort: 0.00

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Tue May 28 04:29:18 2013, comment #5:

Fixed with commit c91f650b47f3 (INPUT PROGRAM: Avoid infinite loop for trivially empty input program.).

Ben Pfaff <blp>
Project AdministratorIn charge of this item.
Tue May 28 03:58:42 2013, comment #4:

SPSS documentation says that an input program must contain at least one DATA LIST or END FILE. The example syntax does not. PSPP does not currently enforce this rule, but it would avoid an infinite loop if it did. I'll work on that.

Ben Pfaff <blp>
Project AdministratorIn charge of this item.
Mon May 6 04:49:45 2013, comment #3:

I think you're right. This one is so trivially an infinite loop that we should detect it.

Ben Pfaff <blp>
Project AdministratorIn charge of this item.
Sat Apr 27 09:21:07 2013, comment #2:

It is true that this is not a sensible input program. Is it not possible to at least emit a warning in such cases?

John Darrington <jmd>
Project Administrator
Sat Apr 20 17:15:43 2013, comment #1:

It sems to me that the bug is in the input program. The input program is an infinite loop.

Ben Pfaff <blp>
Project AdministratorIn charge of this item.
Sat Apr 20 09:42:37 2013, original submission:

Using the following syntax:

input program.
string firstname lastname (a24) / address (a80).
end input program.

All the temp space is very quickly used up. And the program enters an infinite loop.

John Darrington <jmd>
Project Administrator


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by blp (Posted a comment)
  • -unavailable- added by jmd (Submitted the item)

    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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue May 28 04:29:18 2013blpStatusIn Progress=>Fixed
    Tue May 28 03:58:42 2013blpStatusNone=>In Progress
      Assigned toNone=>blp
    Sat May 11 06:37:30 2013jmdReleaseNone=>Before 0.8.0

    Back to the top

    Powered by Savane 3.1-cleanup1