Bug 96696 - System with OSX 10.11, LO 5.1.0.1, JRE 1.8.0_60 freezes on FILEOPEN of a split database
Summary: System with OSX 10.11, LO 5.1.0.1, JRE 1.8.0_60 freezes on FILEOPEN of a spli...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
5.1.0.1 rc
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-23 17:48 UTC by jay Arr
Modified: 2015-12-25 17:34 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jay Arr 2015-12-23 17:48:24 UTC
To replicate the problem:

Ensure you are using and Apple Mac system with  OSX 10.11.* (El Capitan)
Have LO 5.1.0.1 and JRE 1.8.0_60 installed 

Go to this URL https://forum.openoffice.org/en/forum/viewtopic.php?t=61183
which specifies how to create a split database

download the split database wizard file:
Split_HSQLDB_2.3.2_Wizard_v3d.odb

Attempt to open this odb and see that you system has frozen and locked up.

The only way to recover you system other than a reboot (you are unable to Force Quit)
is to have the Activity monitor running and abort the LO process.

FYI the activity monitor reports >100% CPU for the LO process.

NB I have tried to make this problem as simple as possible to reproduce if necessary I can make available my split database application which successfully runs unchanged on
all OSXs except 10.11, windows 7 & 10, ubuntu 14.10 with various versions of LO (both Fress & Still) and several recent version of the JRE.  

When attempting to open this application in the bug-report-environment it exhibits the same lock system freeze. 

My conclusion is that there is a serious initiation problem with OSX 10.11 & LO/Java when attempting to open a split database.
Comment 1 Alex Thurgood 2015-12-24 08:05:06 UTC
@jay : do you also have Apple Java 1.6 for OSX ?
Comment 2 Alex Thurgood 2015-12-24 08:10:15 UTC
@jay : the split database odb file uses macros to setup the environment. I imagine, although I haven't inspected the macro code, that it does this on first load. There is currently a bug in OSX versions of LibreOffice that prevents onOpen/onLoad events from firing. This could be the reason, or one of the reasons why this particular ODB file doesn't open properly and eventually causes LO to use up all system resources.
Comment 3 Alex Thurgood 2015-12-24 08:54:07 UTC
No repro

Version: 5.2.0.0.alpha0+
Build ID: 330127baf96c417e0eeaef9808d124788b547cf3
CPU Threads: 2; OS Version: -; UI Render: default; 
Locale: fr-FR (fr.UTF-8)

OSX 10.11.2

Oracle Java JDK 1.8.0_66
Apple Java 1.6 for OSX

hsqldb 2.3.2 JAR added to my JAR archive path

I can create a split database from the ground up, create a table, for example, the DVD-Collection, add data - it works.
Comment 4 Alex Thurgood 2015-12-24 08:58:36 UTC
I can however confirm that the SplitDatabase.odb file uses macros which require onLoad or onOpen events to be detected. This is currently a bug, reported as bug 95191
Comment 5 Alex Thurgood 2015-12-24 09:01:29 UTC
Note that I'm using an Oracle JDK and not a JRE.
Comment 6 jay Arr 2015-12-24 17:39:27 UTC
(In reply to Alex Thurgood from comment #1)
> @jay : do you also have Apple Java 1.6 for OSX ?

I have this but did not install it at the time of my Bug report


I will install it now and re-tesr
Comment 7 jay Arr 2015-12-24 17:41:34 UTC
(In reply to Alex Thurgood from comment #3)
> No repro
> 
> Version: 5.2.0.0.alpha0+
> Build ID: 330127baf96c417e0eeaef9808d124788b547cf3
> CPU Threads: 2; OS Version: -; UI Render: default; 
> Locale: fr-FR (fr.UTF-8)
> 
> OSX 10.11.2
> 
> Oracle Java JDK 1.8.0_66
> Apple Java 1.6 for OSX
> 
> hsqldb 2.3.2 JAR added to my JAR archive path
> 
> I can create a split database from the ground up, create a table, for
> example, the DVD-Collection, add data - it works.

If possible could you please point me in the direction of 
LO  Version: 5.2.0.0.alpha0+
I would like to install this and re-create your environment detailed above
and test with my split application database
In anticipation - thanks
Comment 8 steve 2015-12-25 17:34:09 UTC
Find the latest nightly (currently 5.2) here:
http://dev-builds.libreoffice.org/daily/master/MacOSX-x86_64@49-TDF/