After a kde update (i don’t remember exactly the updated packages) I try to open the Comsol Multiphysics software (it is a fluid dynamics code) and I am encountering an error message:
Next, the program closes unexpectedly soon after it loads the graphical interface.
Note that I did not encountered any of such errors before this kde update!
Furthermore I post the exact error message from the Comsol Multiphysics:
This is the error message when I initialize the program:
kde4-config: symbol lookup error: /usr/lib64/libQtDBus.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv
kde4-config: symbol lookup error: /usr/lib64/libQtDBus.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv
And when it crashes (soon after the graphical interface is loaded) it says:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f84965bd6b8, pid=6356, tid=140209381099264
#
# 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 [libgobject-2.0.so.0+0x1a6b8] g_object_get_qdata+0x18
#
# An error report file with more information is saved as:
# /usr/local/comsol44/bin/hs_err_pid6356.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
./comsol: line 1519: 6356 Aborted ${MPICMD} ${FLROOT}/bin/${ARCH}/comsollauncher --launcher.ini ${LAUNCHERINIFILE} ${LAUNCHERARGS} ${MPILAUNCHERARGS}
I guess you can ignore that, it seems not related to your crash.
Apparently it comes with its own libqt4 libraries (in a different version than your system’s), and then calls the system’s kde4-config which would need the system’s libqt4 instead.
And when it crashes (soon after the graphical interface is loaded) it says:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f84965bd6b8, pid=6356, tid=140209381099264
#
# 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 [libgobject-2.0.so.0+0x1a6b8] g_object_get_qdata+0x18
This looks familiar.
Try to set a different (than oxygen) GTK2 and/or GTK3 theme in Configure Desktop->Application Appearance->GTK.
Does this help?
Ok then.
Just to verify: can you run “kde4-config” manually? Or do you get the same undefined symbol error?
Try e.g. “kde4-config --prefix”.
As I said this doesn’t look related, but a failing “kde4-config” could probably cause a crash some time later (because some variable is uninitialized or similar).
So is your program based on Eclipse?
AFAIR this crash was caused by an incompatibility with WebKit. If you tell Eclipse to use mozilla instead, it should not crash.
See here: java - Eclipse continue crashing - Stack Overflow
Or, according to an Ubuntu bug report I just read, this might help as well:
At least for some people, just changing the theme helped, for others changing the browser to mozilla helped.
If it is not eclipse-based, I don’t know how you would do that though. I don’t know Comsol MultiPhysics at all and googling doesn’t find anything either.
Do you have any eclipse.ini in your home directory (in some subfolder)? Or something similar, comsol.ini e.g.
Maybe try to specify “-Dorg.eclipse.swt.browser.DefaultType=mozilla” as command line option.
Other than that, I have no idea, sorry.
As this is apparently is commercial software, you might try to contact the vendor/publisher for help.
It seems that it calls some eclipse libraries.
The solution, however, reported at the other threads in the forum (e.g. change GTK2 theme to Raleigh) does not solve the problem.
Where should I specify the option “Dorg.eclipse.swt.browser.DefaultType=mozilla” ?
In this file AFAIK.
It is already in there (but commented out), so just remove the comment sign (the ‘#’ at the beginning of the line) with a text editor, i.e. change the line marked in red to just:
-Dorg.eclipse.swt.browser.DefaultType=mozilla
I’m not completely sure that this will help you. IIRC at least one of the users having problems could not fix crashes completely by doing that.
In most cases it helped though.
One other source of crashes seems to be a Google Hangout plugin for eclipse. Not sure if that would even possibly apply to you though in the case of Comsol.