Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 4
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1208 times and has 3 replies Next Thread
scjo
Member
Member's Avatar

Germany, Berlin
Joined: Sep 12, 2024
Post Count: 53
Status: Offline
Reply to this Post  Reply with Quote 
Furniture Library Editor crashing on Modify Furniture dialog

I installed the FLE for the first time. It opens properly and lets me load a library. But as soon as I open the Modify Furniture dialog, the dialog shows up for a second, and then java crashes.

I tried
- FLE versions: 2.2, 2.1, 2.0
Java:
- Java HotSpot build 25.202-b08 (as comes with SH3D), version "1.8.0_202"
- OpenJDK Runtime Environment, version "1.8.0_202"

All to the same result. FLE v.1.28 does not expose this.

I assume I'm having trouble with some display output routine. But I understand to little for tracking it down, leave alone fixing it. Below is thecomplete crash output of the OpenJDK.

Platform:

$ SweetHome3D-7.5/runtime/bin/java -version
java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)

$ java -version #system installed
openjdk version "11.0.24" 2024-07-16
OpenJDK Runtime Environment (build 11.0.24+8-post-Ubuntu-1ubuntu322.04)
OpenJDK 64-Bit Server VM (build 11.0.24+8-post-Ubuntu-1ubuntu322.04, mixed mode, sharing)

$ uname -a
Linux desktop 6.5.0-45-generic #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Jul 15 16:40:02 UTC 2 x86_64 x86_64 x86_64 GNU/Linux


Error output from SH3D bundled JVM:


com.jogamp.opengl.GLException: J3D-Renderer-2: Error making temp context(1) current: display 0x1febfe0, context 0x21a00b8, drawable X11OnscreenGLXDrawable[Realized true,
Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@733bc078,
Handle 0x2e001fd,
Surface JAWTWindow[0x1fd0a495][JVM version: 1.8.0_202 (1.8.0 update 202)
JAWT version: 0x10004, CA_LAYER: false, isLayeredSurface false, bounds [ 0 / 0 128 x 128 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pixelScale 1.0x1.0, shallUseOffscreenLayer false, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x2e001fd, surfaceHandle 0x2e001fd, bounds [ 0 / 0 128 x 128 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], window [0/0 128x128], pixels[scale 1.0, 1.0 -> 128x128], visible true, lockedExt false,
config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection :0.1, unitID 0, awtDevice X11GraphicsDevice[screen=1], handle 0x0], idx 1],
chosen GLCaps[glx vid 0x28, fbc 0x13f: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
requested GLCaps[rgba 5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
X11GraphicsConfig[dev=X11GraphicsDevice[screen=1],vis=0x28],
encapsulated X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :1, unitID 0, handle 0x1febfe0, owner true, JAWTToolkitLock[obj 0x5d15af40, isOwner true, <77870e7c, 5a1238f4>[count 1, qsz 0, owner <J3D-Renderer-2>]]], idx 0], visualID 0x28, fbConfigID 0x13f,
requested GLCaps[rgba 5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
chosen GLCaps[glx vid 0x28, fbc 0x13f: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]]],
awtComponent com.eteks.sweethome3d.j3d.Component3DManager$ObservedCanvas3D[canvas4,0,0,128x128],
surfaceLock <73e19d2, 5f738d88>[count 1, qsz 0, owner <J3D-Renderer-2>]]]
at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:393)
at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:794)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:677)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:615)
at javax.media.j3d.JoglPipeline.createNewContext(JoglPipeline.java:6411)
at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:4612)
at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2386)
at javax.media.j3d.Renderer.doWork(Renderer.java:881)
at javax.media.j3d.J3dThread.run(J3dThread.java:271)

DefaultRenderingErrorListener.errorOccurred:
CONTEXT_CREATION_ERROR: Renderer: Error creating Canvas3D graphics context
graphicsDevice = X11GraphicsDevice[screen=1]
canvas = com.eteks.sweethome3d.j3d.Component3DManager$ObservedCanvas3D[canvas4,0,0,128x128]
X11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 4/4, reusable (open, marked uncloseable): 0, pending (open in creation order): 4)
X11Util: Open X11 Display Connections: 4
X11Util: Open[0]: NamedX11Display[:1, 0x7fa79c00cdb0, refCount 1, unCloseable false]
X11Util: Open[1]: NamedX11Display[:1, 0x7fa79c1537d0, refCount 1, unCloseable false]
X11Util: Open[2]: NamedX11Display[:1, 0x1eaa7c0, refCount 1, unCloseable false]
X11Util: Open[3]: NamedX11Display[:1, 0x1febfe0, refCount 1, unCloseable false]



Can anybody help me narrowing it down? May I have missed something when installing the FLE or does my system need sum adjustment?
----------------------------------------
Cheers - Joe //
[Sep 14, 2024, 5:55:21 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Keet
Advanced Member
Member's Avatar

Netherlands
Joined: Apr 8, 2022
Post Count: 1225
Status: Offline
Reply to this Post  Reply with Quote 
Re: Furniture Library Editor crashing on Modify Furniture dialog

I reported the same error in this thread.

In a virtual machine with java version 11.0.22 it works.
And in another virtual machine with an old java version 1.7.0_162 it also works.
I got the error using the java version supplied with Sweet Home 3D.
----------------------------------------
Dodecagon.nl
950+ 3D models, manuals, and projects
[Sep 16, 2024, 9:02:02 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
scjo
Member
Member's Avatar

Germany, Berlin
Joined: Sep 12, 2024
Post Count: 53
Status: Offline
Reply to this Post  Reply with Quote 
Re: Furniture Library Editor crashing on Modify Furniture dialog

OK - I will switch over and continue there .

THX so far
----------------------------------------
Cheers - Joe //
[Oct 1, 2024, 12:42:20 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9418
Status: Offline
Reply to this Post  Reply with Quote 
Re: Furniture Library Editor crashing on Modify Furniture dialog

Try to run the Furniture Library Editor with the additional option
-Dcom.eteks.sweethome3d.j3d.version=1.5.2

----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Oct 25, 2024, 2:39:35 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved