bugPSPP - Bugs: bug #44158, Crash when changing type of...

 
 

bug #44158: Crash when changing type of spreadsheet imported dataset

Submitted by:  John Darrington <jmd>
Submitted on:  Mon 02 Feb 2015 06:51:33 AM UTC  
 
Category: Graphical User InterfaceSeverity: 7 - Major
Status: FixedAssigned to: Ben Pfaff <blp>
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 31 Jan 2016 08:31:35 PM UTC, comment #4:

I pushed a fix as commit 958e78555714e (spreadsheet: Avoid sharing a dictionary between spreadsheet and client.)

Ben Pfaff <blp>
Project AdministratorIn charge of this item.
Sun 31 Jan 2016 07:03:33 PM UTC, comment #3:

The attached patch fixes the problem, but some refinement is needed for a final commit.

(file #36221)

Ben Pfaff <blp>
Project AdministratorIn charge of this item.
Sun 31 Jan 2016 06:08:03 PM UTC, comment #2:

It's related to changing the type of a variable that is still being pulled from the original data source. An experiment that shows that is, between steps 2 and 3, use the scroll bar to scroll all the way to the bottom of the data sheet. This avoids the crash.

Backtrace:

Ben Pfaff <blp>
Project AdministratorIn charge of this item.
Sun 31 Jan 2016 05:56:58 PM UTC, comment #1:

Confirmed, thanks. I'll continue to look into it.

Ben Pfaff <blp>
Project AdministratorIn charge of this item.
Mon 02 Feb 2015 06:51:33 AM UTC, original submission:

1. Open the Gui.

2. Import the attached gnumeric file using the command:

GET DATA
/TYPE=GNM
/FILE="xx.gnumeric"
/SHEET=index 1
/READNAMES=ON
/CELLRANGE=RANGE "A1:B51".

The second variable will (correctly) be of type string.

3. In the variable sheet, change the variable to type Numeric.
The program crashes.

John Darrington <jmd>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #36221:  bug44158.patch added by blp (1KiB - text/x-diff)
file #32973:  xx.gnumeric added by jmd (2KiB - application/x-gnumeric)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by blp (Updated the item)
  • -unavailable- added by jmd (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 31 Jan 2016 08:31:35 PM UTCblpStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sun 31 Jan 2016 07:03:33 PM UTCblpAttached File-=>Added bug44158.patch, #36221
    Thu 28 Jan 2016 06:25:03 PM UTCblpAssigned toNone=>blp
    Mon 02 Feb 2015 06:51:33 AM UTCjmdAttached File-=>Added xx.gnumeric, #32973

    Back to the top


    Powered by Savane 3.1-cleanup1