[Mono-bugs] [Bug 357417] New: zen-installer throws exception after clicking "Close" button

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 30 16:02:16 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=357417


           Summary: zen-installer throws exception after clicking "Close"
                    button
           Product: gtk#
           Version: 2.x
          Platform: i586
        OS/Version: SLED 10
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: gtk-sharp
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: twiest at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Component Test


Description of Problem:
When you click the "Close" button in zen-installer after installing a package,
or in zen-remover after removing a package, you get the Exception listed below. 

Oddly enough, if you just click close without installing or removing a package,
the exception isn't thrown.

This happens in gtk-sharp2-2.8.5-0.suse101.novell (default in 1.9.0p1), but not
in gtk-sharp2-2.8.3-43.10 (default in 1.2.6).


Steps to reproduce the problem:
1. Run zen-installer in a console on SLED 10 SP1 i586
2. Install kdebase3-NLD
3. After installation, click "Close"
4. Notice the exception thrown as listed below.


Actual Results:
mono at c212:~> zen-installer
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle
the exception.
System.ArgumentException: GCHandle value belongs to a different domain
  at System.Runtime.InteropServices.GCHandle.op_Explicit (IntPtr value)
[0x00000]
  at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr data) [0x00000]
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean
is_terminal)
   at GLib.Signal.voidObjectCallback(IntPtr handle, IntPtr data)
   at GLib.Signal.voidObjectCallback(IntPtr , IntPtr )
   at GLib.ToggleRef.g_object_remove_toggle_ref(IntPtr ,
GLib.ToggleNotifyHandler , IntPtr )
   at GLib.ToggleRef.g_object_remove_toggle_ref(IntPtr ,
GLib.ToggleNotifyHandler , IntPtr )
   at GLib.ToggleRef.Free()
   at GLib.Object.Dispose()
   at Gtk.Object.Dispose()
   at Gtk.EventBox.Finalize()
mono at c212:~>


mono at c212:~> zen-remover
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle
the exception.
System.ArgumentNullException: Argument cannot be null.
Parameter name: src
  at (wrapper managed-to-native)
System.Runtime.InteropServices.Marshal:PtrToStructure (intptr,System.Type)
  at GLib.Signal.get_Handler () [0x00000]
  at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr data) [0x00000]
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean
is_terminal)
   at GLib.Signal.voidObjectCallback(IntPtr handle, IntPtr data)
   at GLib.Signal.voidObjectCallback(IntPtr , IntPtr )
   at GLib.ToggleRef.g_object_remove_toggle_ref(IntPtr ,
GLib.ToggleNotifyHandler , IntPtr )
   at GLib.ToggleRef.g_object_remove_toggle_ref(IntPtr ,
GLib.ToggleNotifyHandler , IntPtr )
   at GLib.ToggleRef.Free()
   at GLib.Object.Dispose()
   at Gtk.Object.Dispose()
   at Gtk.EventBox.Finalize()
mono at c212:~>


Expected Results:
No exception thrown.


How often does this happen? 
Every time.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list