[Gtk-sharp-list] Gtk# instability nightmares

Cody Russell bratsche at gnome.org
Mon Apr 2 20:19:47 EDT 2007


Hi Aaron,

The stack trace looks slightly different, but the test program looks
like the one I posted to:
    http://bugzilla.ximian.com/show_bug.cgi?id=79993

That test program is known to crash after enough iterations using gtk#
2.10, or gtk# <2.10 with certain builds of GTK+ 2.10.  It's very
confusing, but we're hoping Mike may have time to look at it in the
nearish future.

It has nothing to do with your hardware or version of Windows, and is
probably not related to your version of .NET - it seems that gtk# is
trying to unref an object that no longer exists.  This might be because
GTK is unrefing something (like a TreeViewColumn) that gtk# believes it
is supposed to unref, but nobody really knows yet.  I tried looking into
this one, but to be honest I just don't know how to really begin
debugging it.

If you come up with any additional information, feel free to post it to
that Bugzilla entry.

/ Cody

On Tue, 2007-04-03 at 09:22 +1000, Aaron Oxford wrote:
> Hi everyone,
> 
> As you may remember I've been having a hell of a time porting my GUI 
> to Gtk#. After a series of tests I ran with Brad from Medsphere, all 
> I can basically say is that Gtk# is unstable on my system. The 
> attached program crashes on my system within a few minutes of operation.
> 
> I'm running a dual core Athlon 3800 with a gig of RAM under Server2k3 
> and .NET2.0. We've verified that  the Gtk#, OS or .NET versions don't 
> matter, and certainly the amount of RAM shouldn't matter with this 
> test. BTW my RAM has been thoroughly tested with Memtest86 (the DOS 
> one) during this ordeal.
> 
> Really my question comes down to whether or not Gtk# is stable on 
> other people's dual core AMD/Windows setups, and has anyone else 
> observed crashes like those listed below or noticed that they go away 
> when running inside a VMWare machine?
> 
> Thanks again,
> 
> Aaron.
> 
> 
> 
> Exception Type 1:
> 
> GLib-GObject-CRITICAL (recursed) **:g_object_unref: assertion 
> 'G_IS_OBJECT (object)' failed
> aborting...
> 
> 
> 
> Exception Type 2:
> 
> Unhandled Exception: System.NullReferenceException: Object reference not set to
> an instance of an object.
>     at GLib.Signal.OnNativeDestroy(IntPtr data, IntPtr obj)
>     at Gtk.Application.gtk_main()
>     at Gtk.Application.Run()
>     at Test.Main()
> 
> 
> 
> Exception Type 3:
> 
> Unhandled Exception: System.AccessViolationException: Attempted to 
> read or write
>   protected memory. This is often an indication that other memory is corrupt.
>     at Gtk.Application.gtk_main()
>     at Gtk.Application.Run()
>     at Test.Main()
> --------------------------------------------------------------------------------- Aaron Oxford - aaron+hardwarehookups .com .au Director, Innovative Computer Solutions (Aust) Pty. Ltd. 49 Maitland Rd, Mayfield, NSW 2304 Australia http://www.ic-solutions.com.au Developer, SourceForge project VioLet Composer http://sourceforge.net/projects/buzz-like
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list



More information about the Gtk-sharp-list mailing list