GNOME Bugzilla – Bug 124975
crash if you move cell to another workbook, close workbook, undo
Last modified: 2004-12-22 21:47:04 UTC
Start gnumeric Enter =a2 Now the current cell is a2 Type control-X In the File menu, choose New Type control-V Switch to the first gnumeric window In the File menu choose Close When it asks if you want to save changes, click Discard Now there is only one gnumeric window. In that window, click undo It crashes and says: ** (gnumeric:583): CRITICAL **: file ../../src/sheet.c: line 3350 (sheet_move_range): assertion `IS_SHEET (rinfo->target_sheet)' failed ** (gnumeric:583): CRITICAL **: file ../../src/sheet.c: line 775 (sheet_cell_get): assertion `IS_SHEET (sheet)' failed ** (gnumeric:583): CRITICAL **: file ../../src/sheet.c: line 4064 (sheet_get_view): assertion `IS_SHEET (sheet)' failed This happened in gnumeric 1.2.1
Confirmed.
Fixing this for real is out of the scope of 1.2. We need to revamp external depenencies for real to make things happy. For now I'll just patch it to avoid the crash. However, I worry about what will happen in situations where the we delete the content the 2nd sheet then delete the original sheet. Undo there will screw us.