bugPSPP - Bugs: bug #33119, ANOVA: some times crash if total...

 
 

bug #33119: ANOVA: some times crash if total coeficient = 0

Submitted by:  Mindaugas <embar>
Submitted on:  Tue 19 Apr 2011 08:47:20 AM UTC  
 
Category: Syntax ParserSeverity: 5 - Average
Status: FixedAssigned to: None
Open/Closed: ClosedRelease: Before 0.8.0
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 01 Jul 2011 05:52:47 PM UTC, comment #4:

This problem has been fixed in the master branch.

John Darrington <jmd>
Project Administrator
Fri 06 May 2011 04:02:54 PM UTC, comment #3:

The problem in this case is not the sum of the contrast coefficients, but the quantity. The file physiology.sav has only
two distinct values of sex, but your example gives it three contrast coefficients. Hence this is an invalid command.

But you're right, we shouln't crash when presented with such an
input.

John Darrington <jmd>
Project Administrator
Fri 06 May 2011 01:42:03 PM UTC, comment #2:

For example, PSPP crash in openSUSE 11.4 64 bit with physiology.sav from PSPP examples:

GET FILE="/usr/share/pspp/examples/physiology.sav".
ONEWAY /VARIABLES= height weight temperature BY sex
/CONTRAST= 2 -1 -1.

Mindaugas <embar>
Fri 06 May 2011 01:23:41 PM UTC, comment #1:

Do you have an example data set which can provoke this. I can't seem to reproduce the problem.

John Darrington <jmd>
Project Administrator
Tue 19 Apr 2011 08:47:20 AM UTC, original submission:

PSPPIRE 0.7.7-g7e8e75 crashed with ANOVA if sum of both contrast is 0.

ONEWAY /VARIABLES= tyrejas tmen tdien BY stud
/STATISTICS=DESCRIPTIVES HOMOGENEITY
/CONTRAST= -2 2
/CONTRAST= 3 -2 -1.

I attach backstrace.

Mindaugas <embar>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #23271:  bt.txt added by embar (6KiB - text/plain - backtrace)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by blp (Updated the item)
  • -unavailable- added by jmd (Posted a comment)
  • -unavailable- added by embar (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
    Fri 01 Jul 2011 05:52:47 PM UTCjmdStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 14 May 2011 04:48:57 AM UTCblpReleaseNone=>Before 0.8.0
    Tue 19 Apr 2011 08:47:20 AM UTCembarAttached File-=>Added bt.txt, #23271

    Back to the top


    Powered by Savane 3.1-cleanup1