Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

openGL error (sigserv) (solution)

Please login with a confirmed email address before reporting spam

Just to inform the community,

we have faced to the following error with comsol3.5a on OpenSuse 11.2 64bit server :

WARNING: Exception on Toolkit thread
java.lang.NullPointerException
at sun.awt.X11.XWindow.handleXCrossingEvent(Unknown Source)
at sun.awt.X11.XBaseWindow.dispatchEvent(Unknown Source)
at sun.awt.X11.XBaseWindow.dispatchToWindow(Unknown Source)
at sun.awt.X11.XToolkit.dispatchEvent(Unknown Source)
at sun.awt.X11.XToolkit.run(Unknown Source)
at sun.awt.X11.XToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fcf322dd2cc, pid=28181, tid=140527857596688
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (10.0-b22 mixed mode linux-amd64)
# Problematic frame:
# [thread 140528109414672 also had an error]
C [libGL.so.1+0x3e2cc] __glXSetArrayEnable+0xc

The crash appeared randomly, but quite often.

Solution:
use Mesa distributed with Comsol library instead of the system one.
Just specify
USEMESA=1
in comsol starting script

Cyril F.

15 Replies Last Post Feb 6, 2012, 4:10 p.m. EST
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Apr 28, 2010, 4:12 p.m. EDT
Hi

I have a similar problem for several months, it systematic on heavy models
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000035b5e97210, pid=27367, tid=1105549632
#
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (16.0-b13 mixed mode linux-amd64 )
# Problematic frame:
# C [libGL.so.1+0x97210]
#
# If you would like to submit a bug report, please visit:
# java.sun.com/webapps/bugreport/crash.jsp
#

its on a CENTOS V OS, Intel based WS.

I will try the -mesa option and test it out

Thanks for the tip
Ivar
Hi I have a similar problem for several months, it systematic on heavy models # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00000035b5e97210, pid=27367, tid=1105549632 # # JRE version: 6.0_18-b07 # Java VM: Java HotSpot(TM) 64-Bit Server VM (16.0-b13 mixed mode linux-amd64 ) # Problematic frame: # C [libGL.so.1+0x97210] # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # its on a CENTOS V OS, Intel based WS. I will try the -mesa option and test it out Thanks for the tip Ivar

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Apr 29, 2010, 4:12 a.m. EDT
Hi

Now I get systematically this error (perhaps before too but it was then hidden in the flow of error info)


Warning: Found two components with the same name (Tree.cellRenderer)


COMSOL seems to behave still OK

anybody any ideas ?

Ivar
Hi Now I get systematically this error (perhaps before too but it was then hidden in the flow of error info) Warning: Found two components with the same name (Tree.cellRenderer) COMSOL seems to behave still OK anybody any ideas ? Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Apr 29, 2010, 4:21 a.m. EDT
This is the error I get on opensuse 64-bit whenever I try to open graphics (postprocess) or switch to mesh display. Any known cure for this?

*** ERROR: Canvas3D constructed with a null GraphicsConfiguration
*** This will cause a NullPointerException in a subsequent release
************************************************************************
Exception:
java.lang.NullPointerException
(rethrown as com.femlab.util.FlFatalException)
Messages:
Fatal error.
- Type: NullPointerException

Stack trace:
at com.femlab.gui.GuiMode.a(Unknown Source)
at com.femlab.gui.PostMode.a(Unknown Source)
at com.femlab.gui.GuiMode.j(Unknown Source)
at com.femlab.gui.at.a(Unknown Source)
at com.femlab.gui.at.a(Unknown Source)
at com.femlab.gui.bo.C(Unknown Source)
at com.femlab.gui.an.a(Unknown Source)
at com.femlab.gui.bp.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.femlab.gui.e.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at com.femlab.controls.FlDialog.showAsDialog(Unknown Source)
at com.femlab.controls.FlDialog.show(Unknown Source)
at com.femlab.controls.FlModalDialog.show(Unknown Source)
at com.femlab.controls.FlDialog.showDialog(Unknown Source)
at com.femlab.gui.dialogs.z.run(Unknown Source)
at com.femlab.util.ab.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.femlab.gui.e.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
This is the error I get on opensuse 64-bit whenever I try to open graphics (postprocess) or switch to mesh display. Any known cure for this? *** ERROR: Canvas3D constructed with a null GraphicsConfiguration *** This will cause a NullPointerException in a subsequent release ************************************************************************ Exception: java.lang.NullPointerException (rethrown as com.femlab.util.FlFatalException) Messages: Fatal error. - Type: NullPointerException Stack trace: at com.femlab.gui.GuiMode.a(Unknown Source) at com.femlab.gui.PostMode.a(Unknown Source) at com.femlab.gui.GuiMode.j(Unknown Source) at com.femlab.gui.at.a(Unknown Source) at com.femlab.gui.at.a(Unknown Source) at com.femlab.gui.bo.C(Unknown Source) at com.femlab.gui.an.a(Unknown Source) at com.femlab.gui.bp.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.femlab.gui.e.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Unknown Source) at com.femlab.controls.FlDialog.showAsDialog(Unknown Source) at com.femlab.controls.FlDialog.show(Unknown Source) at com.femlab.controls.FlModalDialog.show(Unknown Source) at com.femlab.controls.FlDialog.showDialog(Unknown Source) at com.femlab.gui.dialogs.z.run(Unknown Source) at com.femlab.util.ab.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.femlab.gui.e.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

Jim Freels mechanical side of nuclear engineering, multiphysics analysis, COMSOL specialist

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Apr 29, 2010, 9:07 a.m. EDT
What hardware and OS are you guys using ? I exclusively use Nvidia graphics cards and the binary drivers that are provided by Nvidia on Linux systems (RHEL, Debian, Ubuntu). I have never had any of these problems and I do not have to resort to slower mesa drivers. Opengl works fine here.
What hardware and OS are you guys using ? I exclusively use Nvidia graphics cards and the binary drivers that are provided by Nvidia on Linux systems (RHEL, Debian, Ubuntu). I have never had any of these problems and I do not have to resort to slower mesa drivers. Opengl works fine here.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Apr 29, 2010, 10:17 a.m. EDT
Our standard installation was on the dual xeon 5500 server, remote access only (XVNC). Thus, the system (opensuse) GL libraries were Mesa-7.6-3.1.x86_64.
The libs which comsol actually uses can be determined using lsof command (after comsol is started), or from the hs_err_pidXXXX.log after the system crashes.
Nvidia/ATI use different libraries, they could work better. However, using the libraries distributed with comsol seems to be safe, even if the performance can suffer.

Cyril
Our standard installation was on the dual xeon 5500 server, remote access only (XVNC). Thus, the system (opensuse) GL libraries were Mesa-7.6-3.1.x86_64. The libs which comsol actually uses can be determined using lsof command (after comsol is started), or from the hs_err_pidXXXX.log after the system crashes. Nvidia/ATI use different libraries, they could work better. However, using the libraries distributed with comsol seems to be safe, even if the performance can suffer. Cyril

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Apr 29, 2010, 10:18 a.m. EDT
Hi

I'm running on OS Centos V (Red Hat) Dell WS 64 with java 6.0_18-b07, latest Nvidea drivers.
(my libGL.so error arrived after a java update last summer, but as I'm a "visitor" on that WS I have not bothered do to much), my colleagues running other software have no issues.

In 3 days I'm getting "my" new local WS (only for me:) will see if the error remains, and ivestigate then more. Anyhow I have been able to work, had a crash after a few graphics dump, then it was just to restart COMSOL and one could continue.

with the -mesa I hardly have any problems anymore

Ivar
Hi I'm running on OS Centos V (Red Hat) Dell WS 64 with java 6.0_18-b07, latest Nvidea drivers. (my libGL.so error arrived after a java update last summer, but as I'm a "visitor" on that WS I have not bothered do to much), my colleagues running other software have no issues. In 3 days I'm getting "my" new local WS (only for me:) will see if the error remains, and ivestigate then more. Anyhow I have been able to work, had a crash after a few graphics dump, then it was just to restart COMSOL and one could continue. with the -mesa I hardly have any problems anymore Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Apr 29, 2010, 10:19 a.m. EDT
I would recommend to try different libraries. hs_err_pidXXXX.log could give a hint. Perhaps the USEMESA=1 will work also for you.
C.
I would recommend to try different libraries. hs_err_pidXXXX.log could give a hint. Perhaps the USEMESA=1 will work also for you. C.

Jim Freels mechanical side of nuclear engineering, multiphysics analysis, COMSOL specialist

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Apr 29, 2010, 10:09 p.m. EDT
Your problem is the XVNC which does not support opengl. I use NX client/server from nomachine.com. It is also much faster and convenient. Indeed, we purchased the product to improve upon the 2-user limited free server.
Your problem is the XVNC which does not support opengl. I use NX client/server from nomachine.com. It is also much faster and convenient. Indeed, we purchased the product to improve upon the 2-user limited free server.

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Apr 30, 2010, 2:32 a.m. EDT
Hi

it's true that the -mesa slows down drastically the save image process, but else it's OK, and its true I'm on NX "free" version, until my new WS arrives in my office

For those not wanting to have the ventilator noise there are interesting products (havnt tested it yet) like from www.teradici.com to put the heater in the basement and keep the screens on your desk

Ivar
Hi it's true that the -mesa slows down drastically the save image process, but else it's OK, and its true I'm on NX "free" version, until my new WS arrives in my office For those not wanting to have the ventilator noise there are interesting products (havnt tested it yet) like from www.teradici.com to put the heater in the basement and keep the screens on your desk Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Sep 19, 2010, 1:54 a.m. EDT
hi, all
I open a 3.5 mph file using comsol 3.5a, the error pop as following.
Mybe It is the problem about different versions.
And when I run USEMESA=1 comsol on linux terminal, no use for this condition, why?



__________________
Exception:
java.lang.NullPointerException
(rethrown as com.femlab.util.FlFatalException)
Messages:
Fatal error.
- Type: NullPointerException

Stack trace:
at java.lang.ref
hi, all I open a 3.5 mph file using comsol 3.5a, the error pop as following. Mybe It is the problem about different versions. And when I run USEMESA=1 comsol on linux terminal, no use for this condition, why? __________________ Exception: java.lang.NullPointerException (rethrown as com.femlab.util.FlFatalException) Messages: Fatal error. - Type: NullPointerException Stack trace: at java.lang.ref

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Sep 19, 2010, 1:55 a.m. EDT
hi, all
I open a 3.5 mph file using comsol 3.5a, the error pop as following.
Mybe It is the problem about different versions.
And when I run USEMESA=1 comsol on linux terminal, no use for this condition, why?



__________________
Exception:
java.lang.NullPointerException
(rethrown as com.femlab.util.FlFatalException)
Messages:
Fatal error.
- Type: NullPointerException

Stack trace:
at java.lang.ref
hi, all I open a 3.5 mph file using comsol 3.5a, the error pop as following. Mybe It is the problem about different versions. And when I run USEMESA=1 comsol on linux terminal, no use for this condition, why? __________________ Exception: java.lang.NullPointerException (rethrown as com.femlab.util.FlFatalException) Messages: Fatal error. - Type: NullPointerException Stack trace: at java.lang.ref

Alexandre Paternoster

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Feb 10, 2011, 5:34 a.m. EST
Hi,

I am running comsol41 and 40a from a linux machine running CentOS 5.5 (64bits).
I had a similar error when I closed the window for some users and a crash at startup for others. Both of them leading to the following error log:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000369003d118, pid=6624, tid=1088186688
#
# JRE version: 6.0_20-b02
# Java VM: Java HotSpot(TM) 64-Bit Server VM (16.3-b01 mixed mode linux-amd64 )
# Problematic frame:
# C [libX11.so.6+0x3d118] XQueryExtension+0x28
#
# If you would like to submit a bug report, please visit:
# java.sun.com/webapps/bugreport/crash.jsp
#

The solution was to use the "-3drend sw" argument on launching comsol as advised by the knowledge base:
www.comsol.com/support/knowledgebase/1068/

Hoping this willl fix your error,
Alexandre.

Hi, I am running comsol41 and 40a from a linux machine running CentOS 5.5 (64bits). I had a similar error when I closed the window for some users and a crash at startup for others. Both of them leading to the following error log: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000000369003d118, pid=6624, tid=1088186688 # # JRE version: 6.0_20-b02 # Java VM: Java HotSpot(TM) 64-Bit Server VM (16.3-b01 mixed mode linux-amd64 ) # Problematic frame: # C [libX11.so.6+0x3d118] XQueryExtension+0x28 # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The solution was to use the "-3drend sw" argument on launching comsol as advised by the knowledge base: http://www.comsol.com/support/knowledgebase/1068/ Hoping this willl fix your error, Alexandre.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Feb 10, 2011, 9:18 p.m. EST


The solution was to use the "-3drend sw" argument on launching comsol

Alexandre.


I was getting the "A fatal error has been detected by the Java Runtime Environment" and the above worked for me!

Thanks
[QUOTE] The solution was to use the "-3drend sw" argument on launching comsol Alexandre. [/QUOTE] I was getting the "A fatal error has been detected by the Java Runtime Environment" and the above worked for me! Thanks

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Feb 6, 2012, 3:54 p.m. EST
Did you find a solution to this problem (did you intstall the Nvidia drivers and get it to work? I have a similar error even when I try comsol -3drend the error persists
"*** ERROR: Canvas3D constructed with a null GraphicsConfiguration
*** This will cause a NullPointerException in a subsequent release
************************************************************************
Exception:
java.lang.NullPointerException
(rethrown as com.femlab.util.FlFatalException)
Messages:
Fatal error.
- Type: NullPointerException

Stack trace:
at com.femlab.gui.GuiMode.a(Unknown Source)
at com.femlab.gui.PostMode.a(Unknown Source)
at com.femlab.gui.GuiMode.j(Unknown Source)
at com.femlab.gui.au.a(Unknown Source)
at com.femlab.gui.au.a(Unknown Source)
at com.femlab.gui.bp.C(Unknown Source)
at com.femlab.gui.an.a(Unknown Source)
at com.femlab.gui.bq.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.femlab.gui.e.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at com.femlab.controls.FlDialog.showAsDialog(Unknown Source)
at com.femlab.controls.FlDialog.show(Unknown Source)
at com.femlab.controls.FlModalDialog.show(Unknown Source)
at com.femlab.controls.FlDialog.showDialog(Unknown Source)
at com.femlab.gui.dialogs.z.run(Unknown Source)
at com.femlab.util.x.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.femlab.gui.e.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
" I

Did you find a solution to this problem (did you intstall the Nvidia drivers and get it to work? I have a similar error even when I try comsol -3drend the error persists "*** ERROR: Canvas3D constructed with a null GraphicsConfiguration *** This will cause a NullPointerException in a subsequent release ************************************************************************ Exception: java.lang.NullPointerException (rethrown as com.femlab.util.FlFatalException) Messages: Fatal error. - Type: NullPointerException Stack trace: at com.femlab.gui.GuiMode.a(Unknown Source) at com.femlab.gui.PostMode.a(Unknown Source) at com.femlab.gui.GuiMode.j(Unknown Source) at com.femlab.gui.au.a(Unknown Source) at com.femlab.gui.au.a(Unknown Source) at com.femlab.gui.bp.C(Unknown Source) at com.femlab.gui.an.a(Unknown Source) at com.femlab.gui.bq.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.femlab.gui.e.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Unknown Source) at com.femlab.controls.FlDialog.showAsDialog(Unknown Source) at com.femlab.controls.FlDialog.show(Unknown Source) at com.femlab.controls.FlModalDialog.show(Unknown Source) at com.femlab.controls.FlDialog.showDialog(Unknown Source) at com.femlab.gui.dialogs.z.run(Unknown Source) at com.femlab.util.x.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.femlab.gui.e.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) " I

Alexandre Paternoster

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Feb 6, 2012, 4:10 p.m. EST
Launching Comsol using the following command avoids the mentionned error:
comsol -3drend sw

If you want to make it work without this command, you'll have to install the driver. I advise you to go on Nvidia website. In my case, I have an ATI graphic card and I found the drivers from ATI website. But, it is very difficult to keep a good configuration for a long time: each time there is an Xorg update, it breaks the driver setup.

Good luck!
Launching Comsol using the following command avoids the mentionned error: comsol -3drend sw If you want to make it work without this command, you'll have to install the driver. I advise you to go on Nvidia website. In my case, I have an ATI graphic card and I found the drivers from ATI website. But, it is very difficult to keep a good configuration for a long time: each time there is an Xorg update, it breaks the driver setup. Good luck!

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.