Issue 126063 - JavaFx Extension causes OpenOffice to crash in Linux
Summary: JavaFx Extension causes OpenOffice to crash in Linux
Status: UNCONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 4.1.1
Hardware: PC Linux, all
: P2 Major
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: crash, needmoreinfo
Depends on:
Blocks:
 
Reported: 2015-01-26 13:38 UTC by Arch
Modified: 2019-04-29 22:37 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Arch 2015-01-26 13:38:42 UTC
OpenOffice crashes when i'm trying to launch an addon in linux, but it fine in windows. Addon is written in javafx. The crash happens occasionally not always and it happens only at the launch, if program loads then it works fine.

Tried to debug from code, crash happens on the line where javafx thread is launching in init method: 

   Platform.runLater(new Runnable() {
            @Override
            public void run() {
             ...
            }
        });

There is no exception/error thrown, just crash.
Comment 1 Kay 2015-01-27 22:37:31 UTC
Please specify Linux OS you're using, and, do you have the same Java version on both your Windows and Linux machine?
Comment 2 Arch 2015-01-28 07:42:54 UTC
(In reply to Kay from comment #1)
> Please specify Linux OS you're using, and, do you have the same Java version
> on both your Windows and Linux machine?

Have tested it on Centos 6.5/7, Ubuntu 12.04.01(x64), Arch Linux(x64) on latest Oracle java 7 and 8, also on java 7u55/7u64/7u72.
Comment 3 Ariel Constenla-Haile 2015-01-28 09:10:09 UTC
Can you attach a test case to reproduce this? Ideally, not the compiled OXT, but source code (it does not need to actually do something, it can be a dummy extension with the minimal code in order to reproduce it).
Comment 4 Ariel Constenla-Haile 2015-01-28 09:33:59 UTC
My guessing is that this is the same bug seen with SwingUtilities.invokeLater()
Comment 5 Arch 2015-01-29 07:09:32 UTC
(In reply to Ariel Constenla-Haile from comment #4)
> My guessing is that this is the same bug seen with
> SwingUtilities.invokeLater()

Yes SwingUtilities.invokeLater() is bugged as well, had to remove it in my project otherwise oo would freeze every time I tried to launch addon.
Will make simple project and post to demonstrate the issue.