Bug 36849 - EDITING: Calc crashes while editing Excel file
Summary: EDITING: Calc crashes while editing Excel file
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.4.0 Beta3
Hardware: Other All
: medium critical
Assignee: Kohei Yoshida
URL:
Whiteboard: target:3.4
Keywords: regression
Depends on:
Blocks: mab3.4
  Show dependency treegraph
 
Reported: 2011-05-04 10:13 UTC by André Schnabel
Modified: 2013-11-15 11:21 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
edit in S32 will crash Calc (38.00 KB, application/vnd.ms-excel)
2011-05-04 10:13 UTC, André Schnabel
Details
edit in S32 will crash Calc (29.50 KB, application/vnd.ms-excel)
2011-05-04 10:26 UTC, André Schnabel
Details
Apple strace for xls edit crash (51.54 KB, text/plain)
2011-05-04 10:26 UTC, Alex Thurgood
Details

Note You need to log in before you can comment on or make changes to this bug.
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