[Solved] Fatal Error "index out of bounds" when open docs

Issues installing under the Mac OSX - X11 - Aqua
data_me
Posts: 2
Joined: Tue Jul 26, 2016 11:00 am

[Solved] Fatal Error "index out of bounds" when open docs

Post by data_me »

Everytime I try to open a writer document, OO crashes with a Fatal Error "index out of bounds". This also seems to happen when I scroll to the bottom of a completely new document.
Also, something about the interface seem to be broken (see attachment), I see some fields with cryptic characters (I am using a german language pack), but that happened long before it started to crash.

I tried reinstalling OO after deleting the whole folder "user/library/Application Support/OpenOffice", but it does not help.

Any suggestions?
Attachments
Bildschirmfoto 2016-07-26 um 11.07.23.png
Bildschirmfoto 2016-07-26 um 10.23.22.png
Last edited by Hagar Delest on Wed Feb 07, 2018 11:39 pm, edited 1 time in total.
Reason: tagged [Solved].
OpenOffice 4.1.2 on OSX 11.3 (MB Pro)
User avatar
floris v
Volunteer
Posts: 4422
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by floris v »

Reset your user profile. Click here for help how to do that.
OpenOffice 4.1.11 on Ubuntu; LibreOffice 6.4 on Linux Mint, LibreOffice 7.6.2.1 on Ubuntu
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
data_me
Posts: 2
Joined: Tue Jul 26, 2016 11:00 am

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by data_me »

floris v wrote:Reset your user profile. Click here for help how to do that.
As mentioned above, I deleted the complete OpenOffice folder in "user/library/Application Support" where the user folder exists (I had no profile settings I needed to keep), but it didn't help.
OpenOffice 4.1.2 on OSX 11.3 (MB Pro)
User avatar
floris v
Volunteer
Posts: 4422
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by floris v »

Sorry, I thought that was the program folder, not on a Mac myself. :oops:
OpenOffice 4.1.11 on Ubuntu; LibreOffice 6.4 on Linux Mint, LibreOffice 7.6.2.1 on Ubuntu
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
User avatar
Hagar Delest
Moderator
Posts: 32627
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by Hagar Delest »

Seems related to *nix systems and especially Mac, see this query...
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
martinwinlow
Posts: 22
Joined: Sun Aug 23, 2015 5:15 pm

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by martinwinlow »

I am getting this too. I renamed my 'User' profile and it worked fine... for a few days. Now the issue is back and renaming User does not work any more. I have 4.1.2 running on a 2009 iMac with OSX V10.11.5. I am opening small (30k) odg files with a fair amount of drawing content.
OpenOffice 4.1.2 MacOS10.11.6
User avatar
Hagar Delest
Moderator
Posts: 32627
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by Hagar Delest »

I've just sent a mail on the dev mailing list, we will see if someone has an idea at least to put us on the right path: Index out of bounds (on the dev mailing list with Mail Archive).
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Bidouille
Volunteer
Posts: 574
Joined: Mon Nov 19, 2007 10:58 am
Location: France

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by Bidouille »

data_me wrote:Everytime I try to open a writer document
First, could you provide this document so that we can test it?
data_me wrote:This also seems to happen when I scroll to the bottom of a completely new document.
Second, did you increase cache memory resources into Tools > Options menu?
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by RoryOF »

Note that, on a Mac, Options is under Preferences.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Premislaus
Posts: 1
Joined: Wed Feb 08, 2017 10:50 am

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by Premislaus »

Hello,

I would like to report the same problem (i.e. fatal error with crash 'index out of bounds'), but for me it doesn't have any connection to the images or anything. It crashes just every time after some seconds.

I tried reseting the profile, reinstalling Openoffice, renaming the "extension.db" and making the cache bigger (even if it seems for me totally irrelevant, due to no images in my documents...)

I would be grateful for help and solving the problem, for now OpenOffice is totally down for me, impossible to work on...
macOS Sierra 10.12.3
OpenOffice 4.1.3
bugjah
Posts: 10
Joined: Tue Apr 11, 2017 7:56 pm

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by bugjah »

I have the same problem. I had it now with several different documents over the last days.

I followed these steps to try to fix the problem.

1) Updated from Oo 4.1.2 to 4.1.3
Same problem

2) renamed user folder in /Users/[my_user]/Library/Application Support/OpenOffice, restarted OpenOffice
Same problem.

3) deleted Open Office. Deleted new User folder in /Users/[my_user]/Library/Application Support/OpenOffice. Deleted Oo preference file in /Users/[my_user]/Library/Preferences. Reinstalled OpenOffice 4.1.3 from a new download.
Same problem

4) Deleted Java and Java legacy. Reinstalled them from new downloads. Opened OpenOffice, navigated to Preferences/Java, "Use a Java Runtime Environment" is Checked, and selected the java legacy library in the window below.
Same problem.

5) Increased OpenOffice memory and image caches.
Same problem

6) Uninstalled OpenOffice as in step 3 above. Reinstalled OpenOffice 3.4.1
Fixed! Currently running for 24 hours without a "index out of bounds" crash

My conclusion is that there is a problem with Open Office 4.1 on MacOsX Sierra in some configurations.

Please let me know if I can post any other info to help solve this problem.
Open Office 4.1.15 with MacOS 10.14.6
User avatar
Hagar Delest
Moderator
Posts: 32627
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by Hagar Delest »

Thanks for the feedback!

You can file a bug report: [Tutorial] Reporting bugs or suggestions.
Or you can send a message to the dev mailing list (give the url of this page if you don't want to rewrite the whole post). See: https://openoffice.apache.org/mailing-l ... ist-public
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
bugjah
Posts: 10
Joined: Tue Apr 11, 2017 7:56 pm

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by bugjah »

sorry for the slow update to this thread, but I was wrong above, unfortunately. The 3.4.1 installation crashes too. I am back to 4.1.3 and I am still getting frequent crashes. It's really an unfortunate situation.

I will try to fill out a bug report soon
Open Office 4.1.15 with MacOS 10.14.6
swashbuck
Posts: 1
Joined: Thu Sep 07, 2017 11:58 pm

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by swashbuck »

I'm experiencing this on Mac OS Sierra and OpenOffice 4.1.3, too. Seems to have happened either after I added a new user to my system or after I changed file permissions. Could be unrelated, though.
OpenOffice 4 on MacOS Sierra
kurta
Posts: 1
Joined: Thu Sep 14, 2017 8:38 pm

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by kurta »

I've been seeing this problem for more than six months now. Have finally given up on OpenOffice. Hate to say it, but as bloated as Windblows Office 2007 is, at least it doesn't crash every time I use it.
OpenOffice on 4.1.3 on MacOS 10.12.5
Hanso
Posts: 1
Joined: Sun Jan 21, 2018 10:35 am

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by Hanso »

I had the same issue but luckily I found a SOLUTION that worked for me. I tried several versions of the software and also resetting my profile on each attempt, but to no use.

The solution was to quit the mac app Magnet which helps you resize windows on your desktop. I have emailed them regarding the issue.
Open office 4.1.5
Mac OS High Sierra 10.13.2
macooffice
Posts: 1
Joined: Sat Jan 27, 2018 12:31 pm

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by macooffice »

I had the same problems for the last 6-8 month and was about to give up on OO on Mac.
Getting "index out of bounds" error and crash when:
- clicking on a grey empty area next to the page
- clicking on the last page of a document into an area where the there was no (filled or empty) text line.
- using the mac osx mission control ('show all windows') and then switch to OO

I tried a lot of uninstalling and re-installing nothing worked .


But Hanso's tip nailed it :bravo:

The moment I turned off the magnet app OO worked fine and there were no more crashes

So for any mac user experiencing this problem - check on potential software conflicts with magnet app (or similar apps)
OpenOffice 4.1.5
MacOS 10.13
pekka1980
Posts: 1
Joined: Wed Feb 07, 2018 11:29 am

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by pekka1980 »

I was about to give up on Open Office, but quitting the Magnet app finally restored sanity.
Thanks @hanso!
OpenOffice 4.1 on MacOS
arkheron
Posts: 1
Joined: Thu Feb 22, 2018 4:57 pm

Re: [Solved] Fatal Error "index out of bounds" when open doc

Post by arkheron »

I just had the same issue, and had to deactivate BetterTouchTools which has similar functionalities than Magnet. That would tend to indicate that the issue comes from OpenOffice, if two different apps with similar features cause the same crash?
Best,
- Mathiev
OpenOffice 4.1.5
Mac OS X 10.11.6
Reknoz
Posts: 1
Joined: Fri Feb 23, 2018 4:06 pm

Re: [Solved] Fatal Error "index out of bounds" when open doc

Post by Reknoz »

Thank you to all! Deleting Magnet ended the madness!
OpenOffice 4.1.5 on Mac OS 10.13.3
heyycap
Posts: 1
Joined: Mon May 14, 2018 6:44 am

Re: [Solved] Fatal Error "index out of bounds" when open doc

Post by heyycap »

I had the same problem, and upon reading your posts I realized I have a similar app, RightZoom. It allows you to exclude specific apps, so I added OpenOffice to my list of exclusions, and lo and behold, I can now do no wrong in OpenOffice Writer. I can drop in images, click in gray space, etc. and not get an error.

The problem is definitely with OO.
OpenOffice 4.1.5 on OS X 10.11.6 and Windows 10
deepakvrao
Posts: 1
Joined: Thu May 31, 2018 11:58 am

Re: [Solved] Fatal Error "index out of bounds" when open doc

Post by deepakvrao »

Thanks guys.

BTT and Magnet caused issues for me. All good now.

Any idea which windows manager does NOT crash OO. Anyone tried SizeUp?
Open Office 4.1.5 on Mac OS High Sierra
Sunra956
Posts: 4
Joined: Thu May 10, 2018 7:42 am

Re: [Solved] Fatal Error "index out of bounds" when open doc

Post by Sunra956 »

Hanso, great call!! Indeed turning off magnet solved it for me also. Hopefully the folks at magnet will figure out the conflict, and create a fix. Whatever it is probably affects apps other than OpenOffice. Thanks again !!!
OpenOffice 4.1.5 on MacOS 10.13.4
User avatar
MrProgrammer
Moderator
Posts: 4895
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: [Solved] Fatal Error "index out of bounds" when open doc

Post by MrProgrammer »

These software products may be incomptaible with OpenOffice. If you want to use OpenOffice, you can remove the one you've installed and undo the changes to your Mac (especially Accessibility settings in System Preferences) which you performed during its installation.
AquaSnap    BetterSnapTool   BetterTouchTool   Breeze
Cinch       Divvy            DoublePane        Flexiglass
HyperDock   iSnap            LazyMouse         Magnet
Moom        RightZoom        ShiftIt           SizeUp
SizeWell    Spectacle        Stay              TileWindows
WindowTidy
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
dbelina
Posts: 2
Joined: Wed Feb 27, 2019 6:10 am

Re: [Solved] Fatal Error "index out of bounds" when open doc

Post by dbelina »

I found that Deskovery3 also create an index out of bounds error and the the program fails. The common thread seems to be applications on the Mac Mojave (and maybe earlier versions) that manage windows create the fault?
Mac Mojave - Open Office 4.1.6
RStrasser
Posts: 1
Joined: Sat Jul 13, 2019 9:55 pm

Re: [Solved] Fatal Error "index out of bounds" when open doc

Post by RStrasser »

Smart Scroll ver 4.4.1 is not compatible with OpenOffice 4.1.6 running on MacOS Mojave. You get Fatal Error, index out of bounds
OpenOffice 4.1.6, macOS Mojave 10.14.5
Rhythmattic
Posts: 1
Joined: Sat Oct 19, 2019 3:15 am

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by Rhythmattic »

Hanso wrote:I had the same issue but luckily I found a SOLUTION that worked for me. I tried several versions of the software and also resetting my profile on each attempt, but to no use.

The solution was to quit the mac app Magnet which helps you resize windows on your desktop. I have emailed them regarding the issue.
THIS !!!!!
With Magnet Pro you can choose it on a per app basis...
Thank you !!!!!
Open Office 4.1.7 on OSX 10.13.6
JDQ
Posts: 3
Joined: Tue Jan 31, 2017 10:56 pm

Re: [Solved] Fatal Error "index out of bounds" when open doc

Post by JDQ »

Really quite maddening: I was having the same issue with the Magnet app. Thanks guys for restoring (some of) my sanity.
OpenOffice 4.1.7, macOS 10.14.6
JDQ
Posts: 3
Joined: Tue Jan 31, 2017 10:56 pm

Re: Fatal Error "index out of bounds" when open docs [OO 4.1

Post by JDQ »

Rhythmattic wrote:THIS !!!!!
With Magnet Pro you can choose it on a per app basis...
Thank you !!!!!
To do this, bring an OpenOffice window into focus (i.e. it should say OpenOffice in the upper left hand corner of the menu bar), then click on the Magnet tray icon, and select 'Ignore "Open Office"'.
OpenOffice 4.1.7, macOS 10.14.6
dbelina
Posts: 2
Joined: Wed Feb 27, 2019 6:10 am

Re: [Solved] Fatal Error "index out of bounds" when open doc

Post by dbelina »

Deskovery 3 was definately the problem. Seems any program that offers to control windows kills OO's window sizing operations.
Mac Mojave - Open Office 4.1.6
Post Reply