Problems at use | Problèmes à l'utilisation
hadi_a, Saturday 11 October 2014 à 19:21
|
|
Subscription date : 11 October 2014
Messages : 8
|
Hi,
I am running Debian Testing. After the update to Gnome 3.14 yesterday, Cairo Dock crashes on right-click on any part of the dock. This is rather annoying as I cannot add new icons, etc.
This is the output from terminal:
~$ cairo-dock
warning : (/tmp/buildd/cairo-dock-3.3.2/src/implementations/cairo-dock-glx.c:_initialize_opengl_backend:179)
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.3.2
Compiled date : Nov 7 2013 04:33:54
Built with GTK : 3.8
Running with OpenGL: 0
sh: 1: /usr/lib/x86_64-linux-gnu/cairo-dock/cairo-dock-launcher-API-daemon: not found
g_key_file_set_string: assertion 'string != NULL' failed
g_key_file_set_string: assertion 'string != NULL' failed
AFTER RIGHT-CLICK
gtk_window_set_accept_focus: assertion 'GTK_IS_WINDOW (window)' failed
gtk_widget_realize: assertion 'GTK_IS_WIDGET (widget)' failed
warning : (/tmp/buildd/cairo-dock-3.3.2/src/cairo-dock.c:_cairo_dock_intercept_signal:182)
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 inspire 3.16-2-amd64 #1 SMP Debian 3.16.3-2 (2014-09-20) 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'...
I have already tried deleting .config/cairo-dock, and the problem persists. The problem also exists on a fresh installed Debian Jessie configuration.
Thank you very much for your suggestions in advance. |
Subscription date : 19 May 2010
Messages : 36
|
Hi, I have this issue too - it's discuccion has begun here: https://glx-dock.org/bg_topic.php?t=7978&pos=0
(This title is more accurate - at least there will be a reference from here to the real discussion  |
matttbe, Sunday 12 October 2014 à 11:48
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Hello,
I guess it's due to the Gnome 3.14 update. But it's annoying!
Is it possible to get a backtrace of this crash with GDB? It'll be very useful and it's really easy to get that by reading this wiki page ==> ddd
If you're using Debian I guess you'll need to add our repository in order to install cairo-dock-dbg and cairo-dock-plug-ins-dbg packages ==> Debian
But because we want to release a new stable version (maybe today or tomorrow), it can be very useful for us if you check that you also have this bug with the current development version
There is a script to easily compile the dock on Debian ==> By compiling |
hadi_a, Sunday 12 October 2014 à 17:13
|
|
Subscription date : 11 October 2014
Messages : 8
|
Hi matttbe,
I tried my best to capture the backtrace, but didn't succeed.
First, regarding installation of the debug symbols. You are right that the glxdock repository is needed. However, after purging my old cairo-dock, and adding the necessary repository, I get the following error at install:
The following packages have unmet dependencies:
cairo-dock-plug-ins : Depends: libdb5.1 but it is not installable
Depends: libetpan15 (>= 1.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
I checked, and on my system, libdb5.3 and lbetpan17 are installed; the older versions are not in the Debian/testing repository. I'm not sure how to resolve this error. I did alternatively manage to compile from source.
Second. After compiling from source, I ran "gdb cairo-dock". I then reproduce the crash. However, after that, the whole of gnome-shell, including the terminal window running gdb becomes non-responsive. I can't enter the commands to save the backtrace log. I can only kill gdb from another console. I also tried running gdb from another console (other than the one X is on), but of course that doesn't work.
I'm willing to try out other ideas if it helps. The bug is also relatively easy to reproduce on a virtual machine with Debian jessie.
-H. |
matttbe, Sunday 12 October 2014 à 17:49
|
|
hadi_a, Sunday 12 October 2014 à 18:38
|
|
Subscription date : 11 October 2014
Messages : 8
|
mattbe,
Thanks for the idea. Now there is a bit more progress. But it gets stuck waiting for the enter key to be pressed. Is it possible to have that also sent in the gdb_commands.txt file?
The current output is as follows:
274 }
275 g_key_file_free (pKeyFile);
276 g_free (cConfFilePath);
277 }
278
279
280 int main (int argc, char** argv)
281 {
282 //\___________________ build the command line used to respawn, and check if we have been launched from another life.
283 s_pLaunchCommand = g_string_new (argv[0]);
#0 0x00007ffff53fc085 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available. |
hadi_a, Sunday 12 October 2014 à 22:15
|
|
Subscription date : 11 October 2014
Messages : 8
|
Ok I managed to get a backtrace with ddd. (ddd detects the frozen mouse-pointer and continues execution). I hope it sheds more light:
 |
matttbe, Sunday 12 October 2014 à 22:49
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Unfortunately, ddd output will not help us
For the problem with GDB, I guess launching it with this command will help: gdb -x ~/gdb_commands.txt cairo-dock > gdb-out.log 2>&1 |
hadi_a, Monday 13 October 2014 à 00:27
|
|
Subscription date : 11 October 2014
Messages : 8
|
Great, this time the debug-log worked!
GNU gdb (Debian 7.7.1+dfsg-3) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http:This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http:Find the GDB manual and other documentation resources online at:
<http:For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from cairo-dock...done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe89cf700 (LWP 3179)]
warning : (/opt/cairo-dock_bzr/cairo-dock-core/src/implementations/cairo-dock-egl.c:gldi_register_egl_backend:232)
Cairo-Dock was not built with EGL support
warning : (/opt/cairo-dock_bzr/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.3.99.rc1
Compiled date : Oct 12 2014 15:26:21
Built with GTK : 3.14
Running with OpenGL: 0
============================================================================
[New Thread 0x7fffcec2f700 (LWP 3181)]
[New Thread 0x7fffce42e700 (LWP 3182)]
[New Thread 0x7fffcdc2d700 (LWP 3184)]
[Thread 0x7fffce42e700 (LWP 3182) exited]
Cairo-Dock - Launcher API Daemon is already running (2486)
g_key_file_set_string: assertion 'string != NULL' failed
g_key_file_set_string: assertion 'string != NULL' failed
[Thread 0x7fffcdc2d700 (LWP 3184) exited]
drawing failure for widget `GtkWindow`: invalid matrix (not invertible)
[New Thread 0x7fffcdc2d700 (LWP 3188)]
[New Thread 0x7fffce42e700 (LWP 3189)]
[Thread 0x7fffcdc2d700 (LWP 3188) exited]
[Thread 0x7fffcec2f700 (LWP 3181) exited]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff420f988 in _popup_menu (menu=0xd1ef60, time=0) at /opt/cairo-dock_bzr/cairo-dock-core/src/gldit/cairo-dock-menu.c:642
642 if (pContainer && pContainer->iface.setup_menu)
637
638 Icon *pIcon = pParams->pIcon;
639 GldiContainer *pContainer = (pIcon ? cairo_dock_get_icon_container (pIcon) : NULL);
640
641 642 if (pContainer && pContainer->iface.setup_menu)
643 pContainer->iface.setup_menu (pContainer, pIcon, menu);
644
645 646 gtk_container_forall (GTK_CONTAINER (menu), (GtkCallback) _init_menu_item, NULL); pParams = 0xd93720
__func__ = "_popup_menu"
pIcon = 0xfbddb0
pContainer = 0x7fff00000001
No locals.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
i = 1
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 = {{(...)}}
context = 0x791160
__PRETTY_FUNCTION__ = "main"
iDesktopEnv = CAIRO_DOCK_UNKNOWN_ENV
bFirstLaunch = 0
cRootDataDirPath = 0x7911c0 "/home/hadi/.config/cairo-dock"
iRendering = GLDI_DEFAULT
cExtraDirPath = 0x902ac0 "/home/hadi/.config/cairo-dock/extras"
cThemesDirPath = 0x902d20 "/home/hadi/.config/cairo-dock/themes"
cCurrentThemeDirPath = 0x8d10c0 "/home/hadi/.config/cairo-dock/current_theme"
cDesktopSessionEnv = 0x7fffffffed5f "default"
bNewVersion = 0
Stack level 0, frame at 0x7fffffffd9b0:
rip = 0x7ffff420f988 in _popup_menu (/opt/cairo-dock_bzr/cairo-dock-core/src/gldit/cairo-dock-menu.c:642); saved rip = 0x7ffff420fadd
called by frame at 0x7fffffffd9d0
source language c.
Arglist at 0x7fffffffd9a0, args: menu=0xd1ef60, time=0
Locals at 0x7fffffffd9a0, Previous frame s sp is 0x7fffffffd9b0
Saved registers:
rbx at 0x7fffffffd998, rbp at 0x7fffffffd9a0, rip at 0x7fffffffd9a8
rax 0x7fff00000001 140733193388033
rbx 0x0 0
rcx 0x0 0
rdx 0x4 4
rsi 0x2 2
rdi 0xd1ef70 13758320
rbp 0x7fffffffd9a0 0x7fffffffd9a0
rsp 0x7fffffffd960 0x7fffffffd960
r8 0x63f358 6550360
r9 0xb89950 12097872
r10 0x1 1
r11 0x0 0
r12 0x68abe0 6859744
r13 0x676340 6775616
r14 0xd97110 14250256
r15 0x7ffff646f600 140737325233664
rip 0x7ffff420f988 0x7ffff420f988 <_popup_menu+139>
eflags 0x10202 [ IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
=> 0x7ffff420f988 <_popup_menu+139>: mov 0xf0(%rax),%rax
0x7ffff420f98f <_popup_menu+146>: test %rax,%rax
0x7ffff420f992 <_popup_menu+149>: je 0x7ffff420f9b0 <_popup_menu+179>
0x7ffff420f994 <_popup_menu+151>: mov -0x28(%rbp),%rax
0x7ffff420f998 <_popup_menu+155>: mov 0xf0(%rax),%rax
0x7ffff420f99f <_popup_menu+162>: mov -0x38(%rbp),%rdx
0x7ffff420f9a3 <_popup_menu+166>: mov -0x20(%rbp),%rsi
0x7ffff420f9a7 <_popup_menu+170>: mov -0x28(%rbp),%rcx
0x7ffff420f9ab <_popup_menu+174>: mov %rcx,%rdi
0x7ffff420f9ae <_popup_menu+177>: callq *%rax
0x7ffff420f9b0 <_popup_menu+179>: callq 0x7ffff418b2c0 <gtk_container_get_type@plt>
0x7ffff420f9b5 <_popup_menu+184>: mov %rax,%rdx
0x7ffff420f9b8 <_popup_menu+187>: mov -0x38(%rbp),%rax
0x7ffff420f9bc <_popup_menu+191>: mov %rdx,%rsi
0x7ffff420f9bf <_popup_menu+194>: mov %rax,%rdi
0x7ffff420f9c2 <_popup_menu+197>: callq 0x7ffff418a260 <g_type_check_instance_cast@plt>
Thread 7 (Thread 0x7fffce42e700 (LWP 3189)):
No locals.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
__res = <optimized out>
pd = 0x7fffce42e700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736653879040, 1479997865572079010, 1, 10994416, 24, 140736653879040,
-1480102414701652574, -1480023155231124062}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
No locals.
Thread 2 (Thread 0x7fffe89cf700 (LWP 3179)):
No locals.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
__res = <optimized out>
pd = 0x7fffe89cf700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737095988992, 1479997865572079010, 1, 140737354125408, 140737325390032,
140737095988992, -1480044843349404254, -1480023155231124062}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
No locals.
Thread 1 (Thread 0x7ffff7fa29c0 (LWP 3175)):
pParams = 0xd93720
__func__ = "_popup_menu"
pIcon = 0xfbddb0
pContainer = 0x7fff00000001
No locals.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
i = 1
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 = {{(...)}}
context = 0x791160
__PRETTY_FUNCTION__ = "main"
iDesktopEnv = CAIRO_DOCK_UNKNOWN_ENV
bFirstLaunch = 0
cRootDataDirPath = 0x7911c0 "/home/hadi/.config/cairo-dock"
iRendering = GLDI_DEFAULT
cExtraDirPath = 0x902ac0 "/home/hadi/.config/cairo-dock/extras"
cThemesDirPath = 0x902d20 "/home/hadi/.config/cairo-dock/themes"
cCurrentThemeDirPath = 0x8d10c0 "/home/hadi/.config/cairo-dock/current_theme"
cDesktopSessionEnv = 0x7fffffffed5f "default"
bNewVersion = 0
A debugging session is active.
Inferior 1 [process 3175] will be killed.
Quit anyway? (y or n) [answered Y; input not from terminal]
|
matttbe, Monday 13 October 2014 à 01:37
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Thank you for the backtrack!
When quickly looking at this I don't see why it crashes there but I will try find what's wrong ASAP! |
Subscription date : 25 June 2012
Messages : 30
|
I have bug too.
If you need some info, ask me. |
matttbe, Tuesday 14 October 2014 à 00:55
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Is it maybe possible to relaunch gdb with these commands?cd
rm -f gdb.log
echo "r
set logging on
l
bt full
p menu
p pParams
p pIcon
p pContainer
p pContainer->iface
p pContainer->iface.setup_menu
p
quit
y" > ~/gdb_commands.txt
gdb -x ~/gdb_commands.txt cairo-dock > /dev/null
Then can you post the content of the gdb.txt file?
PS: This is strange... it seems this bug only affects Debian users  |
Subscription date : 14 October 2014
Messages : 3
|
I have this issue too.
Yesterday I installed Debian Wheezy, and today I migrated to Sid (by adding the sid repo and running apt-get dist-upgrade) after finding that Wheezy didn't have as quite up-to-date packages as I needed. I know, I know - the best way to migrate to testing is through a reinstall, but I have neither the time nor the patience to sit through another install and configuration process. Docky got some nasty issues with compositing after this -- I'd have red artifacts all over my screen, and to confirm that it was Docky I disabled it and rebooted. Everything worked fine, so it was time to replace Docky. Cairo-Dock is the best alternative, as while it isn't as light as Docky and Plank are, it is certainly the most feature-complete, and everything runs reasonably well on my system.
Except I can't right click the dock without it crashing! So I can't configure it.
No worries, I guess. I'll just wait till it's fixed. But please hurry: I'm using Openbox without a panel (nor do I intend to install one, as I have a systray and docking clock already) and I can only rely on Alt+Tab for so long before I start forget exactly what I'm running. To this end a dock helps more than you know. |
hadi_a, Tuesday 14 October 2014 à 10:23
|
|
Subscription date : 11 October 2014
Messages : 8
|
gdb fails with this message:
gdb_commands.txt:5: Error in sourced command file:
No symbol "menu" in current context. |
hadi_a, Tuesday 14 October 2014 à 11:36
|
|
Subscription date : 11 October 2014
Messages : 8
|
Btw, out of curiosity, on which other distributions have you tested gnome-3.14 and cairo-dock? Perhaps I should switch my distribution. |
matttbe, Tuesday 14 October 2014 à 15:25
|
|
Subscription date : 24 January 2009
Messages : 12573
|
gdb fails with this message:
And the gdb.txt file is empty?
Btw, out of curiosity, on which other distributions have you tested gnome-3.14 and cairo-dock? Perhaps I should switch my distribution. I'm not using GTK 3.14 (unfortunately it's not possible to test every configuration, every update, etc. ) |
hadi_a, Tuesday 14 October 2014 à 15:35
|
|
Subscription date : 11 October 2014
Messages : 8
|
No it's not empty; I copied that line from the end of gdb.txt. The part before it was I think the same as before.
I removed the "p menu" line from the commands, and that works. This is the output:
GNU gdb (Debian 7.7.1+dfsg-3) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from cairo-dock...done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe89d3700 (LWP 8283)]
warning : (/opt/cairo-dock_bzr/cairo-dock-core/src/implementations/cairo-dock-egl.c:gldi_register_egl_backend:232)
Cairo-Dock was not built with EGL support
warning : (/opt/cairo-dock_bzr/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.3.99.rc1
Compiled date : Oct 14 2014 10:07:17
Built with GTK : 3.14
Running with OpenGL: 0
============================================================================
[New Thread 0x7fffcec2c700 (LWP 8286)]
[New Thread 0x7fffce42b700 (LWP 8287)]
[New Thread 0x7fffcdc2a700 (LWP 8289)]
[Thread 0x7fffce42b700 (LWP 8287) exited]
Cairo-Dock - Launcher API Daemon is already running (2452)
[Thread 0x7fffcdc2a700 (LWP 8289) exited]
drawing failure for widget `GtkWindow': invalid matrix (not invertible)
[Thread 0x7fffcec2c700 (LWP 8286) exited]
[New Thread 0x7fffcdc2a700 (LWP 8293)]
[New Thread 0x7fffce42b700 (LWP 8294)]
[New Thread 0x7fffbffff700 (LWP 8295)]
[Thread 0x7fffcdc2a700 (LWP 8293) exited]
[Thread 0x7fffce42b700 (LWP 8294) exited]
[New Thread 0x7fffcdc2a700 (LWP 8297)]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff420f940 in _popup_menu (menu=0xf95040, time=0)
at /opt/cairo-dock_bzr/cairo-dock-core/src/gldit/cairo-dock-menu.c:639
639 GldiContainer *pContainer = (pIcon ? cairo_dock_get_icon_container (pIcon) : NULL);
634 {
635 GldiMenuParams *pParams = g_object_get_data (G_OBJECT(menu), "gldi-params");
636 g_return_if_fail (pParams != NULL);
637
638 Icon *pIcon = pParams->pIcon;
639 GldiContainer *pContainer = (pIcon ? cairo_dock_get_icon_container (pIcon) : NULL);
640
641 // setup the menu for the container
642 if (pContainer && pContainer->iface.setup_menu)
643 pContainer->iface.setup_menu (pContainer, pIcon, menu);
#0 0x00007ffff420f940 in _popup_menu (menu=0xf95040, time=0)
at /opt/cairo-dock_bzr/cairo-dock-core/src/gldit/cairo-dock-menu.c:639
pParams = 0x102a080
__func__ = "_popup_menu"
pIcon = 0x1
pContainer = 0x7ffff2b0387d <__GI___clock_gettime+29>
#1 0x00007ffff420fab2 in _popup_menu_delayed (menu=0xf95040)
at /opt/cairo-dock_bzr/cairo-dock-core/src/gldit/cairo-dock-menu.c:671
No locals.
#2 0x00007ffff646f613 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff646eb6d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007ffff646ef48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007ffff646f272 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#6 0x00007ffff5238f2a in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#7 0x000000000041074a in main (argc=1, argv=0x7fffffffe398)
at /opt/cairo-dock_bzr/cairo-dock-core/src/cairo-dock.c:920
i = 1
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 = 0x42b43d "cairo", short_name = 99 'c', flags = 2, arg = G_OPTION_ARG_NONE,
arg_data = 0x637340 <g_bForceCairo>, description = 0x7ffff7e192bd "Use Cairo backend.",
arg_description = 0x0}, {long_name = 0x42b456 "opengl", short_name = 111 'o', flags = 2,
arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe124,
description = 0x7ffff7e19336 "Use OpenGL backend.", arg_description = 0x0}, {
long_name = 0x42b471 "indirect-opengl", short_name = 79 'O', flags = 2, arg = G_OPTION_ARG_NONE,
arg_data = 0x7fffffffe120,
description = 0x7ffff7e192d0 "Use OpenGL backend with indirect rendering. There are very few case where this option should be used.", arg_description = 0x0}, {long_name = 0x42b4ee "ask-backend", short_name = 65 'A',
flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe114,
description = 0x7ffff7e11f73 "Ask again on startup which backend to use.", arg_description = 0x0}, {
long_name = 0x42b52b "env", short_name = 101 'e', flags = 2, arg = G_OPTION_ARG_STRING,
arg_data = 0x7fffffffe108,
description = 0x7ffff7e13b73 "Force the dock to consider this environnement - use it with care.",
arg_description = 0x0}, {long_name = 0x42b572 "dir", short_name = 100 'd', flags = 2,
arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffe100,
description = 0x7ffff7e13bb5 "Force the dock to load from this directory, instead of ~/.config/cairo-dock.", arg_description = 0x0}, {long_name = 0x42b5c5 "server", short_name = 83 'S', flags = 2,
arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffe0e0,
description = 0x7ffff7e11a08 "Address of a server containing additional themes. This will overwrite the default server address.", arg_description = 0x0}, {long_name = 0x42b632 "wait", short_name = 119 'w', flags = 2,
arg = G_OPTION_ARG_INT, arg_data = 0x7fffffffe0dc,
description = 0x7ffff7e1966c "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 = 0x42b6ae "maintenance",
short_name = 109 'm', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe138,
description = 0x7ffff7e11b14 "Allow editing of the configuration before the dock is started and show the config panel on start.", arg_description = 0x0}, {long_name = 0x42b718 "exclude", short_name = 120 'x',
flags = 2, arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffe0e8,
description = 0x7ffff7e13788 "Exclude a given plug-in from activating (it is still loaded though).",
arg_description = 0x0}, {long_name = 0x42b765 "safe-mode", short_name = 102 'f', flags = 2,
arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe13c,
description = 0x7ffff7e13434 "Don't load any plug-ins.", arg_description = 0x0}, {
long_name = 0x42b788 "metacity-workaround", short_name = 87 'W', flags = 2, arg = G_OPTION_ARG_NONE,
arg_data = 0x7fffffffe110,
description = 0x7ffff7e19f4b "Work around some bugs in Metacity Window-Manager (invisible dialogues or sub-docks)", arg_description = 0x0}, {long_name = 0x42b7f2 "log", short_name = 108 'l', flags = 2,
arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffe0f8,
description = 0x7ffff7e15b3d "Log verbosity (debug,message,warning,critical,error); default is warning.", arg_description = 0x0}, {long_name = 0x42b842 "colors", short_name = 70 'F', flags = 2, arg = G_OPTION_ARG_NONE,
arg_data = 0x7fffffffe118,
description = 0x7ffff7e13c3c "Force to display some output messages with colours.",
arg_description = 0x0}, {long_name = 0x42b883 "version", short_name = 118 'v', flags = 2,
arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe12c,
description = 0x7ffff7e17250 "Print version and quit.", arg_description = 0x0}, {
long_name = 0x42b8a3 "locked", short_name = 107 'k', flags = 2, arg = G_OPTION_ARG_NONE,
arg_data = 0x637620 <g_bLocked>,
description = 0x7ffff7e15aed "Lock the dock so that any user modification is impossible.",
arg_description = 0x0}, {long_name = 0x42b8f0 "keep-above", short_name = 97 'a', flags = 2,
arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe11c,
description = 0x7ffff7e157e9 "Keep the dock above other windows whatever.", arg_description = 0x0}, {
long_name = 0x42b92c "no-sticky", short_name = 115 's', flags = 2, arg = G_OPTION_ARG_NONE,
arg_data = 0x7fffffffe134, description = 0x7ffff7e1344d "Don't make the dock appear on all desktops.",
arg_description = 0x0}, {long_name = 0x42b964 "capuccino", short_name = 67 'C', flags = 2,
arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe130,
description = 0x7ffff7e12576 "Cairo-Dock makes anything, including coffee !", arg_description = 0x0}, {
long_name = 0x42b99e "modules-dir", short_name = 77 'M', flags = 2, arg = G_OPTION_ARG_STRING,
arg_data = 0x7fffffffe0f0,
description = 0x7ffff7e11f9e "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 = 0x42ba36 "testing", short_name = 84 'T', flags = 2, arg = G_OPTION_ARG_NONE,
arg_data = 0x7fffffffe128,
description = 0x7ffff7e13ade "For debugging purpose only. The crash manager will not be started to hunt down the bugs.", arg_description = 0x0}, {long_name = 0x42ba99 "easter-eggs", short_name = 69 'E', flags = 2,
arg = G_OPTION_ARG_NONE, arg_data = 0x636950 <g_bEasterEggs>,
description = 0x7ffff7e13a88 "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 = 0x78d0e0
__PRETTY_FUNCTION__ = "main"
iDesktopEnv = CAIRO_DOCK_UNKNOWN_ENV
bFirstLaunch = 0
cRootDataDirPath = 0x7a0350 "/home/hadi/.config/cairo-dock"
iRendering = GLDI_DEFAULT
cExtraDirPath = 0x8ffd30 "/home/hadi/.config/cairo-dock/extras"
cThemesDirPath = 0x9006b0 "/home/hadi/.config/cairo-dock/themes"
cCurrentThemeDirPath = 0x8d0480 "/home/hadi/.config/cairo-dock/current_theme"
cDesktopSessionEnv = 0x7fffffffed82 "default"
bNewVersion = 0
$1 = (GldiMenuParams *) 0x102a080
$2 = (Icon *) 0x1
$3 = (GldiContainer *) 0x7ffff2b0387d <__GI___clock_gettime+29>
$4 = {animation_loop = 0x8910245489481824, setup_menu = 0xfffff86be80c2474, detach_icon = 0xc0894118244c8b48,
insert_icon = 0x7463481024548b48}
$5 = (void (*)(GldiContainer *, Icon *, GtkWidget *)) 0xfffff86be80c2474
$6 = (void (*)(GldiContainer *, Icon *, GtkWidget *)) 0xfffff86be80c2474
A debugging session is active.
Inferior 1 [process 8279] will be killed.
Quit anyway? (y or n) [answered Y; input not from terminal]
By the way, as I mentioned, the dock worked fine on Debian with Gnome 3.12; it broke after the new Gnome update. I'm guessing that it's Gnome related, not Debian specific. I'm not sure which other distributions have also already upgrade to 3.14 - perhaps ArchLinux; or Gnome-Ubuntu users with a specific PPA. They can then test to see if the problem exists there as well or not. |
matttbe, Tuesday 14 October 2014 à 18:11
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Hello,
Here is what I have on Ubuntu 14.10 with GTK 3.14.2: 6336 in /build/buildd/gtk+3.0-3.14.2/./gtk/gtkwindow.c
shadow_width=shadow_width@entry=0x7fffffffd360)
at /build/buildd/gtk+3.0-3.14.2/./gtk/gtkwindow.c:6341
priv = <optimized out>
border = {left = -11428, right = -1, top = 32767, bottom = 0}
d = {left = -7984, right = 104, top = 0, bottom = 0}
margin = {left = -11432, right = -1, top = 32767, bottom = 0}
context = <optimized out>
state = <optimized out>
s = <optimized out>
shadows = <optimized out>
i = <optimized out>
window=<optimized out>, border=border@entry=0x7fffffffd360)
at /build/buildd/gtk+3.0-3.14.2/./gtk/gtkwindow.c:11531
No locals.
set_scroll_offset=set_scroll_offset@entry=1)
at /build/buildd/gtk+3.0-3.14.2/./gtk/gtkmenu.c:4495
priv = 0xe6ca00
widget = 0xe6cc40
requisition = <optimized out>
x = 279
y = 735
scroll_offset = <optimized out>
screen = 0x68e0d0
pointer_screen = 0x68e0d0
monitor = {x = 0, y = 0, width = 55515136, height = 485811257}
pointer = <optimized out>
border = {left = -12016, right = 100, top = 0, bottom = 0}
device=<optimized out>, device@entry=0x0,
parent_menu_shell=parent_menu_shell@entry=0x0,
parent_menu_item=parent_menu_item@entry=0x0, func=func@entry=0x0,
data=data@entry=0x0, destroy=0x0, button=0, activate_time=0)
at /build/buildd/gtk+3.0-3.14.2/./gtk/gtkmenu.c:1726
priv = 0xe6ca00
widget = 0xe6cc40
xgrab_shell = 0xe6cc40
parent = <optimized out>
current_event = <optimized out>
menu_shell = 0xe6cc40
grab_keyboard = <optimized out>
parent_toplevel = <optimized out>
keyboard = 0x664640
pointer = 0x6645c0
source_device = 0x0
__FUNCTION__ = "gtk_menu_popup_for_device"
parent_menu_shell=0x0, parent_menu_item=0x0, func=0x0, data=0x0, button=0,
activate_time=0) at /build/buildd/gtk+3.0-3.14.2/./gtk/gtkmenu.c:1802
__FUNCTION__ = "gtk_menu_popup"
at /opt/cairo-dock_bzr/cairo-dock-core/src/gldit/cairo-dock-menu.c:661
pParams = 0x173ac70
__func__ = "_popup_menu"
pIcon = 0x0
pContainer = 0x0
at /opt/cairo-dock_bzr/cairo-dock-core/src/gldit/cairo-dock-menu.c:671
No locals.
@hadi_a: is it possible to install GTK 3.14.2 and then re-launch gdb? It's available in Sid repos. |
Subscription date : 14 October 2014
Messages : 3
|
Just got the GTK 3.14.3 update. Hoping it fixed it, but I'm not holding my breath. I'll wait until it finishes applying, and then I'll try running Cairo again. If it doesn't work then, I'll reboot and then try it (though I wouldn't think a reboot would fix a GTK library issue, my best guess would be that the old one is still loaded in RAM).
I'd copy-paste what it says in the terminal when it launches to when it crashes, but I'm using XTerm and I don't know of an alternative that isn't part of a DE that will let me do that.
So bear with me if I made a couple spelling errors, as I'm literally typing what's in my terminal manually.
warning: (/tmp/buildd/cairo-dock-3.3.2/src/implementations/cairo-dock-glx.c:_initialize_opengl_backend:179)
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.3.2
Compiled date: Nov 7 2013 04:33:54
Built with GTK: 3.8
Running with OpenGL: 1
Error setting gtk-xft-antialias in /home/sedrosken/.config/gtk-3.0/settings.ini:Key file contains key 'gtk-xft-antialias' in group 'Settings' which has a value that cannot be interpreted.
Error setting gtk-xft-hinting in /home/sedrosken/.config/gtk-3.0/settings.ini: Key file contains key 'gtk-xft-hinting' in group 'Settings' which has a value that cannot be interpreted.
sh: 1: /usr/lib/x86_64-linux-gnu/cairo-dock/cairo-dock-launcher-API-daemon: not found
cairo_dock_create_surface_from_image_simple: assertion 'cImageFile != NULL' failed
warning: (/build/cairo-dock-plug-ins-ggVpy2/cairo-dock-plugins-3.3.2/shortcuts/applet-drives.c:cd_shortcuts_list_drives:311)
couldn't detect any drives
warning: (/build/cairo-dock-plug-ins-ggVpy2/cairo-dock-plug-ins-3.3.2/shortcuts/src/applet-load-icons.c:cd_shortcuts_build_shortcuts_from_data:310)
Shortcuts: can't monitor bookmarks
gtk_window_set_accept_focus: assertion 'GTK_IS_WINDOW (window)' failed
gtk_widget_realize: assertion 'GTK_IS_WIDGET (widget)' failed
warning: (/build/cairo-dock-3.3.2/src/cairo-dock.c:_cairo_dock_intercept_signal:182)
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 jst-laptop-debian 3.16-2amd64 #1 SMP Debian 3.16.3-2 (2014-09-20) 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 1'...
update: Plank does not have this issue, nor the compositing issue I had with Docky. I would still like to use Cairo, obviously, but until this is fixed (if it is at all) I will make do with plank.
Oh, wait. It does. A transparent red bar appears when it autohides, same as with Docky. Oh well, it was a good idea while it lasted. |
matttbe, Wednesday 15 October 2014 à 15:42
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Hello,
Is it maybe possible to test the latest revision (by using this script)?
I think I find a "workaround" (but I think this crash was firstly due to as regression in GTK, see this bug)
sedrosken : Cairo-Dock is the best alternative, as while it isn't as light as Docky It depends your definition of "light" (less options or use less resources?) but if you're using the OpenGL backend, the dock uses the hardware acceleration (it means that it uses less CPU resources). And without this OpenGL backend, it should use less resources/RAM than Docky because Cairo-Dock doesn't need a Mono VM  |
Problems at use | Problèmes à l'utilisation
|