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

Mac: Native Save Dialog crashes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 7u10
    • javafx
    • Mac OS X 10.7.5, Mac Pro 2 x 3 GHz Quad-Core Intel Xeon, NVIDIA GeForce GTX 285 + NVIDIA GeForce GTX 120, jdk-7u11-macosx-x64

      If you use the javafx.stage.FileChooser as save dialog (see below) sometimes the dialog crashes (see crashreport). Especially if you use UI-animation in parallel.

      FileChooser fileChooser = new FileChooser();
      fileChooser.setTitle(title);
      fileChooser.setInitialDirectory(initialDirectory);
      fileChooser.getExtensionFilters().add(extensionFilter);
      projectFile = fileChooser.showSaveDialog(((TouchCreatorFXEditor)getEditor()).getStage());

      Thread 57 Crashed:: Java: Thread-67
      0 libsystem_kernel.dylib 0x00007fff88d94ce2 __pthread_kill + 10
      1 libsystem_c.dylib 0x00007fff8f92a7d2 pthread_kill + 95
      2 libsystem_c.dylib 0x00007fff8f91ba7a abort + 143
      3 libjvm.dylib 0x00000001033b4c93 os::abort(bool) + 25
      4 libjvm.dylib 0x00000001034a344e VMError::report_and_die() + 2306
      5 libjvm.dylib 0x00000001033b6387 JVM_handle_bsd_signal + 1073
      6 libsystem_c.dylib 0x00007fff8f97ccfa _sigtramp + 26
      7 libobjc.A.dylib 0x00007fff8661c3d0 objc_msgSend_vtable15 + 16
      8 com.apple.AppKit 0x00007fff8ae8a6bd -[NSCell dealloc] + 344
      9 com.apple.AppKit 0x00007fff8ae8a55b -[NSTextFieldCell dealloc] + 278
      10 libobjc.A.dylib 0x00007fff8662003c (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 434
      11 com.apple.CoreFoundation 0x00007fff8db98915 _CFAutoreleasePoolPop + 37
      12 com.apple.AppKit 0x00007fff8b27722d +[NSSavePanel _crunchyRawUnbonedPanel] + 237
      13 com.apple.AppKit 0x00007fff8b27713e +[NSSavePanel savePanel] + 18
      14 libglass.dylib 0x000000011285cbef Java_com_sun_glass_ui_mac_MacCommonDialogs__1showFileSaveChooser + 127
      15 ??? 0x0000000103ab8f90 0 + 4356542352
      16 ??? 0x0000000103aad333 0 + 4356494131
      17 ??? 0x0000000103aad333 0 + 4356494131
      18 ??? 0x0000000103aad333 0 + 4356494131
      19 ??? 0x0000000103aad333 0 + 4356494131
      20 ??? 0x0000000103aad333 0 + 4356494131
      21 ??? 0x0000000103aad333 0 + 4356494131
      22 ??? 0x0000000103aad333 0 + 4356494131
      23 ??? 0x0000000103aad333 0 + 4356494131
      24 ??? 0x0000000103aad333 0 + 4356494131
      25 ??? 0x0000000103aa74f7 0 + 4356470007
      26 libjvm.dylib 0x000000010328855f JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 557
      27 libjvm.dylib 0x0000000103288a3c JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 256
      28 libjvm.dylib 0x0000000103288b76 JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74
      29 libjvm.dylib 0x00000001032bf4f0 _ZL12thread_entryP10JavaThreadP6Thread + 169
      30 libjvm.dylib 0x00000001034782b4 JavaThread::thread_main_inner() + 134
      31 libjvm.dylib 0x000000010347979a JavaThread::run() + 440
      32 libjvm.dylib 0x00000001033b51b5 _ZL10java_startP6Thread + 173
      33 libsystem_c.dylib 0x00007fff8f9288bf _pthread_start + 335
      34 libsystem_c.dylib 0x00007fff8f92bb75 thread_start + 13

            anthony Anthony Petrov (Inactive)
            srosejfx Steffen Rose (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: