Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#63452 - SweetHome3D only shows splash screen and then stops

Attached to Project: Community Packages
Opened by Guido (guidoj) - Tuesday, 13 August 2019, 12:13 GMT
Last edited by Muflone (muflone) - Sunday, 25 August 2019, 15:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Muflone (muflone)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
SweetHome3D fails to launch. It only shows the splash screen and then exits. From the command line it returns the following error:

$ sweethome3d
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by javax.media.j3d.JoglPipeline (file:/usr/lib/sweethome3d/java3d-1.6/j3dcore.jar) to method sun.awt.AppContext.getAppContext()
WARNING: Please consider reporting this to the maintainers of javax.media.j3d.JoglPipeline
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!

Additional info:
* package version(s)
sweethome3d 6.2-1
jdk-openjdk 12.0.2.u10-1
jre-openjdk 12.0.2.u10-1
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
Install sweethome3d using pacman and run it
This task depends upon

Closed by  Muflone (muflone)
Sunday, 25 August 2019, 15:09 GMT
Reason for closing:  Won't fix
Additional comments about closing:  NVIDIA drivers with Java3D 1.6
Comment by Guido (guidoj) - Tuesday, 13 August 2019, 12:36 GMT
Using jdk8-openjdk-8.u222-2 it does get further but then stops with this error:

$ sweethome3d
com.jogamp.opengl.GLException: J3D-Renderer-1: Error making temp context(1) current: display 0x7f8460214390, context 0x7f84604821b8, drawable X11OnscreenGLXDrawable[Realized true,
Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@62208e71,
Handle 0x62000a1,
Surface JAWTWindow[0x3e9294b9][JVM version: 1.8.0_222 (1.8.0 update 222)
JAWT version: 0x10004, CA_LAYER: false, isLayeredSurface false, bounds [ 0 / 0 735 x 365 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pixelScale 1.0x1.0, shallUseOffscreenLayer false, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x62000a1, surfaceHandle 0x62000a1, bounds [ 0 / 0 735 x 365 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], window [0/0 735x365], pixels[scale 1.0, 1.0 -> 735x365], visible true, lockedExt false,
config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection :0.0, unitID 0, awtDevice X11GraphicsDevice[screen=0], handle 0x0], idx 0],
chosen GLCaps[glx vid 0x28, fbc 0xaf: 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=0],vis=0x28],
encapsulated X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x7f8460214390, owner true, JAWTToolkitLock[obj 0x7c927921, isOwner true, <6c67efc3, ad2a738>[count 1, qsz 0, owner <J3D-Renderer-1>]]], idx 0], visualID 0x28, fbConfigID 0xaf,
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 0xaf: 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[canvas2,0,0,735x365],
surfaceLock <3aa852a5, 67772f25>[count 1, qsz 0, owner <J3D-Renderer-1>]]]
at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:393)
at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:765)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:648)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:586)
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)
Error in Java 3D : 3 Renderer: Error creating Canvas3D graphics contextX11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 2/2, reusable (open, marked uncloseable): 0, pending (open in creation order): 2)
X11Util: Open X11 Display Connections: 2
X11Util: Open[0]: NamedX11Display[:0, 0x7f8460032300, refCount 1, unCloseable false]
X11Util: Open[1]: NamedX11Display[:0, 0x7f8460214390, refCount 1, unCloseable false]

Using the nvidia 430.40-4 driver
Comment by Guido (guidoj) - Tuesday, 13 August 2019, 12:49 GMT
Running

export SWEETHOME3D_JAVA3D="1.5"; sweethome3d

works with either java 1.8.0_222 or java 12.0.2
Comment by Muflone (muflone) - Sunday, 25 August 2019, 15:08 GMT
That's an issue with the NVIDIA drivers that doesn't work well with Java3D 1.6
As explained during the installation process you can switch to Java3D 1.5 using
SWEETHOME3D_JAVA3D=1.5 sweethome3d
or set the SWEETHOME3D_JAVA3D environment variable in your profile

Loading...