bugPSPP - Bugs: bug #58520, Find dialog crashes

 
 

bug #58520: Find dialog crashes

Submitter:  Friedrich Beckmann <beckmanf>
Submitted:  Sun 07 Jun 2020 11:19:29 AM UTC
   
 
Category:  Graphical User Interface Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 07 Jun 2020 01:46:46 PM UTC, comment #1: 

I fixed the immediate problem here.

It is clear that the semantics of the comparison for finding needs to be a rethought.  In particular, comparing floating point numbers for equality is always going to be problematic.

John Darrington <jmd>
Group administrator
Sun 07 Jun 2020 11:19:29 AM UTC, original submission:  

You can crash psppire master as of June 7th 2020 via the find value dialog. To reproduce

  1. Create 3 variables a,b,c by typing a <ENTER>, b <ENTER>, c <ENTER> in the first column of a new variable view window.
  2. Switch to the data view window
  3. Type 1 <ENTER>, 2 <ENTER>, 3 <ENTER> to produce 3 new cases filled with data for variable a
  4. Open the find data value dialog by pushing the magnifying glass icon
  5. Select Variable a in the dialog
  6. Enter the value 1 in the value field
  7. Click "Find" button


=> Crash

On the command line you can see

psppire: src/data/datasheet.c:817: rw_case: Zusicherung »lrow < datasheet_get_n_rows (ds)« nicht erfüllt.
Abgebrochen

The same for version 1.2.0-5 on debian in unstable.

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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-07 jmd StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code