How to fix console crash on Linux
This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide) |
NetXMS management console may occasionally crash on Linux. If run from command line it will look similar to following:
[victor@localhost nxmc]$ ./nxmc # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f8fd52c6e2d, pid=15133, tid=140256390907648 # # JRE version: OpenJDK Runtime Environment (8.0_91-b14) (build 1.8.0_91-b14) # Java VM: OpenJDK 64-Bit Server VM (25.91-b14 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [libgobject-2.0.so.0+0x31e2d] g_type_check_instance_is_fundamentally_a+0xd # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /home/victor/Downloads/nxmc/hs_err_pid15133.log Compiled method (nm) 4970 1416 n 0 org.eclipse.swt.internal.gtk.OS::_g_object_get_qdata (native) total in heap [0x00007f8fe5565f90,0x00007f8fe55662f0] = 864 relocation [0x00007f8fe55660b8,0x00007f8fe5566100] = 72 main code [0x00007f8fe5566100,0x00007f8fe55662e8] = 488 oops [0x00007f8fe55662e8,0x00007f8fe55662f0] = 8 Compiled method (nm) 4970 1416 n 0 org.eclipse.swt.internal.gtk.OS::_g_object_get_qdata (native) total in heap [0x00007f8fe5565f90,0x00007f8fe55662f0] = 864 relocation [0x00007f8fe55660b8,0x00007f8fe5566100] = 72 main code [0x00007f8fe5566100,0x00007f8fe55662e8] = 488 oops [0x00007f8fe55662e8,0x00007f8fe55662f0] = 8 # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. #
Crash can be seen only in KDE environment if selected GTK+ theme is "oxygen-gtk" and caused by bug in SWT or oxygen-gtk theme. It cannot be fixed at product level. Two workarounds exist:
1. Change theme for GTK+ applications to any other than "oxygen-gtk".
2. Edit file "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc" and change GtkComboBox::appears-as-list = 1 to GtkComboBox::appears-as-list = 0