← Back to team overview

cairo-dock-team team mailing list archive

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

 

(gdb) backtrace full
#0  cairo_dock_search_icon_s_path (cFileName=0xffffffff <error: Cannot access memory at address 0xffffffff>, iDesiredIconSize=70)
    at /var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core/src/gldit/cairo-dock-icon-manager.c:229
No locals.
#1  0x00007ffff62b6665 in _load_image (icon=0x7fffc001d340) at /var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core/src/gldit/cairo-dock-icon-manager.c:946
        cIconPath = <optimized out>
        iWidth = 70
        iHeight = 70
        pSurface = 0x0
#2  0x00007ffff62b6d99 in cairo_dock_load_icon_image (icon=icon@entry=0x7fffc001d340, pContainer=pContainer@entry=0x1240db0)
    at /var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core/src/gldit/cairo-dock-icon-factory.c:122
        __PRETTY_FUNCTION__ = "cairo_dock_load_icon_image"
        pInstance = 0x0
        __func__ = "cairo_dock_load_icon_image"
        pPrevSurface = 0x0
        iPrevTexture = 0
#3  0x00007ffff62b7337 in _load_icon_buffer_idle (pIcon=0x7fffc001d340)
    at /var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core/src/gldit/cairo-dock-icon-factory.c:260
        pContainer = 0x1240db0
#4  0x00007ffff747992d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5  0x00007ffff7479d08 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#6  0x00007ffff747a032 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#7  0x00007ffff6a05a85 in gtk_main () from /usr/lib/libgtk-3.so.0
No symbol table info available.
#8  0x000000000040f00d in main (argc=2, argv=0x7fffffffe6e8) at /var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core/src/cairo-dock.c:920
        i = 0
        erreur = 0x0
        bSafeMode = 0
        bMaintenance = 0
        bNoSticky = 0
        bCappuccino = 0
        bPrintVersion = 0
        bTesting = 0
        bForceOpenGL = 0
        bToggleIndirectRendering = 0
        bKeepAbove = 0
        bForceColors = 0
        bAskBackend = 0
        bMetacityWorkaround = 0
        cEnvironment = 0x0
        cUserDefinedDataDir = 0x0
        cVerbosity = 0x0
        cUserDefinedModuleDir = 0x0
        cExcludeModule = 0x0
        cThemeServerAdress = 0x0
        iDelay = 0
        pOptionsTable = {{long_name = 0x4255f2 "cairo", short_name = 99 'c', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x632e40 <g_bForceCairo>, 
            description = 0x7fffe88a82bd "Use Cairo backend.", arg_description = 0x0}, {long_name = 0x425662 "opengl", short_name = 111 'o', flags = 2, 
            arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe084, description = 0x7fffe88a8336 "Use OpenGL backend.", arg_description = 0x0}, {
            long_name = 0x425659 "indirect-opengl", short_name = 79 'O', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe088, 
            description = 0x7fffe88a82d0 "Use OpenGL backend with indirect rendering. There are very few case where this option should be used.", 
            arg_description = 0x0}, {long_name = 0x425669 "ask-backend", short_name = 65 'A', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe094, 
            description = 0x7fffe88a0f73 "Ask again on startup which backend to use.", arg_description = 0x0}, {long_name = 0x425675 "env", short_name = 101 'e', 
            flags = 2, arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffe0a8, 
---Type <return> to continue, or q <return> to quit---
            description = 0x7fffe88a2b73 "Force the dock to consider this environnement - use it with care.", arg_description = 0x0}, {long_name = 0x42a191 "dir", 
            short_name = 100 'd', flags = 2, arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffe0b0, 
            description = 0x7fffe88a2bb5 "Force the dock to load from this directory, instead of ~/.config/cairo-dock.", arg_description = 0x0}, {
            long_name = 0x425558 "server", short_name = 83 'S', flags = 2, arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffe0d0, 
            description = 0x7fffe88a0a08 "Address of a server containing additional themes. This will overwrite the default server address.", arg_description = 0x0}, {
            long_name = 0x425679 "wait", short_name = 119 'w', flags = 2, arg = G_OPTION_ARG_INT, arg_data = 0x7fffffffe09c, 
            description = 0x7fffe88a866c "Wait for N seconds before starting; this is useful if you notice some problems when the dock starts with the session.", 
            arg_description = 0x0}, {long_name = 0x42567e "maintenance", short_name = 109 'm', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe070, 
            description = 0x7fffe88a0b14 "Allow editing of the configuration before the dock is started and show the config panel on start.", arg_description = 0x0}, {
            long_name = 0x42568a "exclude", short_name = 120 'x', flags = 2, arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffe0c8, 
            description = 0x7fffe88a2788 "Exclude a given plug-in from activating (it is still loaded though).", arg_description = 0x0}, {
            long_name = 0x425692 "safe-mode", short_name = 102 'f', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe06c, 
            description = 0x7fffe88a2434 "Don't load any plug-ins.", arg_description = 0x0}, {long_name = 0x4256b5 "metacity-workaround", short_name = 87 'W', 
            flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe098, 
            description = 0x7fffe88a8f4b "Work around some bugs in Metacity Window-Manager (invisible dialogues or sub-docks)", arg_description = 0x0}, {
            long_name = 0x4256c9 "log", short_name = 108 'l', flags = 2, arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffe0b8, 
            description = 0x7fffe88a4b3d "Log verbosity (debug,message,warning,critical,error); default is warning.", arg_description = 0x0}, {
            long_name = 0x42aa53 "colors", short_name = 70 'F', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe090, 
            description = 0x7fffe88a2c3c "Force to display some output messages with colours.", arg_description = 0x0}, {long_name = 0x4257ac "version", 
            short_name = 118 'v', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe07c, description = 0x7fffe88a6250 "Print version and quit.", 
            arg_description = 0x0}, {long_name = 0x4256e5 "locked", short_name = 107 'k', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x633160 <g_bLocked>, 
            description = 0x7fffe88a4aed "Lock the dock so that any user modification is impossible.", arg_description = 0x0}, {long_name = 0x4256ec "keep-above", 
           description = 0x7fffe88a4aed "Lock the dock so that any user modification is impossible.", arg_description = 0x0}, {long_name = 0x4256ec "keep-above", 
            short_name = 97 'a', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe08c, 
            description = 0x7fffe88a47e9 "Keep the dock above other windows whatever.", arg_description = 0x0}, {long_name = 0x4256f7 "no-sticky", short_name = 115 's', 
            flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe074, description = 0x7fffe88a244d "Don't make the dock appear on all desktops.", 
            arg_description = 0x0}, {long_name = 0x425701 "capuccino", short_name = 67 'C', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe078, 
            description = 0x7fffe88a1576 "Cairo-Dock makes anything, including coffee !", arg_description = 0x0}, {long_name = 0x42570b "modules-dir", 
            short_name = 77 'M', flags = 2, arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffe0c0, 
            description = 0x7fffe88a0f9e "Ask the dock to load additional modules contained in this directory (though it is unsafe for your dock to load unofficial modules).", arg_description = 0x0}, {long_name = 0x425717 "testing", short_name = 84 'T', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe080, 
            description = 0x7fffe88a2ade "For debugging purpose only. The crash manager will not be started to hunt down the bugs.", arg_description = 0x0}, {
            long_name = 0x42571f "easter-eggs", short_name = 69 'E', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x632490 <g_bEasterEggs>, 
            description = 0x7fffe88a2a88 "For debugging purpose only. Some hidden and still unstable options will be activated.", arg_description = 0x0}, {
            long_name = 0x0, short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}}
        context = 0x0
        __PRETTY_FUNCTION__ = "main"
        iDesktopEnv = 10117936
        cRootDataDirPath = 0x0
        iRendering = (GLDI_OPENGL | GLDI_CAIRO | unknown: 4294967292)
        cExtraDirPath = 0x7e4b10 "/home/nick/.config/cairo-dock/extras"
        cThemesDirPath = 0x9a6330 "/home/nick/.config/cairo-dock/themes"
        cCurrentThemeDirPath = 0x0
        cDesktopSessionEnv = 0x0

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

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