Menu

#743 File dialog box opening failure

v_5.x
closed
None
1
2017-09-06
2017-04-16
MartyBal
No

Hi,
I can't open/save any file (project, rendering photo, furniture/library) in SH3D : each time the program tries to open a file dialog box, it crashes.

Log :
A fatal error has been detected by the Java Runtime Environment:
EXCEPTIONACCESSVIOLATION (0xc0000005) at pc=0x000000006b0e6adf, pid=9064, tid=5252
JRE version: Java(TM) SE Runtime Environment (8.051-b16) (build 1.8.051-b16)
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.51-b03 mixed mode windows-amd64 compressed oops)
Problematic frame:
C [msvcr100.dll+0x36adf]
Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

  • Run as administrator does not solve the issue.
  • Win 8 compatibility mode does not solve the issue.
  • Adding JavaPath to environment variables does not solve the issue.

Would you please have any idea to solve this issue ?
Thank you by advance, have a nice day.

Discussion

  • MartyBal

    MartyBal - 2017-04-16

    Additionnal information :
    using Windows 10,
    CPU : i5-7200u,
    gfx : Intel HD Graphics 620 + AMD Radeon R5 M420

     

    Last edit: MartyBal 2017-04-16
  • Emmanuel Puybaret

    Did you install Windows 10 Creator update released a few days ago?

     
    • MartyBal

      MartyBal - 2017-04-16

      Hi,
      Yes, I installed Windows 10 Creator realease (new computer).

       
  • Emmanuel Puybaret

    Could you install Java, download JFileChooserTest.jar attached to this ticket, and double-click on it to check if it crashes too or not. This Jar executable file contains the following very simple program that displays a file dialog:

    import javax.swing.*;
    
    public class JFileChooserTest {
      public static void main(String [] args) throws Exception {
        UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        new JFileChooser().showSaveDialog(new JFrame());
      }
    }
    
     
  • MartyBal

    MartyBal - 2017-04-17

    Yes it crashes too (logs sent by PM).

     
  • Emmanuel Puybaret

    Here's a temporary Jar executable (version 5.4a) that should circumvent this issue while Microsoft or Oracle fix this bug.

    Update: See also my comment posted on 4/29 for a working solution with the installer version.

     

    Last edit: Emmanuel Puybaret 2017-04-30
  • bdfd

    bdfd - 2017-04-18

    Hi,

    Thanks Manu.
    This jar works, excep the rendering photo.
    It's a big step...

     

    Last edit: bdfd 2017-04-18
  • Emmanuel Puybaret

    Why the rendering wouldn't work??? If you need to increase the max memory used by the program, run it with the java command and the -Xmx option:

    java -Xmx2g -jar path/to/SweetHome3D-5.4a.jar
    
     
  • MartyBal

    MartyBal - 2017-04-18

    Hi,
    The jar works fine for me, the rendering aswell.
    Good job and thank you again Emmanuel !

     
  • Corey Rhoades

    Corey Rhoades - 2017-04-25

    Thank you very much for pulling this together so quickly! It works for me and while I have not tested everything I have encountered only one issue. When launching I get the following error.

    Can't find the name of Intel ICD OpenGL driver.

    It pops up several times when I launch and I have to click 'ok' each time. eventually the program launches and doesn't seem to have any other issues.

    Any advice on how to fix this error?

    i7-6820HQ | 32GB ram | Gforce 940MX

     
    • Emmanuel Puybaret

      Thanks for your report.
      Your issue Can't find the name of Intel ICD OpenGL driver looks like the one reported in bug #741. Please let's continue to deal with that error there.

       
  • Emmanuel Puybaret

    This issue was reported in Java bug database, so let's hope it will be fixed soon.
    Meanwhile, here's a workaround which should work with the installer version. Create a text file named SweetHome3D.l4j.ini in the same folder as SweetHome3D.exe and write the following line in it (with the starting hyphen):

    -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel

    Setting this property will change the look and feel used in Sweet Home 3D, with one that doesn't cause problem. You can also download the file attached to this comment and copy it in the installation folder of Sweet Home 3D.

     

    Last edit: Emmanuel Puybaret 2017-04-29
  • Corey Rhoades

    Corey Rhoades - 2017-04-30

    Works great! Thank you.

     
  • Emmanuel Puybaret

    Fixed in version 5.5. No need to change the look and feel to make it work now :-)
    Thanks for your patience.

     
  • Emmanuel Puybaret

    • status: open --> closed
     

Log in to post a comment.