← Back to team overview

cairo-dock-team team mailing list archive

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

 

Ah - Matthieu - you were right - forcing gnome integration fixed it!

I ran the previous gdb session without passing the args correctly i.e.
gdb cairo-dock -e gnome instead of supplying them inside gdb (have not used gdb in a long long while).

Here is the trace with it working
(gdb) run -e gnome
Starting program: /usr/bin/cairo-dock -e gnome
Got object file from memory but can't read symbols: File truncated.
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe90ab700 (LWP 21792)]
warning :  (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core/src/implementations/cairo-dock-egl.c:gldi_register_egl_backend:232)  
  Cairo-Dock was not built with EGL support
warning :  (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core/src/implementations/cairo-dock-glx.c:_initialize_opengl_backend:129)  
  couldn't find an appropriate visual, trying to get one without Stencil buffer
(it may cause some little deterioration in the rendering) ...

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

warning :  (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core/src/gldit/cairo-dock-utils.c:cairo_dock_launch_command_sync_with_stderr:260)  
  No value set for `/desktop/gnome/interface/font_name'

[New Thread 0x7fffcfe6b700 (LWP 21796)]
[Thread 0x7fffcfe6b700 (LWP 21796) exited]
warning :  (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core/src/gldit/cairo-dock-keybinder.c:init_object:358)  
  Couldn't bind '<Control>F12' (Log out: Show the logout menu)
 This shortkey is probably already used by another applet or another application
[New Thread 0x7fffcfe6b700 (LWP 21799)]
warning :  (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core/src/gldit/cairo-dock-keybinder.c:init_object:358)  
  Couldn't bind '<Control>F1' (Applications Menu: Show/hide the Applications menu)
 This shortkey is probably already used by another applet or another application
warning :  (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core/src/gldit/cairo-dock-keybinder.c:init_object:358)  
  Couldn't bind '<Control>F2' (Applications Menu: Show/hide the quick-launch dialogue)
 This shortkey is probably already used by another applet or another application
Cairo-Dock - Launcher API Daemon is already running (18643)
[New Thread 0x7fffccca6700 (LWP 21802)]
[New Thread 0x7fffc7fff700 (LWP 21803)]
[Thread 0x7fffccca6700 (LWP 21802) exited]
[New Thread 0x7fffccca6700 (LWP 21806)]
[Thread 0x7fffc7fff700 (LWP 21803) exited]
_get_desktop_bg_surface: assertion 'iRootPixmapID != 0' failed
warning :  (/var/abs/local/yaourtbuild/cairo-dock-plugins-bzr/src/cairo-dock-plug-ins/switcher/src/applet-load-icons.c:cd_switcher_load_desktop_bg_map_surface:197)  
  couldn't get the wallpaper

-- 
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