← Back to team overview

cairo-dock-team team mailing list archive

[Bug 1382796] Re: Shortcuts applet causing continous restarts of Dock

 

Matthieu - sorry about that. I can now see the steps to reproduce and
what caused the original problem.

I had originally used another file manager called pcmanfm before moving
to KDE. This file manager uses .gtk-bookmarks for it's bookmarking.

STEPS TO REPRODUCE:
1. Create folder in home directory - test2
2. In pcmanfm you can bookmark this file adding the following entry into .gtk-bookmarks
file:///home/nick/test2 test2
3. Delete the actual folder that the bookmark file refers to.
4. Load Cairo Dock (Default Panel with Shortcuts applet).

It now begins restarting.

arning :  (/var/abs/local/yaourtbuild/cairo-dock-plugins-bzr/src/cairo-dock-plug-ins/kde-integration/src/applet-vfs.c:vfs_backend_get_file_info:304)  
  gnome_integration : Error when getting information for file '/home/nick/test2': No such file or directory
warning :  (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core/src/cairo-dock.c:_cairo_dock_intercept_signal:180)  
  Cairo-Dock has crashed (sig 11).
It will be restarted now.
Feel free to report this bug on glx-dock.org to help improving the dock!
info on the system :
Linux Cuchulainn 3.16.4-1-ARCH #1 SMP PREEMPT Mon Oct 6 08:22:27 CEST 2014 x86_64 GNU/Linux
Couldn't guess if it was an applet's fault or not. It may have crashed inside the core or inside a thread
restarting with 'cairo-dock -w 2 -q 2'...

The thunar file manager also stores bookmarks in .gtk-bookmarks and can
be used to re-create the issue.

-- 
You received this bug notification because you are a member of Cairo-
Dock Devs, which is subscribed to Cairo-Dock Plug-ins.
https://bugs.launchpad.net/bugs/1382796

Title:
  Shortcuts applet causing continous restarts of Dock

Status in Cairo-Dock: Plug-ins:
  Triaged

Bug description:
  ============================================================================
          Cairo-Dock version : 3.4.0
          Compiled date      : Oct 17 2014 09:05:35
          Built with GTK     : 3.14
          Running with OpenGL: 1
   ============================================================================

  This is an ssue with the Shortcuts applet (bzr plugins).

  STEPS TO REPRODUCE:
  1. Load Cairo dock with default Panel
  2. Delete one of the folders / files referenced by the Shortcuts plugin.
  3. Restart cairo-dock

  It will seg fault and continue trying to restart. Seems impossible to
  change the theme and get the dock working again. Attempting to run the
  current theme will revert to default dock and so will not fix the
  problem.

  Issue occurs in applet-bookmarks.c -> cd_shortcuts_list_bookmarks
  (specifically it is reading .gtk-bookmarks and falling over when it
  cannot find the file referenced by the bookmarks).

  Emptying .gtk-bookmarks is a workaround to resolve the issue.

  STACK TRACE OF WHERE THE EVENT HAPPENSj:
  (gdb) backtrace
  #0  cd_shortcuts_list_bookmarks (cBookmarkFilePath=cBookmarkFilePath@entry=0x7fffc00199d0 "/home/nick/.gtk-bookmarks", myApplet=0xec48c0)
      at /var/abs/local/yaourtbuild/cairo-dock-plugins-bzr/src/cairo-dock-plug-ins/shortcuts/src/applet-bookmarks.c:415
  #1  0x00007fffd121b2e1 in _load_icons (pSharedMemory=0xed5460)
      at /var/abs/local/yaourtbuild/cairo-dock-plugins-bzr/src/cairo-dock-plug-ins/shortcuts/src/applet-load-icons.c:266
  #2  cd_shortcuts_get_shortcuts_data (pSharedMemory=0xed5460)
      at /var/abs/local/yaourtbuild/cairo-dock-plugins-bzr/src/cairo-dock-plug-ins/shortcuts/src/applet-load-icons.c:277
  #3  0x00007ffff6311710 in _get_data_threaded (pTask=0xe93340) at /var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core/src/gldit/cairo-dock-task.c:136
  #4  0x00007ffff74a0585 in ?? () from /usr/lib/libglib-2.0.so.0
  #5  0x00007ffff521c314 in start_thread () from /usr/lib/libpthread.so.0
  #6  0x00007ffff5fcf3ed in clone () from /usr/lib/libc.so.6
  (gdb)

To manage notifications about this bug go to:
https://bugs.launchpad.net/cairo-dock-plug-ins/+bug/1382796/+subscriptions


References