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

Gtk: SIGSEGV, when close windows


    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7u6, 7u10
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
    • Environment:

      2.2.0b20, linux ubuntu 10.04x64, JDK7u6b22x64


      Run code:

      import javafx.application.Application;
      import javafx.event.ActionEvent;
      import javafx.event.EventHandler;
      import javafx.scene.Scene;
      import javafx.scene.control.Button;
      import javafx.scene.layout.VBox;
      import javafx.stage.Modality;
      import javafx.stage.Stage;

      public class JavaApplication1 extends Application {

          public static void main(String[] args) {

          public void start(final Stage stage) throws Exception {
              final Stage stageWin = new Stage();
              Button b = new Button("ClickMe");
              b.setOnAction(new EventHandler<ActionEvent>(){

                  public void handle(ActionEvent t) {
                      Button b2 = new Button("Hide");
              b2.setOnAction(new EventHandler<ActionEvent>(){

                  public void handle(ActionEvent t) {
              VBox vb = new VBox();
              Scene scene = new Scene(vb, 300, 300);
              VBox vb2 = new VBox();
              Scene scene2 = new Scene(vb2, 300, 300);

      click on button "click", click on button "hide" on the appeared stage.

      Fatal error:
      # A fatal error has been detected by the Java Runtime Environment:
      # SIGSEGV (0xb) at pc=0x00007fb7280c29c1, pid=26662, tid=140424416970496
      # JRE version: 7.0_06-b22
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.2-b09 mixed mode linux-amd64 compressed oops)
      # Problematic frame:
      # C [libglass.so+0x139c1] Java_com_sun_glass_ui_gtk_GtkWindow__1getNativeWindowImpl+0x1
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      # An error report file with more information is saved as:
      # /home/fx/NetBeansProjects/JavaApplication1/hs_err_pid26662.log
      # If you would like to submit a bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      Java Result: 134


          Issue Links



              • Assignee:
                azvegint Alexander Zvegintsev
                akirov Alexander Kirov (Inactive)
              • Votes:
                0 Vote for this issue
                1 Start watching this issue


                • Created: