openjdk crash: jdk11+eclipse+jformdesigner

Bug #1875918 reported by zprd
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-lts (Ubuntu)
Expired
Low
Unassigned
Focal
Expired
Undecided
Unassigned

Bug Description

Eclipse crashes when right clicking on any form or panel, when editing a jfd (jformdesigner) file.

The jfd plugin works fine with Adopt openjdk 11.0.7_10 and 11.0.2

no particular stacktrace or log even in debug mode of eclipse. exit code 127.

Very annoying problem. Might be a patch causing the crash?

---
Some notes to ease reproducing this:
1. install openjdk11 from ubuntu repo
2. install eclipse (https://www.eclipse.org/)
3. launch then menu: help -> install new software -> Add.. (new repository) https://download.formdev.com/jformdesigner/eclipse/ -> follow the wizard to install the plugin
4. create new project then new jfd file
5. open jfd file, right click to open contextual menu
-> crash

zprd (zprd)
description: updated
zprd (zprd)
description: updated
description: updated
Matthias Klose (doko)
tags: added: rls-ff-incoming
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

1. install openjdk11 from ubuntu repo

But which version of the package are you using? can you give us the full version of openjdk packages?

$ dpkg-query -W 'openjdk-11*'

Also is openjdk from ubuntu the active jdk implementation?

Can you please give us the output of

$ update-alternatives --get-selections | grep jdk

Changed in openjdk-lts (Ubuntu):
status: New → Incomplete
Revision history for this message
zprd (zprd) wrote :
Download full text (3.5 KiB)

yes the active jdk is ubuntu's

› dpkg-query -W 'openjdk-11*'
openjdk-11-demo
openjdk-11-jdk:amd64 11.0.7+10-3ubuntu1
openjdk-11-jdk-headless:amd64 11.0.7+10-3ubuntu1
openjdk-11-jre:amd64 11.0.7+10-3ubuntu1
openjdk-11-jre-headless:amd64 11.0.7+10-3ubuntu1
openjdk-11-source 11.0.7+10-3ubuntu1

› update-alternatives --get-selections | grep jdk
jaotc auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jaotc
jar auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jar
jarsigner auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jarsigner
java auto /usr/lib/jvm/java-11-openjdk-amd64/bin/java
javac auto /usr/lib/jvm/java-11-openjdk-amd64/bin/javac
javadoc auto /usr/lib/jvm/java-11-openjdk-amd64/bin/javadoc
javap auto /usr/lib/jvm/java-11-openjdk-amd64/bin/javap
jcmd auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jcmd
jconsole auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jconsole
jdb auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jdb
jdeprscan auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jdeprscan
jdeps auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jdeps
jexec auto /usr/lib/jvm/java-11-openjdk-amd64/lib/jexec
jfr auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jfr
jhsdb auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jhsdb
jimage auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jimage
jinfo auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jinfo
jjs auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jjs
jlink auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jlink
jmap auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jmap
jmod auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jmod
jps auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jps
jrunscript auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jrunscript
jshell auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jshell
jstack auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jstack
jstat auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jstat
jstatd auto /usr/lib/jvm/java-11-openjdk-amd64/bin/jstatd
keytool auto /usr/lib/jvm/java-11-openjdk-amd64/bin/keytool
pack200 auto /usr/lib/jvm/java-11-openjdk-amd64/bin/pack200
rmic auto /usr/lib/jvm/java-11-openjdk-amd64/bin/rmic
rmid ...

Read more...

Changed in openjdk-lts (Ubuntu):
importance: Undecided → High
tags: removed: rls-ff-incoming
tags: added: id-5efdfb5fe72a7b574e1370f6
Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :

Running JFormDesigner 7.0.1 works fine under Ubuntu running OpenJDK 11.0.8 (11.0.8+10-0ubuntu1~20.04) - it shows a screen asking for registration. I don't have a license to go further than that. The original report does not clarify if this was the screen that crashed or if one needed a license so the file can be opened - if so, please provide a reproducer that don't require a license to be run.

Unfortunately JFormDesigner's 7.0.2 update disabled running it under Ubuntu's OpenJDK. After creating a new JForm it shows a screen asking the user to download a JVM from AdoptOpenJDK. The company does not provide a bug tracker to follow up on this.

Setting the bug as Incomplete for Focal since we need, at minimum, more detailed debug information to see where the crash is happening on Java and the native stack. A non-proprietary reproducer would be ideal.

Changed in openjdk-lts (Ubuntu Focal):
status: New → Incomplete
Changed in openjdk-lts (Ubuntu):
importance: High → Low
tags: added: fr-562
Revision history for this message
zprd (zprd) wrote :

Changelog of JFormDesigner 7.0.2 now states the following:

Eclipse plug-in on Ubuntu Linux: Disallow using Ubuntu Java to avoid Eclipse crashes. AdoptOpenJDK 11 or later is recommended to run Eclipse on Ubuntu.

Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :

>Changelog of JFormDesigner 7.0.2 now states the following:
>Eclipse plug-in on Ubuntu Linux: Disallow using Ubuntu Java to avoid Eclipse crashes. AdoptOpenJDK 11 or later is recommended to run Eclipse on Ubuntu.

Yes, I noticed that when I was trying to reproduce the issue, as reported in #3.

They disabled it on their own and since we never heard a word I can't tell if they have any interest in getting it working with our OpenJDK. Reports about 7.0.2 not running with our OpenJDK should be reported directly to them, preferably referencing this bug as well.

At the time I did send an email to the company behind the plugin to let them know we tried to take a look and to ask for some debugging data, but never got a reply.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openjdk-lts (Ubuntu) because there has been no activity for 60 days.]

Changed in openjdk-lts (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openjdk-lts (Ubuntu Focal) because there has been no activity for 60 days.]

Changed in openjdk-lts (Ubuntu Focal):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.