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)
Posted 28.04.2010, 07:36 GMT-4 Installation & License Management Version 4.2, Version 4.2a 15 Replies
Please login with a confirmed email address before reporting spam
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.
Please login with a confirmed email address before reporting spam
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
Please login with a confirmed email address before reporting spam
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
*** 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)
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
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
Please login with a confirmed email address before reporting spam
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
C.
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
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
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
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
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.
Please login with a confirmed email address before reporting spam
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
Please login with a confirmed email address before reporting spam
"*** 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
Please login with a confirmed email address before reporting spam
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.
Suggested Content
- KNOWLEDGE BASE COMSOL Troubleshooting Guide
- BLOG Automatic Time Step and Order Selection in Time-Dependent Problems
- KNOWLEDGE BASE Undefined Variable
- FORUM Error
- KNOWLEDGE BASE Fatal error