JavaFX program crashes with SIGSEGV

Bug #1831746 reported by Daniel Ackermann
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openjdk-lts (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Command line used:
(generated by intellij, but tested without intellij)

/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java --module-path /usr/share/openjfx/lib --add-modules=javafx.controls --add-modules javafx.base,javafx.graphics --add-reads javafx.base=ALL-UNNAMED --add-reads javafx.graphics=ALL-UNNAMED -Dfile.encoding=UTF-8 -classpath /home/daniel/programs/PK1/out/production/PK1:/usr/share/openjfx/lib/src.zip:/usr/share/openjfx/lib/javafx.web.jar:/usr/share/openjfx/lib/javafx.base.jar:/usr/share/openjfx/lib/javafx.fxml.jar:/usr/share/openjfx/lib/javafx.media.jar:/usr/share/openjfx/lib/javafx.swing.jar:/usr/share/openjfx/lib/javafx.controls.jar:/usr/share/openjfx/lib/javafx.graphics.jar Testing.Main

I will also attach my java code for reproduction.

Revision history for this message
Daniel Ackermann (dexec) wrote :
Revision history for this message
Daniel Ackermann (dexec) wrote :
Revision history for this message
Daniel Ackermann (dexec) wrote :

You can reproduce the bug like this:

After launching the program, enter any string, hit enter, enter a number, and hit enter again. The program should crash.

in case you need any further information/help, please feel free to ask :)

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-lts (Ubuntu):
status: New → Confirmed
Revision history for this message
Vladimir Petko (vpa1977) wrote :
Download full text (3.2 KiB)

$/usr/lib/jvm/java-11-openjdk-amd64/bin/javac --module-path /usr/share/openjfx/lib --add-modules=javafx.controls --add-modules javafx.base,javafx.graphics --add-reads javafx.base=ALL-UNNAMED --add-reads javafx.graphics=ALL-UNNAMED -classpath /home/daniel/programs/PK1/out/production/PK1:/usr/share/openjfx/lib/src.zip:/usr/share/openjfx/lib/javafx.web.jar:/usr/share/openjfx/lib/javafx.base.jar:/usr/share/openjfx/lib/javafx.fxml.jar:/usr/share/openjfx/lib/javafx.media.jar:/usr/share/openjfx/lib/javafx.swing.jar:/usr/share/openjfx/lib/javafx.controls.jar:/usr/share/openjfx/lib/javafx.graphics.jar:. mainpackage/Audio.java
mainpackage/Audio.java:5: error: cannot find symbol
public class Audio extends Medium {
                           ^
  symbol: class Medium
mainpackage/Audio.java:34: error: method does not override or implement a method from a supertype
    @Override
    ^
mainpackage/Audio.java:37: error: cannot find symbol
                super.getId(), super.getTitel(), this.getInterpret(), super.getJahr(), this.getDauer());
                ^
  symbol: variable super
  location: class Audio
mainpackage/Audio.java:37: error: cannot find symbol
                super.getId(), super.getTitel(), this.getInterpret(), super.getJahr(), this.getDauer());
                               ^
  symbol: variable super
  location: class Audio
mainpackage/Audio.java:37: error: cannot find symbol
                super.getId(), super.getTitel(), this.getInterpret(), super.getJahr(), this.getDauer());
                                                                      ^
  symbol: variable super
  location: class Audio
mainpackage/Audio.java:40: error: method does not override or implement a method from a supertype
    @Override
    ^
mainpackage/Audio.java:42: error: cannot find symbol
        if (super.equals(o)) {
            ^
  symbol: variable super
  location: class Audio
mainpackage/Audio.java:51: error: cannot find symbol
        return Objects.hash(super.hashCode(), this.getDauer(), this, getInterpret());
                            ^
  symbol: variable super
  location: class Audio
8 errors

$ /usr/lib/jvm/java-11-openjdk-amd64/bin/javac --module-path /usr/share/openjfx/lib --add-modules=javafx.controls --add-modules javafx.base,javafx.graphics --add-reads javafx.base=ALL-UNNAMED --add-reads javafx.graphics=ALL-UNNAMED -classpath /home/daniel/programs/PK1/out/production/PK1:/usr/share/openjfx/lib/src.zip:/usr/share/openjfx/lib/javafx.web.jar:/usr/share/openjfx/lib/javafx.base.jar:/usr/share/openjfx/lib/javafx.fxml.jar:/usr/share/openjfx/lib/javafx.media.jar:/usr/share/openjfx/lib/javafx.swing.jar:/usr/share/openjfx/lib/javafx.controls.jar:/usr/share/openjfx/lib/javafx.graphics.jar:. Testing/Main.java
Testing/Main.java:2: error: package Gui does not exist
import Gui.AudioErfassung;
          ^
Testing/Main.java:14: error: cannot find symbol
        AudioErfassung audioErfassung = new AudioErfassung(primaryStage);
        ^
  symbol: class AudioErfassung
  location: class Main
Testing/Main.java:14: error: cannot find symbol
        AudioErfassung audioErfassung = new AudioErfassung(primaryStage);
                                         ...

Read more...

Revision history for this message
Vladimir Petko (vpa1977) wrote :

Hi, sorry for the extremely late reply.

Compiling the sample results in a build error. Would it be possible to provide a complete example?

Changed in openjdk-lts (Ubuntu):
status: Confirmed → Incomplete
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
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.