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

Reproducible JVM segfault in Gtk after hiding stage in defaultbutton controller action

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • 8
    • 7u21
    • javafx
    • None
    • Debian GNU/Linux Squeeze, JDK 7.0_21-b11

      I have a reproducible SIGSEGV in a project I am writing. The issues seems to boil down to having a Stage that contains a defaultbutton. The button has onAction handler, which in turn hides the Stage. JVM seems to crash consistently with this in the stack:

      GtkView(View).notifyKey(int, int, char[], int) line: 951

      There is no crash if the button is clicked using mouse, or if the Stage is not hidden from the onAction handler.

      Educated guess: the key down event is generated from Gtk, handler is triggered and Stage is hidden, and when the key up event is generated, something goes wrong.

            azvegint Alexander Zvegintsev
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: