Bug 103787 - Calc crashes on document load with "Bad Allocation"
Summary: Calc crashes on document load with "Bad Allocation"
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.2.3.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-08 16:21 UTC by libreoffice
Modified: 2017-06-28 12:33 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
attached document crashes 100% of the time on load (39.67 KB, application/vnd.oasis.opendocument.spreadsheet)
2016-11-08 16:23 UTC, libreoffice
Details

Note You need to log in before you can comment on or make changes to this bug.
Description libreoffice 2016-11-08 16:21:50 UTC
Description:
The attached document was created some time ago. I opened it today, edited it, saved it, and closed it normally.
Then then tried to open the document again later, but now whenever I try and open it, Calc crashes out on load with "Bad Allocation".
This was originally with 5.0.3.2, but I have now upgraded to 5.2.3.3 and the behaviour is the same.
After crashing out, Calc doesn't remove the temporary file (ods#)

One thing though - while testing with the new version because it had left the ods# behind, when I tried to re-open it in the old version of LO, I received the "can only open Read Only as file is already open for editing" warning. The file did load successfully like this. But as soon as I deleted the ods# file, it immediately failed to load again as it would try and go into editing mode.

Steps to Reproduce:
1. Open the attached document
2. Crash
3. There is no step 3! :-)

Actual Results:  
Crash

Expected Results:
No Crash


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Comment 1 libreoffice 2016-11-08 16:23:11 UTC
Created attachment 128581 [details]
attached document crashes 100% of the time on load
Comment 2 libreoffice 2016-11-08 16:26:42 UTC
Unrelated addendum (as I have no idea where to report bugs about the bug tracker) - It asked about the severity as bug-creation time and I set it to "Critical" as that's what it says to do for crashes. However I see that this isn't reflected in the new bug - it's "normal" - if severity is being ignored it probably shouldn't show up at all on the bug-submission page.
Comment 3 Eike Rathke 2016-11-08 17:02:45 UTC
Tried loading the document with 5.1.6 and 5.2.3 Linux, no problem.
Comment 4 Julien Nabet 2016-11-08 19:57:26 UTC
On pc Debian x86-64 with master sources updated today, I don't reproduce this.

For the test, could you apply what is adviced here:
https://wiki.documentfoundation.org/QA/FirstSteps
?
Comment 5 m_a_riosv 2016-11-10 22:41:03 UTC
No problem.
Version: 5.2.3.3 (x64)
Build ID: d54a8868f08a7b39642414cf2c8ef2f228f780cf
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; 
Locale: es-ES (es_ES); Calc: group
Comment 6 QA Administrators 2017-05-31 10:50:37 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2017-06-28 12:33:53 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-20170628