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
Priority:  5 - Normal Status:  None
Assigned to:  None Open/Closed:  Open
Release:  None Effort:  0.00
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-598c.
    Corresponding source code