Apache OpenOffice (AOO) Bugzilla – Issue 125159
Bad Allocation error, and a problem with a saved file (so 2 bugs)
Last modified: 2017-09-27 18:49:55 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
With that file I can confirm the crash. I use AOO420m1(Build:9800) - Rev.1601656 on Windows 7.
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.
*** Issue 125140 has been marked as a duplicate of this issue. ***