Page 1 of 2

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

Posted: Tue Jul 26, 2016 11:14 am
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?

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

Posted: Tue Jul 26, 2016 11:35 am
by floris v
Reset your user profile. Click here for help how to do that.

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

Posted: Tue Jul 26, 2016 11:51 am
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.

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

Posted: Tue Jul 26, 2016 11:58 am
by floris v
Sorry, I thought that was the program folder, not on a Mac myself. :oops:

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

Posted: Tue Jul 26, 2016 10:19 pm
by Hagar Delest
Seems related to *nix systems and especially Mac, see this query...

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

Posted: Tue Aug 02, 2016 2:25 pm
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.

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

Posted: Tue Aug 02, 2016 9:44 pm
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).

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

Posted: Wed Aug 03, 2016 9:28 am
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?

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

Posted: Wed Aug 03, 2016 9:49 am
by RoryOF
Note that, on a Mac, Options is under Preferences.

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

Posted: Wed Feb 08, 2017 10:54 am
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...

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

Posted: Tue Apr 11, 2017 8:10 pm
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.

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

Posted: Wed Apr 12, 2017 11:50 pm
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

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

Posted: Wed Jun 14, 2017 11:42 pm
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

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

Posted: Fri Sep 08, 2017 12:02 am
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.

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

Posted: Fri Sep 15, 2017 12:03 am
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.

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

Posted: Sun Jan 21, 2018 10:39 am
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.

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

Posted: Sat Jan 27, 2018 12:42 pm
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)

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

Posted: Wed Feb 07, 2018 11:32 am
by pekka1980
I was about to give up on Open Office, but quitting the Magnet app finally restored sanity.
Thanks @hanso!

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

Posted: Thu Feb 22, 2018 5:00 pm
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,

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

Posted: Fri Feb 23, 2018 4:11 pm
by Reknoz
Thank you to all! Deleting Magnet ended the madness!

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

Posted: Mon May 14, 2018 6:50 am
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.

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

Posted: Thu May 31, 2018 12:02 pm
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?

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

Posted: Fri Jul 13, 2018 2:31 am
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 !!!

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

Posted: Thu Jul 19, 2018 5:46 pm
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

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

Posted: Wed Feb 27, 2019 6:16 am
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?

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

Posted: Sat Jul 13, 2019 10:06 pm
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

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

Posted: Sat Oct 19, 2019 3:17 am
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 !!!!!

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

Posted: Thu Oct 31, 2019 2:10 am
by JDQ
Really quite maddening: I was having the same issue with the Magnet app. Thanks guys for restoring (some of) my sanity.

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

Posted: Thu Oct 31, 2019 2:16 am
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"'.

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

Posted: Tue Feb 25, 2020 7:08 am
by dbelina
Deskovery 3 was definately the problem. Seems any program that offers to control windows kills OO's window sizing operations.