bugPSPP - Bugs: bug #33250, Error with frequencies on MSWindows


bug #33250: Error with frequencies on MSWindows

Submitted by:  Harry Thijssen <unknown_one>
Submitted on:  Fri May 6 20:51:27 2011  
Category: System/Portable File I/OSeverity: 5 - Average
Status: Cannot ReproduceAssigned to: None
Open/Closed: ClosedRelease: Before 0.8.0
Effort: 0.00

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


(Jump to the original submission Jump to the original submission)

Thu Feb 16 21:28:30 2012, comment #22:

>testing this with the version build on the new toolchain, PSPP is lightning fast. So this can be closed.


Ben Pfaff <blp>
Project Administrator
Sat Jan 28 16:52:31 2012, comment #21:

testing this with the version build on the new toolchain, PSPP is lightning fast. So this can be closed.

Harry Thijssen <unknown_one>
Tue Jun 7 12:30:29 2011, comment #20:

1 of the users reporting that the problem still exists wrote me that here PC is indeed not updated for 3 months. Most likely it will be updated soon. this could give us more information if it is indeed a MSWindows bug.

Harry Thijssen <unknown_one>
Tue Jun 7 08:11:49 2011, comment #19:

I too see the problem with the data disappearing when scrolling to the bottom of the sheet.

John Darrington <jmd>
Project Administrator
Mon Jun 6 14:42:10 2011, comment #18:

The users who reported this problem still have it.

At least one of them is on a network and has only partial control over their disk.

At the moment I think of 2 reasons:
1) John is right and the PC's in these networks are not updated yet
2) It has something to do with the very large files and the creation of the pspp<random name> directory on the root directory.

Harry Thijssen <unknown_one>
Mon Jun 6 08:00:21 2011, comment #17:

If I open the .sav file at MSWindows by clicking on the .sav file. Psppire is opened and the data visible. However if I go to the end of the file the cases are empty. If I then scroll up, all case are empty.

Harry Thijssen <unknown_one>
Thu Jun 2 20:22:29 2011, comment #16:

I somehow think a MSWindows bug in XP and 7 is a too easy reason. But as it came up and disappeared without any change at the PSPP site and the fact that there was not a problem on Wine I can´t think of another reason....

I will ask the original reporters if they can check again.

The suggestion to check the number of cases against the expected number of cases seems a good one in all circumstances. It should not cost much cpu power.

Harry Thijssen <unknown_one>
Thu Jun 2 07:37:52 2011, comment #15:

This suggests to me, that the root cause was, in fact, a windows bug which has recently been fixed by microsoft's automatic upgrades.

I think the best we can do therefore is to add a warning if the number of cases in a file appears to be less (or more!) than expected.

John Darrington <jmd>
Project Administrator
Tue May 31 08:43:38 2011, comment #14:

It is weird, but I can't reproduce it either. Even when using the same data and command and binary version!!!!

Sounds very unstable to me but have no idea why as this seems to happen on different computers.

Harry Thijssen <unknown_one>
Sat May 28 13:09:17 2011, comment #13:

Suddenly I can no longer reproduce this problem.

Using psppire.exe 0.7.8-g70add3 it works fine. So far as I recall, that's the one I used before when I saw the problem, but I'm not too sure.

Can other people still trigger this problem, and if so, which version?

John Darrington <jmd>
Project Administrator
Mon May 23 11:55:51 2011, comment #12:

It seems this problem already arises if a large .sav file is read. See http://lists.gnu.org/archive/html/pspp-users/2011-05/msg00046.html

Harry Thijssen <unknown_one>
Mon May 9 20:25:08 2011, comment #11:

>No, I don't run it. In the past I had some problems with it and then stopped trying it.
>It is necessary?

It is not necessary but it is valuable, because it can help us to find bugs before they become visible to users. I would appreciate it if you would start to run it again. If there are problems, then we will try to fix them.



Ben Pfaff <blp>
Project Administrator
Mon May 9 20:20:20 2011, comment #10:

No, I don't run it. In the past I had some problems with it and then stopped trying it.

It is necessary?

Harry Thijssen <unknown_one>
Mon May 9 19:36:21 2011, comment #9:

John Darrington suggested in IRC that we should make sure that PSPP reports an error if a casereader fails to return a case but it is known that one should be available. PSPP is supposed to handle this case but it's possible something is wrong.

Ben Pfaff <blp>
Project Administrator
Mon May 9 18:14:53 2011, comment #8:

Harry, in your mingw builds, do you run the testsuite ("make check")?

Ben Pfaff <blp>
Project Administrator
Mon May 9 18:14:18 2011, comment #7:

Harry confirmed in email that setting the workspace to a large value avoids the problem.

Ben Pfaff <blp>
Project Administrator
Mon May 9 17:01:57 2011, comment #6:

Harry, how about another experiment? Before opening the system file, run "set workspace=100000000." as syntax. Does that avoid the problem?

Ben Pfaff <blp>
Project Administrator
Mon May 9 16:39:01 2011, comment #5:

Harry sent me the dissect-sysfile output that I asked for as a separate email attachment.

Unfortunately, it's identical to the output under GNU/Linux, so I have to think about other possible problems now.

Ben Pfaff <blp>
Project Administrator
Mon May 9 09:18:09 2011, comment #4:

Ignore the previous message. It seems I am missing files.

Harry Thijssen <unknown_one>
Sun May 8 09:38:30 2011, comment #3:

I can´t run the program on MSWindows (XP or 7).

I placed the exe and its dll on http://sourceforge.net/projects/pspp4windows/files/Tooling/ so anybody can check.

If I run the program on Wine it is fine. But on MSWindows it crashes immediately.

If I try to run ¨dissect-sysfile" I get the error:
dissect-sysfile: FATAL: Couldn´t find dissect-sysfile.

If I try to run ¨dissect-sysfile.exe" the program ends immediately without any message.

So it exits even before it can check the number of parameters in the beginnen of the program.

Anybody an idea what this can be?

Harry Thijssen <unknown_one>
Sat May 7 18:57:03 2011, comment #2:

Harry, can you try an experiment for me? PSPP builds a program called "dissect-sysfile". Can you try running this program for me on Windows with the .sav file in question as the argument, and then send me the last 1000 lines or so of the output? (The full output will be over 500 MB, but I am only interested in the last part.)

I don't need the output on GNU/Linux, since I've already got that right here.



Ben Pfaff <blp>
Project Administrator
Sat May 7 18:20:17 2011, comment #1:

I figured out the proximate cause, if not the underlying one: PSPP is only reading the first 152521 cases of the .sav file. I can reproduce the wrong results exactly by running "N OF CASES 152521" before FREQUENCIES.

Ben Pfaff <blp>
Project Administrator
Fri May 6 20:51:27 2011, original submission:

I got a report from a MSWindows user about an error when using frequencies on a file in Italian. I can reproduce it. On MSWindows a lot of cases seems not to be processed.

On openSUSE i get the correct answer
On wine with the MSWindows binary I get the correct answer
On MSWindows7 I get the wrong answer

It depends not on a specific MSWindows build, It was already present in PSPP 0.7.6.

As the data file is much to big, I will send it to Ben.

Harry Thijssen <unknown_one>


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

Attach File(s):

Attached Files
file #23360:  reportPsppSample.pdf added by unknown_one (23kB - application/pdf)
file #23361:  reportPsppSample.doc added by unknown_one (22kB - application/msword)


Depends on the following items: None found

Items that depend on this one: None found


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

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Feb 16 21:28:30 2012blpStatusNeed Info=>Cannot Reproduce
    Sat May 14 04:50:34 2011blpReleaseNone=>Before 0.8.0
    Sat May 7 18:57:03 2011blpCategoryNone=>System/Portable File I/O
      StatusNone=>Need Info
    Fri May 6 20:51:27 2011unknown_oneAttached File-=>Added reportPsppSample.pdf, #23360
      Attached File-=>Added reportPsppSample.doc, #23361

    Back to the top

    Powered by Savane 3.1-cleanup1