Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8233831

DirectoryChooser causes SIGSEGV

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Incomplete
    • Affects Version/s: openjfx13
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:

      Description

      ADDITIONAL SYSTEM INFORMATION :
      Operating System: Manjaro Linux
      KDE Plasma Version: 5.17.2
      KDE Frameworks Version: 5.63.0
      Qt Version: 5.13.1
      Kernel Version: 5.2.21-1-MANJARO
      OS Type: 64-bit
      Processors: 12 × Intel® Core™ i7-8700K CPU @ 3.70GHz
      Memory: 14,6 GiB of RAM

      openjdk 13.0.1 2019-10-15
      OpenJDK Runtime Environment (build 13.0.1+9)
      OpenJDK 64-Bit Server VM (build 13.0.1+9, mixed mode)

      JavaFX 13
      com.sun.javafx.runtime.VersionInfo.getRuntimeVersion(): 13+14

      A DESCRIPTION OF THE PROBLEM :
      Trying to open DirectoryChooser results in segmentation fault and core dump.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Reproducer:
      1) git clone https://github.com/JavaSaBr/JME3-JFX
      2) modify `./src/test/java/com/jme3/jfx/TestJmeToJfxCanvas.java`: add action to button to open chooser dialog:
      ```
              button.setOnAction(event -> {
                  DirectoryChooser directoryChooser = new DirectoryChooser();
                  File selectedDirectory = directoryChooser.showDialog(stage);
              });
      ```
      3) Run this class and click on "BUTTON" button. You will got SIGSEGV.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Open dialog to let user choose directory
      ACTUAL -
      Segmentation fault

      ---------- BEGIN SOURCE ----------
      https://github.com/JavaSaBr/JME3-JFX with modification, see Steps to Reproduce. Executable is `./src/test/java/com/jme3/jfx/TestJmeToJfxCanvas.java`
      ---------- END SOURCE ----------

      FREQUENCY : always


        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kcr Kevin Rushforth
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: