Gnome Do (with Docky) crashes after canceling Empty Trash

Bug #439731 reported by Shane Synan
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-do (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gnome-do

Steps to reproduce:
1. Open Gnome Do with the Docky theme active and the Trash applet added to the dock.
2. Right-click the Trash applet, click Empty Trash (it does not need to contain anything)
3. Click Cancel on the "Empty All of the Items in the Trash?" window.
4. Right-click the Trash applet, and click Empty Trash again.
5. Gnome Do should crash with the following:

Marshaling button_release_event signal
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at Docky.Interface.TrashDockItem.EmptyTrash () [0x00000]
  at Docky.Interface.Menus.SimpleMenuButtonArgs.Action () [0x00000]
  at Docky.Interface.Menus.AbstractMenuButtonArgs.HandleButtonReleaseEvent (System.Object o, Gtk.ButtonReleaseEventArgs args) [0x00000]
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000]
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000]
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000]
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000]
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000]
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000]
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000]
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Do.Do.Main(System.String[] args)

What is Expected:
The Trash applet will open the "Empty All of the Items in the Trash?" window again, and not crash.

Additional Notes:
This happens consistently with this computer (Dell XPS M1530 Laptop) and my Acer Aspire (32bit Ubuntu on x64 AMD processor).
I've tried clearing all Gnome Do related settings, and it still crashes.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: wl nvidia
Package: gnome-do 0.8.2+dfsg-0~9.04~ppa3
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-do
Uname: Linux 2.6.28-15-generic x86_64
UnreportableReason: This is not a genuine Ubuntu package

Revision history for this message
Shane Synan (digitalcircuit) wrote :
Revision history for this message
Shane Synan (digitalcircuit) wrote :

The package is from this PPA:
deb http://ppa.launchpad.net/do-core/ppa/ubuntu jaunty main
I used Ubuntu Tweak (http://ubuntu-tweak.com/downloads) to add the Gnome Do third-party source.

Revision history for this message
Robert Dyer (psybers) wrote :

This was already fixed in the latest bzr trunk version.

Changed in gnome-do (Ubuntu):
status: New → Fix Committed
Revision history for this message
Antonio García (nyoescape) wrote :

I'm running a fully updated Karmic installation over here, and I'm experiencing this bug. Has the fix been released to the package repository, or do I need to add a PPA?

gnome-do:
  Installed: 0.8.2+dfsg-1
  Candidate: 0.8.2+dfsg-1
  Version table:
 *** 0.8.2+dfsg-1 0
        500 http://es.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Robert Dyer (psybers) wrote :

Sorry for any confusion here, I mis-marked this bug. It is fixed upstream (in the project) but is NOT fixed (afaik) in the Ubuntu package.

Changed in gnome-do (Ubuntu):
status: Fix Committed → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-do - 0.8.3.1+dfsg-1

---------------
gnome-do (0.8.3.1+dfsg-1) unstable; urgency=low

  * New upstream bugfix release: (Closes: 561271)
    + Fixes for network status detection (Closes: #543517, #543778)
      (LP: #422461)
    + Fixes misleading "Start GNOME Do at login" checkbox (LP: #398303)
    + Fixes a number of crash bugs in the Trash docklet (LP: #439731)
      (Closes: #552239)
    + Fixes problems with the naming of the default theme, leading to crashes.
      (LP: #475871, #448094)
    + Fixes startup problems when run by users with usernames > 9 characters
      long. (LP: #439949)
  * debian/patches/02_use_cli_for_wrapper:
    + Refresh for new upstream changes
  * debian/patches/11_fix_autostart_when_directory_does_not_exist:
    + Drop; included upstream.
  * debian/control
    + Add Breaks on gnome-do-plugins < 0.8.2. Do now handles plugins
      slightly differently. This prevents users being surprised about
      missing plugins on upgrade. (Closes: #541708)
    + Bump Build-Dep on mono-devel to (>= 2.4.2.3) for mono-csc.
    + Transition to -cil-dev packages for Build-Dependends.
    + Bump Standards-Version to 3.8.3; no changes needed.
  * debian/rules:
    + Use mono-csc instead of csc for MCS
    + Pass -f -i to autoreconf to keep the buildsystem's libtool in sync
      with Debian's. Fixes libtool-related FTBFS (Closes: #560645)
    + Apply ltmain-add-as-needed.patch after autoreconf-ing for --as-needed
      magic.
    + Pass --as-needed to the linker to eliminate dependencies on unneeded
      libs.
  * debian/README.source:
    + Add to really comply with policy; we've got a patch system!
  * debian/ltmain-add-as-needed.patch:
    + Patch to add --as-needed magic to ltmain.sh
 -- Ubuntu Archive Auto-Sync <email address hidden> Mon, 01 Feb 2010 23:58:19 +0000

Changed in gnome-do (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.