Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation "assertion failure" messages printin recursively.
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
[Locked] "assertion failure" messages printin recursively.
Guest 12 fabounet [Read]
20 March 2010 à 21:52

Guest, Friday 19 March 2010 à 07:24

  • Cairo-dock version: 2.1.1-2 (the latest one available with my distribution so far)
  • openSuSE 11.2
  • using openGL
  • KDE, kwin


I keep getting "assertion failure" message from command line output:
cairo_dock_load_desktop_background_surface: assertion `iRootPixmapID != 0' failed
cd_shortcuts_update_disk_usage: assertion `myData.pDiskUsageList != NULL' failed
gtk_widget_set: assertion `GTK_IS_WIDGET (widget)' failed
cairo_dock_create_surface_from_image_simple: assertion `cImageFile != NULL' failed

The above messages appear again and again recursively. Very annoyed. I also consider those messages will consume some resources.

The following is the full command line output messages:
---------------------------------------------------------------------------
-:~> cairo-dock -o
gtk_widget_get_gl_context: assertion `GTK_IS_WIDGET (widget)' failed
OpenGL version: 3.2.0 NVIDIA 190.53
OpenGL vendor: NVIDIA Corporation
OpenGL renderer: GeForce 9650M GT/PCI/SSE2
cairo_dock_search_icon_s_path: assertion `cFileName != NULL' failed
if your drivers are crappy, we'll know it immediately ... ok, they seem fine enough.
warning : (cairo-dock-config.c:cairo_dock_get_double_key_value:182)
Key file does not have key 'scroll speed'
warning : (cairo-dock-config.c:cairo_dock_get_double_key_value:182)
Key file does not have key 'scroll accel'
cairo_dock_replace_values_in_conf_file (/home/user/.config/cairo-dock/current_theme/plug-ins/rendering/rendering.conf)
cairo_dock_load_desktop_background_surface: assertion `iRootPixmapID != 0' failed
cairo_dock_create_surface_from_image: assertion `cImagePath != NULL && pSourceContext != NULL && cairo_status (pSourceContext) == CAIRO_STATUS_SUCCESS' failed
warning : (applet-load-icons.c:_load_icons:108)
couldn't detect any drives
cairo_dock_fm_add_monitor_full: assertion `cURI != NULL' failed
warning : (applet-load-icons.c:_load_icons:112)
Shortcuts : can't monitor drives
warning : (applet-load-icons.c:_load_icons:156)
Shortcuts : can't monitor bookmarks
Binding '<Control>F1' failed!
warning : (cairo-dock-keybinder.c:cd_keybinder_bind:303)
couldnt bind <Control>F1
Binding '<Control>F2' failed!
warning : (cairo-dock-keybinder.c:cd_keybinder_bind:303)
couldnt bind <Control>F2
(null) -> -1;-1
cairo_dock_refresh_launcher_gui ()
cairo_dock_load_desktop_background_surface: assertion `iRootPixmapID != 0' failed
cd_shortcuts_update_disk_usage: assertion `myData.pDiskUsageList != NULL' failed
cairo_dock_load_desktop_background_surface: assertion `iRootPixmapID != 0' failed
cd_shortcuts_update_disk_usage: assertion `myData.pDiskUsageList != NULL' failed
----------------------------------------------------------------------------------------------------

Thanks a lot for your help. Please let me know how to get rid of them......

Guest, Friday 19 March 2010 à 08:58

I just updated cairo-dock to the latest version 2.1.3-7. My repo just has this new release a few hours ago.
Anyway, after uninstall the old one, remove the .conf/cairo-dock/ configuration files and then install the new one.
(This process should make sure I have the fresh installation of the latest release).
I still keep recursively getting lots of message out. "Assertion failure", "not really outside" etc........
All of these recursive output messages are annoyed.
I very would like to see a clean output.
I used awn before, it's very neat and clean. Just tried cairo-dock yesterday. It's awesome, very cool, more cool than awn.
But the recursive failure messages are bothering me. Can anyone please help me to get rid of them?
A few lines output are OK. but too many outputs just scare me, especially, the recursive failure messages. scaring....
Thank you very much!!!!!!
---------------------------------------------------------------------------------------------------------------------------

$> cairo-dock -o

============================================================================
Cairo-Dock version: 2.1.3-7
Compiled date: Mar 18 2010 20:45:24
Running with OpenGL: 1
============================================================================

OpenGL config summary :
- bNonPowerOfTwoAvailable : 1
- bPBufferAvailable : 1
- direct rendering : 1
- bTextureFromPixmapAvailable : 1
- GLX version : 1.4
- OpenGL version: 3.2.0 NVIDIA 190.53
- OpenGL vendor: NVIDIA Corporation
- OpenGL renderer: GeForce 9650M GT/PCI/SSE2

warning : (cairo-dock-config.c:cairo_dock_get_string_key_value:227)
Key file does not have key 'no input image'
activating pbuffer, usually buggy drivers will crash here ... ok, they are fine enough.
warning : (cairo-dock-config.c:cairo_dock_get_double_key_value:184)
Key file does not have key 'scroll speed'
warning : (cairo-dock-config.c:cairo_dock_get_double_key_value:184)
Key file does not have key 'scroll accel'
cairo_dock_replace_values_in_conf_file (/home/user/.config/cairo-dock/current_theme/plug-ins/rendering/rendering.conf)
_cairo_dock_create_surface_from_desktop_bg: assertion `iRootPixmapID != 0' failed
warning : (applet-load-icons.c:cd_switcher_load_desktop_bg_map_surface:169)
couldn't get the wallpaper
separateur necessaire
cairo_dock_create_surface_from_image: assertion `cImagePath != NULL && pSourceContext != NULL && cairo_status (pSourceContext) == CAIRO_STATUS_SUCCESS' failed
warning : (applet-load-icons.c:_load_icons:118)
couldn't detect any drives
cairo_dock_fm_add_monitor_full: assertion `cURI != NULL' failed
warning : (applet-load-icons.c:_load_icons:122)
Shortcuts : can't monitor drives
warning : (applet-load-icons.c:_load_icons:166)
Shortcuts : can't monitor bookmarks
(null) -> -1;-1
separateur necessaire
warning : (cairo-dock-application-factory.c:cairo_dock_create_surface_from_xpixmap:106)
No thumbnail available.
Either the WM doesn't support this functionnality, or the window was minimized when the dock has been launched.
warning : (cairo-dock-application-factory.c:cairo_dock_create_surface_from_xpixmap:106)
No thumbnail available.
Either the WM doesn't support this functionnality, or the window was minimized when the dock has been launched.
cairo_dock_search_icon_s_path: assertion `cFileName != NULL' failed
cairo_dock_replace_values_in_conf_file (/home/song/.config/cairo-dock/current_theme/cairo-dock.conf)
_cd_shortcuts_update_disk_usage: assertion `myData.pDiskUsageList != NULL' failed
_cairo_dock_create_surface_from_desktop_bg: assertion `iRootPixmapID != 0' failed
warning : (applet-load-icons.c:cd_switcher_load_desktop_bg_map_surface:169)
couldn't get the wallpaper
not really outside (394;69)
not really outside (394;69)
warning : (cairo-dock-application-factory.c:cairo_dock_create_surface_from_xpixmap:106)
No thumbnail available.
Either the WM doesn't support this functionnality, or the window was minimized when the dock has been launched.
_cd_shortcuts_update_disk_usage: assertion `myData.pDiskUsageList != NULL' failed
on force a quitter (iRefCount:0)
on emule une re-rentree (pDock->iMagnitudeIndex:875)
_cd_shortcuts_update_disk_usage: assertion `myData.pDiskUsageList != NULL' failed
_cd_shortcuts_update_disk_usage: assertion `myData.pDiskUsageList != NULL' failed
not really outside (564;46)
not really outside (543;48)
on force a quitter (iRefCount:0)
not really outside (678;79)
on force a quitter (iRefCount:0)
on emule une re-rentree (pDock->iMagnitudeIndex:500)
_cd_shortcuts_update_disk_usage: assertion `myData.pDiskUsageList != NULL' failed
not really outside (667;113)
not really outside (0;0)
_cd_shortcuts_update_disk_usage: assertion `myData.pDiskUsageList != NULL' failed
cairo_dock_create_surface_from_image_simple: assertion `cImageFile != NULL' failed
cairo_dock_create_surface_from_image_simple: assertion `cImageFile != NULL' failed
iNbConfigDialogs <- 1
debut de boucle bloquante ...
on emule une re-rentree (pDock->iMagnitudeIndex:875)
-> action !
iNbConfigDialogs <- 0
fin de boucle bloquante -> 0

fabounet, Friday 19 March 2010 à 12:24


Subscription date : 30 November 2007
Messages : 17118
they come from Shortcuts.
there is no plug-in yet to interface with KDE correctly, so some applets won't work.
especially Shortcuts, which needs access to the VFS.
(if you run gvfs you could make it work though)

couldn't get the wallpaper

strange, is there anything special about your wallpaper ?

as for the other outputs, it seems I have forgotten to remove some print
I'll fix that in a future 2.1.3-8.

syli725, Friday 19 March 2010 à 12:26


Subscription date : 19 March 2010
Messages : 3
Still me. The one who starts this post thread. Just registered an account in this forum.

I have found out how to get rid of three failure messages.

[1] No thumbnail available. Either the WM doesn't support this functionnality, or the window was minimized when the dock has been launched.
To get rid of this message, "Configure Tool" --> "Taskbar" --> "How to draw Minimized windows" --> Set "make the icon transparent".

[2] _cd_shortcuts_update_disk_usage: assertion `myData.pDiskUsageList != NULL' failed
To get rid of this failure message, "Configure Tool" --> Disable "Shortcuts"

[3] _cairo_dock_create_surface_from_desktop_bg: assertion `iRootPixmapID != 0' failed
To get rid of this failure message, "Configure Tool" --> Switcher --> Disable "Map wallpaper to icons".

The following output messages still print out very constantly:
[1] not really outside (522;111)
[2] iNbConfigDialogs <- 1
[3] on cache ce sous-dock en sortant par lui
[4] on force a quitter (iRefCount:0)
[5] on emule une re-rentree (pDock->iMagnitudeIndex:500)

The following output failure messages print out at startup:
[1] Warning : (cairo-dock-config.c:cairo_dock_get_string_key_value:227) Key file does not have key 'no input image'
[2] warning : (cairo-dock-config.c:cairo_dock_get_double_key_value:184) Key file does not have key 'scroll speed'
[3] warning : (cairo-dock-config.c:cairo_dock_get_double_key_value:184) Key file does not have key 'scroll accel'
[4] cairo_dock_search_icon_s_path: assertion `cFileName != NULL' failed
[5] cairo_dock_create_surface_from_image_simple: assertion `cImageFile != NULL' failed

Thanks.

syli725, Friday 19 March 2010 à 12:30


Subscription date : 19 March 2010
Messages : 3
fabounet,

Thank you very much for your reply. I didn't refresh this page before my previous post. So I didn't see your reply at the time when I posted my previous message.
Yeah, you are right. many output prints are from "shortcuts". I have disabled it. thanks for pointing this out. My wallpaper is a normal jpg image. 1280x800.

Thanks a lot.

fabounet, Friday 19 March 2010 à 12:56


Subscription date : 30 November 2007
Messages : 17118
is it KDE4 ?
is there any KDE user with the same problem for wallpaper ? (I guess it is not displayed in Switcher).

Guest, Friday 19 March 2010 à 18:36

Dear fabounet,

Yeah, it's KDE4. KDE4.3.1. I installed cairo-dock from binary (rpm).
I don't know how other users find. Just knew cario-dock yesterday.
I used to use awn. cairo-dock is more cool than awn. But awn does NOT have any message output in terminal (either warning or error. very neat.), while cairo-dock has a little messy output even with "-l error" "-l critical" argument. I like cairo-dock more and want to use it from now on, and just want to get rid of those messy outputs.

If you have time, can you please let me know if it's possible to remove some of the following output messages? (especially, the recursive one) Thanks.

The following output messages still print out very constantly and recursively:
[1] not really outside (# [some random number];# [some random number])
[2] iNbConfigDialogs <- 1 [sometimes, < -2]
[3] on cache ce sous-dock en sortant par lui
[4] on force a quitter (iRefCount:0)
[5] on emule une re-rentree (pDock->iMagnitudeIndex:500)

The following output failure messages print out at startup:
[1] Warning : (cairo-dock-config.c:cairo_dock_get_string_key_value:227) Key file does not have key 'no input image'
[2] warning : (cairo-dock-config.c:cairo_dock_get_double_key_value:184) Key file does not have key 'scroll speed'
[3] warning : (cairo-dock-config.c:cairo_dock_get_double_key_value:184) Key file does not have key 'scroll accel'
[4] cairo_dock_search_icon_s_path: assertion `cFileName != NULL' failed
[5] cairo_dock_create_surface_from_image_simple: assertion `cImageFile != NULL' failed

Thank you very much for your time.
Between, the domain name has changed to glx-dock.org, but I don't find the command glx-dock after installation. This may confuse new users.

- syli725.

taiebot65, Friday 19 March 2010 à 23:04


Subscription date : 26 October 2008
Messages : 1904
but why do you need the terminal ? It has to be launch on startup isn't it ?

Terminal is only for debug or creating an applet..

Are you creating an applet?

I have to agree with him as i am trying to learn to create an applet i ve got so much debug that i can not find my print...

fabounet, Friday 19 March 2010 à 23:24


Subscription date : 30 November 2007
Messages : 17118
ok I'll remove these ones

nochka85, Friday 19 March 2010 à 23:52


Subscription date : 29 November 2007
Messages : 7408
taiebot65 :
I have to agree with him as i am trying to learn to create an applet i ve got so much debug that i can not find my print...

just add something in your debug ( like "my_applet") and use a grep

cairo-dock -ol debug |grep "my_applet"


fabounet, Saturday 20 March 2010 à 01:40


Subscription date : 30 November 2007
Messages : 17118
by the way, I've added the CD_WARNING, CD_MESSAGE and CD_DEBUG macros
they should do what's expected.

syli725, Saturday 20 March 2010 à 18:03


Subscription date : 19 March 2010
Messages : 3
Dear taiebot65,
Just my personal taste.
It's OK to have those outputs, but some of them should only appear in debug/verbose mode from my point of view.
When I use an application, even a small error/warning message will catch my attention.
Maybe I have obsessive-compulsive disorder. hehe.
Well, I have to say some are useful. It makes me find my installation/usage problem and fix it. For example, turn off applet "shortcut", change the behavior to draw Minimized windows.

Dear fabounet,
Sorry to interrupt you on these unimportant things.
Thank you very much for your attention.

fabounet, Saturday 20 March 2010 à 21:52


Subscription date : 30 November 2007
Messages : 17118
Sorry to interrupt you on these unimportant things

nope, it's important to have useful debug outputs

although I wonder why you launch the dock in a terminal

Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
[Locked] "assertion failure" messages printin recursively.
Guest 12 fabounet [Read]
20 March 2010 à 21:52


Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation "assertion failure" messages printin recursively. Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.