Docky crashes when cleaning a recycle bin

Bug #717875 reported by Roman Pushkov
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Docky
Fix Released
Low
Robert Dyer
2.0
Fix Released
Low
Unassigned
2.1
Fix Released
Low
Unassigned

Bug Description

Docky crashes down, when I'm cleaning a recycle bin, using context menu.
Busket contains different directories and one of the directories has full rights for the current user, but contains files, which can be removed only by root.
Docky falls, because attempts to delete files without having permissions for that.
Console output:
========================================
Marshaling response 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. ---> GLib.GException: Access denied
  at GLib.FileAdapter.EnumerateChildren (System.String attributes, FileQueryInfoFlags flags, GLib.Cancellable cancellable) [0x00000] in <filename unknown>:0
  at Docky.Services.GLibFileExtension.Delete_Recurse (File file) [0x00000] in /build/buildd/docky-2.1.0~bzr1780/Docky.Services/Docky.Services/Extensions/GLibFileExtension.cs:187
  at Docky.Services.GLibFileExtension.Delete_Recurse (File file) [0x00033] in /build/buildd/docky-2.1.0~bzr1780/Docky.Services/Docky.Services/Extensions/GLibFileExtension.cs:198
  at Docky.Services.GLibFileExtension.Delete_Recurse (File file) [0x00033] in /build/buildd/docky-2.1.0~bzr1780/Docky.Services/Docky.Services/Extensions/GLibFileExtension.cs:198
  at Trash.TrashDockItem.<PerformEmptyTrash>m__6 () [0x00000] in /build/buildd/docky-2.1.0~bzr1780/StandardPlugins/Trash/src/TrashDockItem.cs:255
  at Docky.Services.SystemService.RunOnMainThread (System.Action action) [0x00022] in /build/buildd/docky-2.1.0~bzr1780/Docky.Services/Docky.Services/SystemService.cs:540
  at Trash.TrashDockItem.PerformEmptyTrash () [0x00017] in /build/buildd/docky-2.1.0~bzr1780/StandardPlugins/Trash/src/TrashDockItem.cs:254
  at Trash.TrashDockItem+<EmptyTrash>c__AnonStorey1.<>m__5 (System.Object o, Gtk.ResponseArgs args) [0x0000d] in /build/buildd/docky-2.1.0~bzr1780/StandardPlugins/Trash/src/TrashDockItem.cs:239
  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] in <filename unknown>:0
  --- 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] in <filename unknown>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0
   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 Docky.Docky.Main(System.String[] args) in /build/buildd/docky-2.1.0~bzr1780/Docky/Docky/Docky.cs:line 104
Cairo.Context: called from finalization thread, programmer is missing a call to Dispose
Cairo.Context: called from finalization thread, programmer is missing a call to Dispose
Cairo.Context: called from finalization thread, programmer is missing a call to Dispose
Cairo.Context: called from finalization thread, programmer is missing a call to Dispose
Cairo.Context: called from finalization thread, programmer is missing a call to Dispose
Cairo.Context: called from finalization thread, programmer is missing a call to Dispose
Cairo.Context: called from finalization thread, programmer is missing a call to Dispose
Cairo.Context: called from finalization thread, programmer is missing a call to Dispose

======================================================
Versions:
[Info 23:58:42.554] Docky version: 2.1.1 bzr docky r1780 ppa
[Info 23:58:42.567] Kernel version: 2.6.35.26
[Info 23:58:42.568] CLR version: 2.0.50727.1433

Distro: Ubuntu 10.10.

Robert Dyer (psybers)
Changed in docky:
importance: Undecided → Low
Revision history for this message
vascofg (vascofg) wrote :

I can confirm this.
It seems to have started happening once I upgraded my kernel.

I am using Ubuntu 10.10 64-Bit.

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

Fixed in rev 1791. Please verify.

Changed in docky:
assignee: nobody → Robert Dyer (psybers)
status: New → Fix Committed
milestone: none → 2.0.12
Changed in docky:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
status: Fix Committed → Fix Released
Changed in docky:
status: Fix Released → Fix Committed
Revision history for this message
Robert Dyer (psybers) wrote :

Dont touch our bug status.

Changed in docky:
status: Fix Committed → Fix Released
Changed in docky:
milestone: 2.0.12 → none
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.