docky freezes upon removing "bookmarks" docklet

Bug #506436 reported by Bernhard
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Docky
New
Low
Jason Smith

Bug Description

In rev 1052, docky crashes whenever I want to remove the bookmarks docklet, either in "docks" tab or in "docklets" tab.

Bernhard (b.a.koenig)
summary: - docky crashes upon removing "bookmarks" docklet in docklets tab
+ docky crashes upon removing "bookmarks" docklet
Revision history for this message
augias (augias) wrote : Re: docky crashes upon removing "bookmarks" docklet

You're going to have to post docky's output by running docky from terminal because this is definitely not crashing docky here

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

mahfouz, you should know better. Post a stack trace or else I am marking this invalid. :-)

Changed in docky:
status: New → Incomplete
importance: Undecided → Low
assignee: nobody → Jason Smith (jassmith)
Revision history for this message
Bernhard (b.a.koenig) wrote :

Of course I know I shld attach a debug but I didn't really get a debug, it's not crashing actually, it's freezing. Here's what I get when I "add bookmarks" then "remove bookmarks":

[Info 20:51:59.540] [PluginManager] Loaded "Bookmarks".
[Debug 20:51:59.545] [BookmarksItemProvider] Updating bookmarks.
[Info 20:51:59.559] [DrawingService] Could not find 'folder-home', using fallback of 'application-default-icon'.
[Info 20:51:59.570] [DrawingService] Could not find 'folder-home', using fallback of 'application-default-icon'.
Bookmarks state: False
[Info 20:52:10.210] [PluginManager] Unloaded "Bookmarks".

Revision history for this message
Bernhard (b.a.koenig) wrote :

OK, first I thought it might be the icon theme but even if I use the default "humanity", I get:

[Info 20:56:05.016] [PluginManager] Loaded "Bookmarks".
[Debug 20:56:05.020] [BookmarksItemProvider] Updating bookmarks.
Bookmarks state: False
[Info 20:56:06.476] [PluginManager] Unloaded "Bookmarks".

and full freeze of docky.

summary: - docky crashes upon removing "bookmarks" docklet
+ docky freezes upon removing "bookmarks" docklet
Revision history for this message
Robert Dyer (psybers) wrote :

Ok if it isnt crashing then you need to get us a trace of where it is freezing.

kill -SIGQUIT pid_of_docky

should dump out a trace onto Docky's terminal (NOT the terminal you run the command from!).

Revision history for this message
Bernhard (b.a.koenig) wrote :

This is suddenly working now. Wonder if somebody fixed it.....

Thx!

Changed in docky:
status: Incomplete → Fix Committed
Revision history for this message
Robert Dyer (psybers) wrote :

You seem to have a number of weird bugs that no one else can reproduce and that suddenly 'fix themselves'. I wonder if perhaps you have a hardware problem you arent aware of (bad memory can do very odd things but still seem 'normal', or a bad hdd).

Changed in docky:
status: Fix Committed → Invalid
Revision history for this message
Bernhard (b.a.koenig) wrote :
Download full text (3.3 KiB)

No, I'm just a very considerate beta tester that lives on the edge. Crappy hardware is just a part of it. :)
Seriously, I tried again and got a backtrace this time:

Full thread dump:

"<unnamed thread>" tid=0x0x50a6f0 this=0x0x2fed8 thread handle 0x404 state : not waiting owns ()
  at System.Nullable`1<int>.get_Value () <0x00011>
  at Docky.Interface.DockPreferences.get_IconSize () [0x00028] in /home/bkoenig/tarballs/docky/Docky/Docky/Interface/DockPreferences.cs:162
  at Docky.Interface.DockWindow.get_IconSize () [0x00000] in /home/bkoenig/tarballs/docky/Docky/Docky/Interface/DockWindow.cs:486
  at Docky.Interface.DockWindow.<get_DockWidth>m__4F (Docky.Items.AbstractDockItem) [0x00000] in /home/bkoenig/tarballs/docky/Docky/Docky/Interface/DockWindow.cs:548
  at System.Linq.Enumerable/<Sum>c__AnonStorey2F`1<object>.<>m__60 (int,object) <0x0002b>
  at System.Linq.Enumerable.Sum<Docky.Items.AbstractDockItem, int> (System.Collections.Generic.IEnumerable`1<Docky.Items.AbstractDockItem>,System.Func`3<int, Docky.Items.AbstractDockItem, int>) <0x00073>
  at System.Linq.Enumerable.Sum<object> (System.Collections.Generic.IEnumerable`1<object>,System.Func`2<object, int>) <0x000d0>
  at Docky.Interface.DockWindow.get_DockWidth () [0x0000d] in /home/bkoenig/tarballs/docky/Docky/Docky/Interface/DockWindow.cs:548
  at Docky.Interface.DockWindow.UpdateMaxIconSize () [0x00095] in /home/bkoenig/tarballs/docky/Docky/Docky/Interface/DockWindow.cs:1769
  at Docky.Interface.DockWindow.DrawDock (Docky.CairoHelper.DockySurface) [0x00011] in /home/bkoenig/tarballs/docky/Docky/Docky/Interface/DockWindow.cs:1899
  at Docky.Interface.DockWindow.OnExposeEvent (Gdk.EventExpose) [0x000c3] in /home/bkoenig/tarballs/docky/Docky/Docky/Interface/DockWindow.cs:2413
  at Gtk.Widget.exposeevent_cb (intptr,intptr) <0x00069>
  at (wrapper native-to-managed) Gtk.Widget.exposeevent_cb (intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff>
  at Gtk.Application.Run () <0x0000a>
  at Docky.Docky.Main (string[]) [0x000ed] in /home/bkoenig/tarballs/docky/Docky/Docky/Docky.cs:95
  at (wrapper runtime-invoke) Docky.Docky.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

"<threadpool thread>" tid=0x0x2695b70 this=0x0x2f258 thread handle 0x422 state : interrupted state owns ()

"<threadpool thread>" tid=0x0x7716b70 this=0x0x3c037d0 thread handle 0x430 state : interrupted state owns ()

"<threadpool thread>" tid=0x0x2919b70 this=0x0x2981d48 thread handle 0x4d4 state : interrupted state owns ()

"<unnamed thread>" tid=0x0x1cd2b70 this=0x0x3c03bb8 thread handle 0x418 state : interrupted state owns ()
  at (wrapper managed-to-native) System.Threading.Thread.Sleep_internal (int) <0x00004>
  at (wrapper managed-to-native) System.Threading.Thread.Sleep_internal (int) <0xffffffff>
  at System.Threading.Thread.Sleep (int) <0x0001c>
  at CPUMonitor.CPUMonitorDockItem.<CPUMonitorDockItem>m__0 () [0x0000b] in /home/bkoenig/tarballs/docky/StandardPlugins/CPUMonitor/src/CPUMonitorDockItem.cs:75
  at Docky.Services.SystemService/<RunOnThread>c__AnonStorey9.<>m__B () ...

Read more...

Changed in docky:
status: Invalid → New
Revision history for this message
Dmitry Murat (dmitry-murat) wrote :

I can confirm this issue @ 9.10 x64. When killing it from another terminal window with 'killall docky' I get error message:

[Error 16:47:00.358] [DesktopItem] Could not find file "/usr/share/applications/openoffice.org3-startcenter.desktop"

So I think the problem is in some non-existing files that are linked to bookmarks.

Revision history for this message
Dmitry Murat (dmitry-murat) wrote :
Download full text (3.9 KiB)

Nope. Removed that shortcut but nothing changed. Docky still freezes on bookmarks docklet removal. My thread dump:

Full thread dump:

"<unnamed thread>" tid=0x0x7fb81c18f730 this=0x0x7fb81c042e58 thread handle 0x404 state : not waiting owns ()
  at (wrapper managed-to-native) System.DateTime.GetNow () <0x00042>
  at (wrapper managed-to-native) System.DateTime.GetNow () <0xffffffff>
  at System.DateTime.get_UtcNow () <0x0000f>
  at Docky.Interface.DockWindow.<get_DockWidth>m__4F (Docky.Items.AbstractDockItem) <0x000b7>
  at System.Linq.Enumerable/<Sum>c__AnonStorey2F`1<object>.<>m__60 (int,object) <0x00037>
  at System.Linq.Enumerable.Sum<Docky.Items.AbstractDockItem, int> (System.Collections.Generic.IEnumerable`1<Docky.Items.AbstractDockItem>,System.Func`3<int, Docky.Items.AbstractDockItem, int>) <0x0006a>
  at System.Linq.Enumerable.Sum<object> (System.Collections.Generic.IEnumerable`1<object>,System.Func`2<object, int>) <0x000bd>
  at Docky.Interface.DockWindow.get_DockWidth () <0x00077>
  at Docky.Interface.DockWindow.UpdateMaxIconSize () <0x000e3>
  at Docky.Interface.DockWindow.DrawDock (Docky.CairoHelper.DockySurface) <0x000ef>
  at Docky.Interface.DockWindow.OnExposeEvent (Gdk.EventExpose) <0x00203>
  at Gtk.Widget.exposeevent_cb (intptr,intptr) <0x00077>
  at (wrapper native-to-managed) Gtk.Widget.exposeevent_cb (intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00052>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff>
  at Gtk.Application.Run () <0x0000b>
  at Docky.Docky.Main (string[]) <0x00277>
  at (wrapper runtime-invoke) Docky.Docky.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

"<threadpool thread>" tid=0x0x7fb8077ee910 this=0x0x7fb80d67c4c8 thread handle 0x428 state : interrupted state owns ()
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitAny_internal (System.Threading.WaitHandle[],int,bool) <0x0004b>
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitAny_internal (System.Threading.WaitHandle[],int,bool) <0xffffffff>
  at System.Threading.WaitHandle.WaitAny (System.Threading.WaitHandle[],System.TimeSpan,bool) <0x00077>
  at System.Threading.RegisteredWaitHandle.Wait (object) <0x000bb>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff>

"<threadpool thread>" tid=0x0x7fb807bf8910 this=0x0x7fb80d67c990 thread handle 0x425 state : interrupted state owns ()

"<threadpool thread>" tid=0x0x7fb807df9910 this=0x0x7fb80dd897f8 thread handle 0x41f state : interrupted state owns ()
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitAny_internal (System.Threading.WaitHandle[],int,bool) <0x0004b>
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitAny_internal (System.Threading.WaitHandle[],int,bool) <0xffffffff>
  at System.Threading.WaitHandle.WaitAny (System.Threading.WaitHandle[],System.TimeSpan,bool) <0x00077>
  at System.Threading.RegisteredWaitHandle.Wait (object) <0x000bb>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff>
Full thread dump:

"<threadpool thre...

Read more...

Changed in docky:
milestone: none → 2.0.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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