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

 
 

bug #20285: SAVE following INPUT PROGRAM crashes.

Submitter:  John Darrington <jmd>
Submitted:  Thu 28 Jun 2007 12:21:18 AM UTC
   
 
Category:  Other Severity:  7 - Major
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Committed it, thanks for the review.

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

Seems to work for me.

Thanks.

John Darrington <jmd>
Group 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>
Group 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>
Group 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>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by blp (Posted a comment)
  • -email is unavailable- added by jmd (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-07-12 blp StatusReady for Test/Review Fixed
        Open/ClosedOpen Closed
    2007-07-12 blp Attached File- Added save-following-input-program-crashes.patch, #13290
        StatusNone Ready for Test/Review

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code