Bug 90395 - EDITING: Crash when search XLSX
Summary: EDITING: Crash when search XLSX
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.4.1.2 release
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-01 13:16 UTC by Alexandre Vicenzi
Modified: 2015-04-15 03:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Crash details (86.40 KB, text/plain)
2015-04-01 13:16 UTC, Alexandre Vicenzi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Vicenzi 2015-04-01 13:16:44 UTC
Created attachment 114524 [details]
Crash details

LO Crashed when I searched for a string.

See log file for details.
Comment 1 Alex Thurgood 2015-04-01 17:23:42 UTC
@Alexandre : please provide a test document and the exact steps you carried out so that we can attempt to reproduce this behaviour, otherwise we are just searching in the dark.

Setting to NEEDINFO, please set back to UNCONFIRMED when the information has been provided
Comment 2 Alex Thurgood 2015-04-01 17:25:11 UTC
The crash log indicates LO 4412 and OSX 10.10.2
Comment 3 Alexandre Vicenzi 2015-04-01 17:33:49 UTC
(In reply to Alex Thurgood from comment #1)
> @Alexandre : please provide a test document and the exact steps you carried
> out so that we can attempt to reproduce this behaviour, otherwise we are
> just searching in the dark.
> 
> Setting to NEEDINFO, please set back to UNCONFIRMED when the information has
> been provided

I can't provide the file because it contains sensitive data.

Basically, it's a report. Not sure if was exported by Word or any other tool.

The file has 2 sheets, one with 30 columns + 5k lines, and the other sheet with 7 columns + 3.5k lines.

I just press Command + F and starting typing, then LO crashed. It looks like that the search match a huge list of cells. As the file has only numbers in each cell, if I type 4 it crashes.
Comment 4 Julien Nabet 2015-04-01 19:26:51 UTC
Do you reproduce this with a brand new file?
eg:
1) create an ods file with 5 simple cells
2) save it in xlsx
3) close LO
4) open xlsx
5) try a search


For the test, could you rename your LO directory profile (see https://wiki.documentfoundation.org/UserProfile#Mac_OS_X) and give a new try?

If you still reproduce this could you indicate your language UI?
Indeed, in code where it crashes (http://opengrok.libreoffice.org/xref/core/vcl/source/control/ilstbox.cxx#269), I noticed this:
const vcl::I18nHelper& rI18nHelper = mpWindow->GetSettings().GetLocaleI18nHelper();
if GetLocaleI18nHelper() returns nothing, it'll indeed crash.
Comment 5 Alexandre Vicenzi 2015-04-01 20:07:23 UTC
(In reply to Julien Nabet from comment #4)
> Do you reproduce this with a brand new file?
> eg:
> 1) create an ods file with 5 simple cells
> 2) save it in xlsx
> 3) close LO
> 4) open xlsx
> 5) try a search
> 
> 
> For the test, could you rename your LO directory profile (see
> https://wiki.documentfoundation.org/UserProfile#Mac_OS_X) and give a new try?
> 
> If you still reproduce this could you indicate your language UI?
> Indeed, in code where it crashes
> (http://opengrok.libreoffice.org/xref/core/vcl/source/control/ilstbox.
> cxx#269), I noticed this:
> const vcl::I18nHelper& rI18nHelper =
> mpWindow->GetSettings().GetLocaleI18nHelper();
> if GetLocaleI18nHelper() returns nothing, it'll indeed crash.

No. I tried with a small file, but doens't happen.
Comment 6 Markus Mohrhard 2015-04-15 03:17:58 UTC
A bug report without a test file is absolutely useless and just takes our time.