bugPSPP - Bugs: bug #59120, Syntax lets psppire hang

 
 

bug #59120: Syntax lets psppire hang

Submitter:  Friedrich Beckmann <beckmanf>
Submitted:  Thu 17 Sep 2020 10:56:58 AM UTC
   
 
Category:  Syntax Parser Severity:  5 - Average
Status:  None Assigned to:  None
Open/Closed:  Open Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 15 Dec 2020 09:47:18 AM UTC, comment #1: 

 This issue can be classified as either "not a bug" or as "duplicate of bug #40065".

At the end of the day, the syntax you pasted is erroneous (and it displays an error message).   However a decision was made in pspp's design many years ago, NOT to abort syntax processing at the first error.  Hence it tries to proceed; and in this case finds an infinite loop.

This infinite loop hangs both the GUI and and the TUI.  Such behaviour is perhaps not the most user intuitive.  But changing it would require some careful considerations of the possible effects on other scenarios.

John Darrington <jmd>
Group administrator
Thu 17 Sep 2020 10:56:58 AM UTC, original submission:  

The following syntax


input program.
data list list /city (A8).
begin data
Munich
London
Augsburg
end data


executed from the syntax window from psppire results in psppire hanging. Tested on master 21c00d9b16eeb60c9a 17.9.2020 on debian bullseye.

Friedrich Beckmann <beckmanf>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jmd (Posted a comment)
  • -email is unavailable- added by beckmanf (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code