bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: pspp bugs


From: Joseph Saint Pierre
Subject: PSPP-BUG: pspp bugs
Date: Tue, 1 Aug 2006 15:37:43 +0200

Hello

 I send you a list of bugs which have been detected by Julie Séguéla
when she was writing the documentation for GNU/PSPP in french.

 Seven of them occured with the following message

«You have discovered a bug in PSPP.

  Please report this, by sending an email to address@hidden,
explaining what you were doing when this happened, and including
a sample of your input file which caused it.
Also, please copy the following lines into your bug report: »

  You will find first the command file which has produced the bug
then the message produced by GNU/PSPP

  Then there are few "bugs" which did not produce this specific
message

 Joseph Saint Pierre

---

Command file:

******************************************************************
DATA LIST NOTABLE /X1 TO X5 1-10.
BEGIN DATA.
 1-120  13
20-3-54220
1520-6-314
END DATA.
MISSING VALUES X1 TO X5 (LO THRU 0).
COUNT Y1=X1 TO X5(SYSMIS) /Y2=X1 TO X5(20).
FORMATS Y1 Y2 (F2).
LIST.
******************************************************************

Bug message:

******************************************************************
bare_version:        0.4.0
version:             GNU pspp 0.4.0
stat_version:        GNU pspp 0.4.0  (Thu Jun  1 15:04:41 CEST 2006).
host_system:         sparc-sun-solaris2.9
build_system:        sparc-sun-solaris2.9
default_config_path: ~/.pspp:/usr/local/etc/pspp
include_path:        ./:~/.pspp/include:/usr/local/share/pspp
groff_font_path: ~/.pspp/font:/usr/local/share/pspp/font:/usr/local/lib/groff/font:/usr/lib/groff/font:/usr/local/share/groff/font:/usr/share/groff/font
locale_dir:          /usr/local/share/locale
compiler version:    3.4.2
Diagnosis: Assertion failed: count.c:399; (0)
******************************************************************

=============


Command file:

******************************************************************
DATA LIST NOTABLE /X1 TO X5 1-10.
BEGIN DATA.
 1-120  13
20-3-54220
1520-6-314
END DATA.
MISSING VALUES X1 TO X5 (LO THRU 0).
COUNT Y1=X1 TO X5(MISSING).
LIST.
******************************************************************

Bug message:

******************************************************************
bare_version:        0.4.0
version:             GNU pspp 0.4.0
stat_version:        GNU pspp 0.4.0  (Thu Jun  1 15:04:41 CEST 2006).
host_system:         sparc-sun-solaris2.9
build_system:        sparc-sun-solaris2.9
default_config_path: ~/.pspp:/usr/local/etc/pspp
include_path:        ./:~/.pspp/include:/usr/local/share/pspp
groff_font_path: ~/.pspp/font:/usr/local/share/pspp/font:/usr/local/lib/groff/font:/usr/lib/groff/font:/usr/local/share/groff/font:/usr/share/groff/font
locale_dir:          /usr/local/share/locale
compiler version:    3.4.2
Diagnosis: Assertion failed: count.c:399; (0)
******************************************************************


=============





Command file:

******************************************************************
DATA LIST LIST FILE="exemple35" /SEXE (F1) AGE (F2) TAILLE (F4.2).
VALUE LABELS /SEXE 1 "homme" 2 "femme".
SAVE /OUTFILE=ages.sav.

GET FILE=ages.sav /DROP=TAILLE.
LIST.
******************************************************************


Bug message:

******************************************************************
bare_version:        0.4.0
version:             GNU pspp 0.4.0
stat_version:        GNU pspp 0.4.0  (Thu Jun  1 15:04:41 CEST 2006).
host_system:         sparc-sun-solaris2.9
build_system:        sparc-sun-solaris2.9
default_config_path: ~/.pspp:/usr/local/etc/pspp
include_path:        ./:~/.pspp/include:/usr/local/share/pspp
groff_font_path: ~/.pspp/font:/usr/local/share/pspp/font:/usr/local/lib/groff/font:/usr/lib/groff/font:/usr/local/share/groff/font:/usr/share/groff/font
locale_dir:          /usr/local/share/locale
compiler version:    3.4.2
Diagnosis: Segmentation Violation
******************************************************************



=============





Command file:

******************************************************************
DATA LIST LIST FILE="exemple35" /SEXE (F1) AGE (F2) TAILLE (F4.2).
VALUE LABELS /SEXE 1 "homme" 2 "femme".
SAVE /OUTFILE=ages.sav.
GET FILE=ages.sav /KEEP=SEXE AGE.
LIST.
******************************************************************


Bug message:

******************************************************************
bare_version:        0.4.0
version:             GNU pspp 0.4.0
stat_version:        GNU pspp 0.4.0  (Thu Jun  1 15:04:41 CEST 2006).
host_system:         sparc-sun-solaris2.9
build_system:        sparc-sun-solaris2.9
default_config_path: ~/.pspp:/usr/local/etc/pspp
include_path:        ./:~/.pspp/include:/usr/local/share/pspp
groff_font_path: ~/.pspp/font:/usr/local/share/pspp/font:/usr/local/lib/groff/font:/usr/lib/groff/font:/usr/local/share/groff/font:/usr/share/groff/font
locale_dir:          /usr/local/share/locale
compiler version:    3.4.2
Diagnosis: Segmentation Violation
******************************************************************



=============




Command file:

******************************************************************
DATA LIST NOTABLE FILE=exemple44 /NOM 1-6 (A) X1 8 X2 10-11 X3 13-16 (2).
VARIABLE LABELS X1 "Sexe" X2 "Age" X3 "Taille".
FREQUENCIES X3 /FORMAT=NOLABELS.
******************************************************************


Bug message:

******************************************************************
bare_version:        0.4.0
version:             GNU pspp 0.4.0
stat_version:        GNU pspp 0.4.0  (Thu Jun  1 15:04:41 CEST 2006).
host_system:         sparc-sun-solaris2.9
build_system:        sparc-sun-solaris2.9
default_config_path: ~/.pspp:/usr/local/etc/pspp
include_path:        ./:~/.pspp/include:/usr/local/share/pspp
groff_font_path: ~/.pspp/font:/usr/local/share/pspp/font:/usr/local/lib/groff/font:/usr/lib/groff/font:/usr/local/share/groff/font:/usr/share/groff/font
locale_dir:          /usr/local/share/locale
compiler version:    3.4.2
Diagnosis: Assertion failed: tab.c:654; (c < table->nc)
******************************************************************


=============



Command file:

******************************************************************
DATA LIST NOTABLE FILE=exemple44 /NOM 1-6 (A) X1 8 X2 10-11 X3 13-16 (2).
VARIABLE LABELS X1 "Sexe" X2 "Age" X3 "Taille".
FREQUENCIES X2 (25,45).
******************************************************************


Bug message:

******************************************************************
bare_version:        0.4.0
version:             GNU pspp 0.4.0
stat_version:        GNU pspp 0.4.0  (Thu Jun  1 15:04:41 CEST 2006).
host_system:         sparc-sun-solaris2.9
build_system:        sparc-sun-solaris2.9
default_config_path: ~/.pspp:/usr/local/etc/pspp
include_path:        ./:~/.pspp/include:/usr/local/share/pspp
groff_font_path: ~/.pspp/font:/usr/local/share/pspp/font:/usr/local/lib/groff/font:/usr/lib/groff/font:/usr/local/share/groff/font:/usr/share/groff/font
locale_dir:          /usr/local/share/locale
compiler version:    3.4.2
Diagnosis: Assertion failed: frequencies.q:715; (ft->mode == FRQM_GENERAL)
******************************************************************


=============


Command file:

******************************************************************
DATA LIST NOTABLE FILE=exemple44 /NOM 1-6 (A) X1 8 X2 10-11 X3 13-16 (2).
VARIABLE LABELS X1 "Sexe" X2 "Age" X3 "Taille".
EXAMINE X3 BY X1.
******************************************************************

Bug message:

******************************************************************
bare_version:        0.4.0
version:             GNU pspp 0.4.0
stat_version:        GNU pspp 0.4.0  (Thu Jun  1 15:04:41 CEST 2006).
host_system:         sparc-sun-solaris2.9
build_system:        sparc-sun-solaris2.9
default_config_path: ~/.pspp:/usr/local/etc/pspp
include_path:        ./:~/.pspp/include:/usr/local/share/pspp
groff_font_path: ~/.pspp/font:/usr/local/share/pspp/font:/usr/local/lib/groff/font:/usr/lib/groff/font:/usr/local/share/groff/font:/usr/share/groff/font
locale_dir:          /usr/local/share/locale
compiler version:    3.4.2
Diagnosis: Assertion failed: tab.c:611; (r < table->nr)
******************************************************************


=============

The LEAVE command does not work properly

Command file:

******************************************************************
 DATA LIST /ITEM 1-3.
     COMPUTE SUM=SUM+ITEM.
     PRINT /ITEM SUM.
     LEAVE SUM
     BEGIN DATA.
     123
     404
     555
     999
     END DATA.
******************************************************************


Error message:

******************************************************************
2: error: COMPUTE: Unknown identifier SUM.
2: warning: This command not executed.
3: error: PRINT: SUM is not a variable name.
3: warning: This command not executed.
4: error: LEAVE: SUM is not a variable name.
4: warning: This command not executed.

********************************************************************


DISPLAY SORTED command provides strange results, it sorts the variable
but not in the alphabetical order.


***********************************************************************

In SAVE command it is impossible to use subcommands such as /DROP,
/KEEP, /RENAME etc...

************************************************************************

In the FREQUENCIES command  : centiles above 50 are calculated ONLY
if NTILES subcommand is written before PERCENTILES subcommand:


Command file #1 :

******************************************************************


DATA LIST NOTABLE FILE=exemple44 /X1 8 X2 10-11.
VARIABLE LABELS X1 "Sexe" X2 "Age".
VALUE LABELS X1 1 "Homme" 2 "Femme".
FREQUENCIES X2 /FORMAT=NOTABLE /STAT=MODE /PERCENTILES=10,90.

******************************************************************


Result #1 :


******************************************************************

1.1 FREQUENCIES.  X2: Age
+-------------------+------+
|N           Valid  |    10|
|            Missing|     0|
|Mean               |32.900|
|Mode               |35.000|
|Percentiles 10     |21.000|
|            50     |35.000|
+-------------------+------+

******************************************************************

Command file #2 :

******************************************************************

DATA LIST NOTABLE FILE=exemple44 /X1 8 X2 10-11.
VARIABLE LABELS X1 "Sexe" X2 "Age".
VALUE LABELS X1 1 "Homme" 2 "Femme".
FREQUENCIES X2 /FORMAT=NOTABLE /STAT=MODE /NTILES=4 /PERCENTILES=10,90.
******************************************************************

Result #2 :


******************************************************************

+-------------------+------+
|N           Valid  |    10|
|            Missing|     0|
|Mean               |32.900|
|Mode               |35.000|
|Percentiles 0      |21.000|
|            10     |21.000|
|            25     |23.000|
|            50     |35.000|
|            75     |38.750|
|            90     |43.800|
|            100    |51.000|
+-------------------+------+
******************************************************************



******************************************************************************

In the EXAMINE command, the /PLOT subcommand does not work with keywords
STEAMLEAF or SPREADLEVEL.

EXAMINE
 /PLOT=STEMLEAF
 /PLOT=SPREADLEVEL(n),
*******************************************************************************




reply via email to

[Prev in Thread] Current Thread [Next in Thread]