[Gtk-sharp-list] Ref handling patch
Gonzalo Paniagua Javier
gonzalo@ximian.com
24 Jul 2003 20:16:33 +0200
El jue, 24-07-2003 a las 19:10, Mike Kestner escribió:
> One suggestion is to put a Console.WriteLine in
> GLib.Object.PerformQueuedUnrefs by the g_object_unref call to see which
> object type is having the ref issues. You can also put similar debug
> spew in Raw and GetObject to determine if we are taking refs, and even
> what the overall ref count of the object is. Ettore and I used these
> kind of debug statements to track down the problems in the samples and
> his app.
Mmm. That doesn't help... I get a few line of output when starting the
gnunit and then nothing more until the crash.
-----
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 32771 (LWP 14423)]
0x41482ef5 in gtksharp_get_type_id (obj=0x85231c0) at type.c:40
40 return G_TYPE_FROM_INSTANCE (obj);
(gdb) print *obj
$1 = {g_type_instance = {g_class = 0x0}, ref_count = 4294901763,
qdata = 0x40112348}
(gdb)
-----
If i let this go, i get:
** (nunitgtk:14402): WARNING **: exception inside UnhandledException
handler: Not a string
This is where i am now.
-Gonzalo