Bug 77481

Summary: EDITING: CRASH when deleting a row
Product: LibreOffice Reporter: Marc PHILIPPE <karbock>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: CLOSED DUPLICATE    
Severity: normal CC: erack, sophi
Priority: medium Keywords: possibleRegression
Version: (See in Summary)   
Hardware: Other   
OS: Windows (All)   
Whiteboard: BSA
Crash report or crash signature: Regression By:
Attachments: Spreadsheet for testing

Description Marc PHILIPPE 2014-04-15 10:24:53 UTC
Problem description: 

Steps to reproduce:
1. Right-click on any row number;
2. In the context menu, choose "Delete Selected Rows".

Current behavior:
- Opens a message window with "Invalid pointer <T>";
- After clicking on the OK button: crash.

Expected behavior:
- Delete row.

Operating System: Windows 7
Version: 4.2.3.3 rc
Last worked in: 4.2.2.1 release
Comment 1 Eike Rathke 2014-04-15 11:23:46 UTC
I could not reproduce. Does that happen with a specific document? Could you attach it to this bug?
Comment 2 sophie 2014-04-15 12:01:59 UTC
Hi, I think it's a duplicate of bug 76470 that didn't make it in RC3, Marc could you confirm it? - Sophie
Comment 3 Marc PHILIPPE 2014-04-15 13:59:07 UTC
Created attachment 97411 [details]
Spreadsheet for testing
Comment 4 Marc PHILIPPE 2014-04-15 14:00:29 UTC
(In reply to comment #1)
> I could not reproduce. Does that happen with a specific document? Could you
> attach it to this bug?
OK, I've just uploaded the spreadsheet the bug happens with.
Comment 5 Marc PHILIPPE 2014-04-15 14:11:26 UTC
(In reply to comment #2)
> Hi, I think it's a duplicate of bug 76470 that didn't make it in RC3, Marc
> could you confirm it? - Sophie

Hi,
In the description of bug 76470, it reads that the bug:
- occurs when the row/column contains an absolute reference
- doesn't occur when the row/column doesn't contain an absolute reference.

But it's not as simple...

I've just run complementary tests with the uploaded file:

For rows 1,2,3:
- NO absolute reference
- delete OK

For rows 7,8:
- absolute reference present
- crash (message "Invalid vector<T> subscript")

**BUT**

For rows 5,6:
- absolute reference present
- delete OK
Comment 6 Eike Rathke 2014-04-15 17:39:14 UTC
Well, "occurs when" doesn't mean "has to occur when" ;-)

I confirm the crash in 4.2.3 but it does not happen with current 4-2 to be 4.2.4, so this indeed seems to be an incarnation of bug 76470.

*** This bug has been marked as a duplicate of bug 76470 ***
Comment 7 Robinson Tryon (qubit) 2015-12-15 10:55:15 UTC
Migrating Whiteboard tags to Keywords: (possibleRegression)
[NinjaEdit]