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

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

PSPP-BUG: [bug #45218] PSPP hangs on unknown CLUSTER subcommands


From: anonymous
Subject: PSPP-BUG: [bug #45218] PSPP hangs on unknown CLUSTER subcommands
Date: Sat, 30 May 2015 17:52:41 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?45218>

                 Summary: PSPP hangs on unknown CLUSTER subcommands
                 Project: PSPP
            Submitted by: None
            Submitted on: Sat 30 May 2015 05:52:40 PM UTC
                Category: Syntax Parser
                Severity: 5 - Average
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

I'm adding code to PSPP v. 0.8.4 CLUSTER to show cluster membership (PRINT and
SAVE subcommands) and some of my test scripts fail to produce any output for
many seconds (normal run-time is < 1 sec; I've waited a minute or two). When I
add printf statements into kmeans_cluster() I see them when output is
produced, I don't see any output when PSPP hangs.

I then checked and these hangs occur in 0.8.4 (without any of my code). In the
attached file:

<pre>
* this works fine.
QUICK CLUSTER Married WorkF
  /CRITERIA=CLUSTERS(3).

* below causes hang in 0.8.4.
* with, or without the FOO.
QUICK CLUSTER Married WorkF
  /CRITERIA=CLUSTERS(3)
  /PRINT=INITIAL CLUSTER
  /FOO=BAR
  /SAVE=CLUSTER DISTANCE.
</pre>

After I've added my code to CLUSTER to parse PRINT and SAVE, the /FOO line
still hangs PSPP.

So, I conclude that there is a problem in how the subcommands of CLUSTER are
parsed that occurs before kmeans_cluster() sees the syntax.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 30 May 2015 05:52:40 PM UTC  Name: TestData.csv  Size: 10kB   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=34127>
-------------------------------------------------------
Date: Sat 30 May 2015 05:52:40 PM UTC  Name: qc3.sps  Size: 920B   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=34128>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45218>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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