Bug 36849

Summary: EDITING: Calc crashes while editing Excel file
Product: LibreOffice Reporter: André Schnabel <andre.schnabel>
Component: CalcAssignee: Kohei Yoshida <kohei>
Status: RESOLVED FIXED    
Severity: critical CC: vitriol_vitriol
Priority: medium Keywords: regression
Version: 3.4.0 Beta3   
Hardware: Other   
OS: All   
Whiteboard: target:3.4
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 35673    
Attachments: edit in S32 will crash Calc
edit in S32 will crash Calc
Apple strace for xls edit crash

Description André Schnabel 2011-05-04 10:13:37 UTC
Created attachment 46327 [details]
edit in S32 will crash Calc

I have a rather simple xls files that crashes Calc when editing.

Open attached example, 
go to cell S32, 
enter 0, 
leave the cell

 -> crash

happens with LibO3.4beta3 on Windows7, I'll try to verify on linux

the file could be edited without problems in LibO 3.3
Comment 1 André Schnabel 2011-05-04 10:17:54 UTC
also crashes on Linux x86
Comment 2 Alex Thurgood 2011-05-04 10:25:40 UTC
Yep, on Mac OSX too, Apple strace included.


Alex
Comment 3 André Schnabel 2011-05-04 10:26:22 UTC
Created attachment 46328 [details]
edit in S32 will crash Calc
Comment 4 Alex Thurgood 2011-05-04 10:26:55 UTC
Created attachment 46329 [details]
Apple strace for xls edit crash

Apple stack trace for xls edit causing crash in LibO 3.4b3
Comment 5 Kohei Yoshida 2011-05-04 12:07:03 UTC
(In reply to comment #3)

> edit in S32 will crash Calc

Wow!
Comment 6 Kohei Yoshida 2011-05-04 12:32:38 UTC
Just fixed in the 3.4 branch.  It was a simple case of dereferencing a NULL pointer.

http://cgit.freedesktop.org/libreoffice/calc/commit/?h=libreoffice-3-4&id=6cae0836410f5e72ecfeb934aa886353417e6d38
Comment 7 Alex Thurgood 2011-05-04 13:54:10 UTC
@Kohei

Excellent !!


Alex