Bug 77978 - Editing: deleting row with formulas results in crash with "vector::_M_range_check" error
Summary: Editing: deleting row with formulas results in crash with "vector::_M_range_c...
Status: RESOLVED DUPLICATE of bug 76470
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.3.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-26 18:20 UTC by pg7724
Modified: 2014-04-27 11:33 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
spreadsheet to demonstrate crash vs. no crash scenarios (20.17 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-04-26 18:20 UTC, pg7724
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pg7724 2014-04-26 18:20:01 UTC
Created attachment 98053 [details]
spreadsheet to demonstrate crash vs. no crash scenarios

Deleting a row containing formulas results in a crash similar to behavior in bug 77459.

System: Fedora 20, KDE desktop, fully updated as of 4-26-2014, LibreOffice 4.2.3.3-7.fc20 (x86_64).

Steps to reproduce:
1. create spreadsheet with column of numbers. In another column create simple formula that sums numbers in adjacent rows. For example column A contains numbers in first 20 rows. B contains formula that sums value in A(x) with A(x-1)
2. Delete a row containing formulas
3. Crash results

Crash does not occur in several test cases:

1. delete contents of cells in target row before deleting entire row.
2. No crash if formula references cells on that line _or below_.

Crash does occur if formula references cells on that line _and above_.

Attached test file contains two sheets. One causes a crash when row is deleted while the other sheet does no cause a crash. Sheets are labeled as such.
Comment 1 Julien Nabet 2014-04-27 11:30:25 UTC
On pc Debian x86-64 with master sources updated today or with 4.2 sources updated some days ago, I don't reproduce this.

I think it's a dup of fdo#76470.

If you c
Comment 2 Julien Nabet 2014-04-27 11:33:43 UTC
On pc Debian x86-64 with master sources updated today or with 4.2 sources updated some days ago, I don't reproduce this.

I think it's a dup of fdo#76470.

However I might be wrong, so if you reproduce this with 4.1.4 RC1, don't hesitate to reopen this tracker.

*** This bug has been marked as a duplicate of bug 76470 ***