Submitted by Raphael on Sun, 01/03/2021 - 08:02

To all SweetHome3D friends having issues on Ubuntu_20.04++,

 

for those of you having issues with SweetHome3D crashing on ubuntu 20.04 or similar OS.

Correctly saying: For those of you where SweetHome3D is crashing with a similar output like see below, we have a solution

at the bottom of this page:

 

Start command from terminal:

 ~/Programme/SweetHome3D-6.4.2/SweetHome3D

 

Error/Crash message:

Picked up JAVA_TOOL_OPTIONS: -Dcom.eteks.sweethome3d.j3d.useOffScreen3DView=true
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f4161069eba, pid=11777, tid=0x00007f410895a640
#
# JRE version: Java(TM) SE Runtime Environment (8.0_202-b08) (build 1.8.0_202-b08)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.202-b08 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# v  ~BufferBlob::jni_fast_GetLongField
#
# 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/scrapper/sweethome3d/aaaa_NeuGedacht_03/hs_err_pid11777.log
Compiled method (nm)   22895 2865     n 0       sun.awt.X11.XlibWrapper::XFilterEvent (native)
 total in heap  [0x00007f4161a08650,0x00007f4161a089b0] = 864
 relocation     [0x00007f4161a08778,0x00007f4161a087c0] = 72
 main code      [0x00007f4161a087c0,0x00007f4161a089b0] = 496
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

 

Setup Information:

Running SweetHome3D on Ubuntu_20.04 and Ubuntu_20.10 with Nvidia GEFORCE GTX1060 with following setup:

  • export JAVA_TOOL_OPTIONS="-Dcom.eteks.sweethome3d.j3d.useOffScreen3DView=true"

Problem:

  • Opening a bigger SweetHome3D project in the SweetHome3D GUI results in crashes like the error message is showing above. 

Fix:

  • Directly open SweetHome3D from command line with the project to open attached as argument to the command. Now SweetHome3D should properly open your project without issues.

Command:

~/Path/To/SweetHome3D ~/Path/To/Project2Open/projectname.sh3d

 

We did use SweetHome3D for various projects in the past. Right now we are building a datacenter located in the Alps Austria/Europe with the power of SweetHome3D for draft submissions to our construction architect.

 

SweetHome3D thanks for everything.

 

Blog tags