I got some problems with Spoon after upgrading Kubuntu 13.04 to 13.10. Nothing really noticeable at first, but suddenly it starts to randomly crash:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f41cf3e0b3c, pid=3791, tid=139921652131584 # # JRE version: OpenJDK Runtime Environment (7.0_51) (build 1.7.0_51-b00) # Java VM: OpenJDK 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [libgobject-2.0.so.0+0x31b3c] g_type_check_instance_is_a+0x3c # # 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/patlaf/Downloads/data-integration/hs_err_pid3791.log Compiled method (nm) 132062 519 n org.eclipse.swt.internal.gtk.OS::_g_object_get_qdata (native) total in heap [0x00007f4201156b50,0x00007f4201156e...... some other data ......d0] = 896 relocation [0x00007f4201156c70,0x00007f4201156cd0] = 96 main code [0x00007f4201156ce0,0x00007f4201156ed0] = 496 Compiled method (nm) 132063 519 n org.eclipse.swt.internal.gtk.OS::_g_object_get_qdata (native) total in heap [0x00007f4201156b50,0x00007f4201156ed0] = 896 relocation [0x00007f4201156c70,0x00007f4201156cd0] = 96 main code [0x00007f4201156ce0,0x00007f4201156ed0] = 496 |
Or
1 2 3 4 5 |
# JRE version: 7.0_25-b30 # Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [libgobject-2.0.so.0+0x19528] g_object_get_qdata+0x18 ...... some other data ...... |
Same thing with different version of Java
1 2 3 4 5 |
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13) # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [libgobject-2.0.so.0+0x3210c] g_type_check_instance_cast+0x1c ...... some other data ...... |
I found that starting spoon with a none-GTK3 theme fixes the problem.. It doesn’t crash anymore but I do have a lot of warning related to libgobject in the log.
1 2 3 4 5 6 7 8 9 10 11 |
GTK2_RC_FILES=/usr/share/themes/Radiance/gtk-2.0/gtkrc ./spoon.sh (SWT:3791): GLib-GObject-CRITICAL **: g_closure_add_invalidate_notifier: assertion 'closure->n_inotifiers < CLOSURE_MAX_N_INOTIFIERS' failed (SWT:3791): GLib-GObject-CRITICAL **: g_closure_add_invalidate_notifier: assertion 'closure->n_inotifiers < CLOSURE_MAX_N_INOTIFIERS' failed (SWT:3791): GLib-GObject-CRITICAL **: g_closure_add_invalidate_notifier: assertion 'closure->n_inotifiers < CLOSURE_MAX_N_INOTIFIERS' failed (SWT:3791): GLib-GObject-CRITICAL **: g_closure_add_invalidate_notifier: assertion 'closure->n_inotifiers < CLOSURE_MAX_N_INOTIFIERS' failed (SWT:3791): GLib-GObject-CRITICAL **: g_closure_add_invalidate_notifier: assertion 'closure->n_inotifiers < CLOSURE_MAX_N_INOTIFIERS' failed |
I tried to change the swt.jar to different versions but it didn’t change anything. I’m stuck with the insane amount of warnings, but at least I can use Spoon !
If you have a solution, please let me know !
References: