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 Parser Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  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

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
/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 Files:

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
  • -email is unavailable- added by blp (Updated the item)
  • -email is unavailable- added by jmd (Posted a comment)
  • -email is unavailable- added by embar (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-07-01 jmd StatusNone => Fixed
        Open/ClosedOpen => Closed
    2011-05-14 blp ReleaseNone => Before 0.8.0
    2011-04-19 embar Attached File- => Added bt.txt, #23271

    Back to the top

    Powered by Savane 3.5