bugPSPP - Bugs: bug #20285, SAVE following INPUT PROGRAM...

 
 

bug #20285: SAVE following INPUT PROGRAM crashes.

Submitted by:  John Darrington <jmd>
Submitted on:  Thu 28 Jun 2007 12:21:18 AM UTC  
 
Category: OtherSeverity: 7 - Major
Status: FixedAssigned to: None
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 12 Jul 2007 04:09:14 PM UTC, comment #4:

Committed it, thanks for the review.

Ben Pfaff <blp>
Project Administrator
Thu 12 Jul 2007 01:48:08 AM UTC, comment #3:

Seems to work for me.

Thanks.

John Darrington <jmd>
Project Administrator
Thu 12 Jul 2007 01:25:58 AM UTC, comment #2:

I found the bug. Attached patch fixes it and adds my simpler test case to tests/bugs.

(file #13290)

Ben Pfaff <blp>
Project Administrator
Thu 12 Jul 2007 01:00:13 AM UTC, comment #1:

Currently investigating this.

Here's a slightly simpler version that triggers the same bug:

INPUT PROGRAM.
COMPUTE #I = 1.
COMPUTE X = #I.
END CASE.
END FILE.
END INPUT PROGRAM.

SAVE OUTFILE='tiny.sav'.

Ben Pfaff <blp>
Project Administrator
Thu 28 Jun 2007 12:21:18 AM UTC, original submission:

This bug seems to have crept in with the simpler-proc merge.

INPUT PROGRAM.
LOOP #I = 1 TO 55000.
COMPUTE X = #I.
END CASE.
END LOOP.
END FILE.
END INPUT PROGRAM.

SAVE OUTFILE='enormous.sav'.

adding EXECUTE before the SAVE seems to work around the problem.

John Darrington <jmd>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 12 Jul 2007 04:09:14 PM UTCblpStatusReady for Test/Review=>Fixed
      Open/ClosedOpen=>Closed
    Thu 12 Jul 2007 01:25:58 AM UTCblpAttached File-=>Added save-following-input-program-crashes.patch, #13290
      StatusNone=>Ready for Test/Review

    Back to the top


    Powered by Savane 3.1-cleanup1