bugPSPP - Bugs: bug #38786, DESCRIPTIVES could better handle Z...

 
 

bug #38786: DESCRIPTIVES could better handle Z scores with TEMPORARY

Submitter:  Ben Pfaff <blp>
Submitted:  Sat 20 Apr 2013 05:47:08 PM UTC
   
 
Category:  Syntax Parser Severity:  5 - Average
Status:  None Assigned to:  None
Open/Closed:  Open Release:  Future
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 28 May 2013 04:42:19 AM UTC, comment #3: 

When we fix this, we should also remove the note from the manual saying that DESCRIPTIVES ignores TEMPORARY with Z scores.

Ben Pfaff <blp>
Group administrator
Tue 21 May 2013 06:07:16 AM UTC, comment #2: 

I fixed the use-after-free error by making DESCRIPTIVES ignore TEMPORARY.  This is imperfect, but better than a crash.  I am leaving this bug open, retitled and deprioritized, as a reminder to eventually fix this.

Ben Pfaff <blp>
Group administrator
Sat 20 Apr 2013 05:50:09 PM UTC, comment #1: 

See bug #32757 for the further discussion.

Ben Pfaff <blp>
Group administrator
Sat 20 Apr 2013 05:47:08 PM UTC, original submission:  

The following test case crashes with PSPP:


DATA LIST LIST NOTABLE /id abc.
BEGIN DATA.
1 3.5
2 2.0
3 2.0
4 3.5
5 3.0
6 4.0
7 5.0
END DATA.

TEMPORARY.
SELECT IF id < 7 .

DESCRIPTIVES /VAR=abc/SAVE.
LIST.


SPSS users report that it yields the following results:


      id      abc        Zabc

    1,00     3,50      ,59761
    2,00     2,00    -1,19523
    3,00     2,00    -1,19523
    4,00     3,50      ,59761
    5,00     3,00      ,00000
    6,00     4,00     1,19523
    7,00     5,00      .


Ben Pfaff <blp>
Group administrator

 

(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 blp (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
    2013-05-21 blp StatusIn Progress None
        ReleaseBefore 0.8.0 Future
        SummaryUse-after-free in DESCRIPTIVES with Z scores and TEMPORARY DESCRIPTIVES could better handle Z scores with TEMPORARY
    2013-04-20 blp ReleaseNone Before 0.8.0

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code