Issue 125159 - Bad Allocation error, and a problem with a saved file (so 2 bugs)
Summary: Bad Allocation error, and a problem with a saved file (so 2 bugs)
Status: CONFIRMED
Alias: None
Product: Calc
Classification: Application
Component: save-export (show other issues)
Version: 4.1.0
Hardware: All All
: P3 Major with 20 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 125140 (view as issue list)
Depends on:
Blocks:
 
Reported: 2014-06-25 21:07 UTC by cali season
Modified: 2017-09-27 18:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description cali season 2014-06-25 21:07:37 UTC
Hi,
I repost the bug, with a faster link to DL the test file.
The crash is coming when adding a bitmap in the library, to fill a comment with a bitmap.

The file, with about 1000 lines is 95 Mo large, so here a link to DL it 
http://www.partage-facile.com/YSHUMUOAEP/test.ods.html
you try to fill the cell E1053 with this page, for instance,
http://www.scientificamerican.com/article/quasicrystal-meteorite-exposes-novel-processes-in-early-solar-system/

 adding as comment the picture of the page, so importing at first the picture to the bitmap library, to fill the comment with a bitmap and you get the "bad allocation" error, when you try to save the file.

The "Bad Allocation" don't compromize the import of the bitmap, so after a crash, it's possible to add a link, and a bitmap as comment, since the library was updated.
Then to save the file is possible (but crash from time to time yet)
Then adding another link, needing previously to import a picture in the bitmap library, and the crash goes on, since the import implies a  Bad Allocation .
Btw : if you work with a test file, filled with about 1000 lines, and try to suppress all the lines, except the 7 or 8 first ones, to get a test-ini, you will save a test-ini, being also 95 Mo !!!!
So, another bug, with openoffice 4.1.0
Comment 1 Regina Henschel 2014-06-25 22:06:31 UTC
With that file I can confirm the crash. I use AOO420m1(Build:9800) - Rev.1601656 on Windows 7.
Comment 2 cali season 2014-06-26 17:23:55 UTC
Tx for your test.

What is also strange is that with the germ, posted in the 125140 bug report, I wasn't able to reproduce the 95 Mo file, copying the germ until 1000 lines, like the file I posted here.
Comment 3 oooforum (fr) 2017-09-27 18:49:55 UTC
*** Issue 125140 has been marked as a duplicate of this issue. ***