Calc crashes with fatal error - Bad allocation

Issues with installing under all versions of MS Windows
Post Reply
CHARJCARDENAS
Posts: 1
Joined: Thu Mar 28, 2019 7:17 pm

Calc crashes with fatal error - Bad allocation

Post by CHARJCARDENAS »

I have been experiencing this issue for some time. I tried uninstalling and reinstalling OpenOffice but still have this problem. Please advise.
OpenOffice 4.1.6 on Windows 10
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: CALC - crashes with fatal error - Bad allocation

Post by John_Ha »

Strange problems are sometimes fixed by resetting the profile - see Resetting the user profile.

Does it happen with every file? Or is it always the same file?

Search with bad allocation windows 10 for other posts.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
trainman2k
Posts: 2
Joined: Tue Apr 16, 2019 1:26 pm

Re: Calc crashes with fatal error - Bad allocation

Post by trainman2k »

After I began experiencing this same problem, I researched it and found that a W10 security update was being blamed.
The recommendation was to remove the update, but it had been too long apparently and my system would not permit me to uninstall the update.
I do not remember which update it was - sorry.
I am utilizing Open Office 4.1.6 and running it on the MicroSoft Windows 10 platform
User avatar
RoryOF
Moderator
Posts: 34611
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Calc crashes with fatal error - Bad allocation

Post by RoryOF »

It is said, by reliable reporters, that later Windows 10 updates fix the problem with the faulty updates. So first step is is to ensure Win 10 is fully updated and restart it.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
marciebar
Posts: 5
Joined: Mon May 18, 2020 9:50 pm

Re: Calc crashes with fatal error - Bad allocation

Post by marciebar »

I cannot access Open Office. Ia my file lost or any suggestions how do I get to it and transfer to another or new office file. My computer skills are very limited. this was a large file
Open Office 4.1.1 Windows 10
User avatar
RoryOF
Moderator
Posts: 34611
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Calc crashes with fatal error - Bad allocation

Post by RoryOF »

If you are trying to access OpenOffice by double clicking a file, try instead accessing OpenOffice from the Start button - Programs setting.

If that is successful, please make a small sample file, Save it, and reopen it. That information is essential to allow us decide if your OpenOffice installation is broken, or if your problem lies with merely the file that is giving you the reported error message.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Calc crashes with fatal error - Bad allocation

Post by John_Ha »

Search the Calc forum with bad allocation.

I quickly found that it seems to be a bug which only affects very large files - see Issue 125006 - Calc Consistently crashing, usually with "Fatal Error - Bad Allocation"

You might like to switch to LibreOffice and see if LO is better as it is almost certain never to be fixed in AOO - it was reported in 2014.

Showing that a problem has been solved helps others searching so, if your problem is now solved, please view your first post in this thread and click the Edit button (top right in the post) and add [Solved] in front of the subject.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
marciebar
Posts: 5
Joined: Mon May 18, 2020 9:50 pm

Re: Calc crashes with fatal error - Bad allocation

Post by marciebar »

I can now open Office 4.1.1 but not that file which is 35,500 KB. It now keeps to "recovery" if I close Office down and it states that it is recovered successfully but wont open it as fatal error bad location comes up
If I get Libre Office how do I transfer this file.
Open Office 4.1.1 Windows 10
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Calc crashes with fatal error - Bad allocation

Post by John_Ha »

1. Uninstall AOO
2. Install LO.
3. File > Open ..., and navigate to where it is.

If LO does not open the file it is damaged - tell us exactly what happens when you try to open it.

Showing that a problem has been solved helps others searching so, if your problem is now solved, please view your first post in this thread and click the Edit button (top right in the post) and add [Solved] in front of the subject.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
marciebar
Posts: 5
Joined: Mon May 18, 2020 9:50 pm

Re: Calc crashes with fatal error - Bad allocation

Post by marciebar »

I have most of my document files in Open Office. Will I lose them or will Libre Office be an additional programme
Open Office 4.1.1 Windows 10
User avatar
robleyd
Moderator
Posts: 5081
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Calc crashes with fatal error - Bad allocation

Post by robleyd »

LibreOffice is another office suite that shares the same file format as OpenOffice. You won't lose your files, although they will not initially appear in LibreOffice's recent files list.
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
marciebar
Posts: 5
Joined: Mon May 18, 2020 9:50 pm

Re: Calc crashes with fatal error - Bad allocation

Post by marciebar »

It will not open in LO. Has the same response Fatal error etc
Open Office 4.1.1 Windows 10
User avatar
RoryOF
Moderator
Posts: 34611
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Calc crashes with fatal error - Bad allocation

Post by RoryOF »

Then upload the file to a filesharing site and post the URL here; perhaps it can be repaired.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
sk91789
Posts: 1
Joined: Sun Sep 22, 2013 2:52 am

Re: Calc crashes with fatal error - Bad allocation

Post by sk91789 »

I have a weird situation with this error. I have 2 laptops at 2 different locations. At my apartment the file would open and work just fine (older HP laptop upgrade to Windows 10 Pro). At my parent's house I have a newer Lenovo Flex-14. I am getting this error on the Lenovo. I would open the OO Calc file and even if I don't do anything to it I would get the error. I do notice that if I do a lot of copying and pasting it seems to crash quicker. Any idea what is happening? I can see if this was happening on the old laptop but I am surprised this is happening to a new laptop with more memory.
Windows 8 + OpenOffice 4.0.0
Carlatapache
Posts: 1
Joined: Sat Sep 17, 2022 5:08 pm

Re: Calc crashes with fatal error - Bad allocation

Post by Carlatapache »

Sep 17th, 2022 OpenOffice 4.1.13 Windows 11 Home ... apache worked prior to apache recent update here during summer, and I am the sole adminsitrator of this pc-windows: Basoícally this is same solutions as previous contributors except 'Run OpenOffice' as ADMINSTRATOR:
to start: on your desk top:
1) right click OpenOffice 4.1.13 icon choose: 'Run as administrator'
2) 'Do you want to allow this app...' choose: 'Yes'
3) open your 'File Explorer' to adjust access settings ... go this pc ... go drive OC (C:) ... go Program Files (x86) ... right click 'OpenOffice 4' folder
4) choose 'Show more options' and the choose 'Properties'
5) as other contributors above ... choose fan in the top beam ... 'Security' then click 'Edit'
5a click ALL APPLICATION PACKAGES and then choose 'Allow' ... all will be chosen....meaninf ball boxes checked (except for not relevant options).
5b ALL RESTRICTED APP PACKAGES and then choose 'Allow' ... all will be chosen.
5c repeat all the next and finished at:
5d 'TrustedInstaller' and then choose 'Allow' ... all will be chosen.
6) choose 'Apply'
7) restart

... let me k now CPH in CPH
OpenOffice 4.1.13
Post Reply