GNOME Bugzilla – Bug 331052
SIGSEGV, unmark_for_gc (obj=0x1142a80, ref_table=Variable "ref_table" is not available.) at ../../../libjava/jni.cc:197
Last modified: 2006-03-10 16:26:50 UTC
Steps to reproduce: 1. run frysk 2. wait Stack trace: Leaving frysk doing absolutly nothing: Program received signal SIGSEGV, Segmentation fault. unmark_for_gc (obj=0x1142a80, ref_table=Variable "ref_table" is not available. ) at ../../../libjava/jni.cc:197 197 jint val = refcount->intValue () - 1; Current language: auto; currently c++ (gdb) list 192 JvSynchronize sync (ref_table); 193 194 using namespace java::lang; 195 Integer *refcount = (Integer *) ref_table->get (obj); 196 JvAssert (refcount); 197 jint val = refcount->intValue () - 1; 198 JvAssert (val >= 0); 199 if (val == 0) 200 ref_table->remove (obj); 201 else (gdb) bt
+ Trace 66147
Other information: downstream tracker: http://sourceware.org/bugzilla/show_bug.cgi?id=2333
Based on downstream comment it sounds like you have a workaround; what do you want to do about this bug? Assume it's a java-gnome/libgtk-java issue, or assume it was a "we were using it wrong" issue? (Lord knows I wish we could systematically trap those, as there are many to stumble into) AfC
(In reply to comment #1) > Based on downstream comment it sounds like you have a workaround; what do you > want to do about this bug? Assume it's a java-gnome/libgtk-java issue, or > assume it was a "we were using it wrong" issue? (Lord knows I wish we could > systematically trap those, as there are many to stumble into) The bug is either in GCJ, or Java-GNOME - the garbage collector panicked. While frysk managed to work around it by avoiding that code path (don't use gtk timer?), we[frysk at least :-)] still need to figure out what went wrong and how to stop the problem. Fun eh :-)
I've only used Timer a few times but I've also used CustomEvents extensively (and was around when it was debugged somewhat). Both work alright for me though in general I'm not using GCJ. My only current test case with Timer is somewhat simplistic: http://research.operationaldynamics.com/source/darcsweb/?r=drivestate;a=headblob;f=/src/drivestate/DriveState.java#l55 but for what it's worth it does work. AfC
*** Bug 334039 has been marked as a duplicate of this bug. ***
fixed by patch from 334039