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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • 8
    • Affects Version/s: 7u21
    • Component/s: javafx
    • None
    • Environment:

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: