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 Segmentation Fault on startup of bzr version
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] Segmentation Fault on startup of bzr version
miau Deutsch 11 fabounet [Read]
28 April 2010 à 10:57

miau, Tuesday 27 April 2010 à 21:14


Subscription date : 27 April 2009
Messages : 38
Hi!

After the update of the dock from alpha to beta i get an segmentation fault when trying to start the dock. I am only able to start the dock when using the safe mode switch. I think that there is one plugin that causes the problem. Is there a way to find out which one causes the problem?

Thanks in advance.

fabounet, Tuesday 27 April 2010 à 22:08


Subscription date : 30 November 2007
Messages : 17118
sure, you can disable each plug-in one by one until the dock starts
but maybe running
"cairo-dock -l debug"
would give a hint.

also, please try in cairo mode.

miau, Tuesday 27 April 2010 à 23:41


Subscription date : 27 April 2009
Messages : 38
The segmentation fault occurs also in cairo-mode. The dock only starts in safe mode.
This is the output when starting the dock with debug switch:

message : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-dock-manager.c:cairo_dock_init_dock_manager:80)

message : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-backends-manager.c:cairo_dock_init_backends_manager:266)

debug : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-X-utilities.c:cairo_dock_get_nb_viewports:290)
pVirtualScreenSizeBuffer : 5120x800 ; screen : 1280x800
debug : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock.c:main:511)
environnement de bureau : 0
message : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-backends-manager.c:cairo_dock_register_data_renderer_entry_point:208)
cairo_dock_register_data_renderer_entry_point (gauge)
message : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-backends-manager.c:cairo_dock_register_data_renderer_entry_point:208)
cairo_dock_register_data_renderer_entry_point (graph)
message : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-backends-manager.c:cairo_dock_register_hiding_effect:228)
cairo_dock_register_hiding_effect (Move down)
message : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-backends-manager.c:cairo_dock_register_hiding_effect:228)
cairo_dock_register_hiding_effect (Fade out)
message : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-backends-manager.c:cairo_dock_register_hiding_effect:228)
cairo_dock_register_hiding_effect (Zoom out)
message : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-backends-manager.c:cairo_dock_register_icon_container_renderer:248)
cairo_dock_register_icon_container_renderer (Emblem)
message : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-backends-manager.c:cairo_dock_register_icon_container_renderer:248)
cairo_dock_register_icon_container_renderer (Stack)
message : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-backends-manager.c:cairo_dock_register_icon_container_renderer:248)
cairo_dock_register_icon_container_renderer (Box)
debug : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-opengl.c:cairo_dock_initialize_opengl_backend:160)
got 8 FBConfig(s)
message : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-opengl.c:_get_visual_from_fbconfigs:116)
Strike, found a GLX visual with alpha-support !
message : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-opengl.c:cairo_dock_initialize_opengl_backend:259)
ok, got a visual

============================================================================
    Cairo-Dock version: 2.1.4-0beta1
    Compiled date: Apr 27 2010 16:44:44
    Running with OpenGL: 1
============================================================================

message : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-modules.c:cairo_dock_preload_internal_modules:1361)

message : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-modules.c:cairo_dock_activate_module:560)
cairo_dock_activate_module (Help)
message : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-modules.c:cairo_dock_instanciate_module:1002)
cairo_dock_instanciate_module (/home/miau/.config/cairo-dock/current_theme/plug-ins/help/help.conf)
debug : (/var/abs/local/yaourtbuild/cairo-dock-bzr/src/cairo-dock-core-build/src/cairo-dock-dialog-manager.c:cairo_dock_build_dialog:562)
cairo_dock_build_dialog (No plug-in were found.
Plug-ins provide most of the functionnalities of Cairo-Dock (animations, applets, views, etc).
See http://glx-dock.org for more information.
Since there is almost no meaning in running the dock without them, the application will quit now., /usr/share/cairo-dock/cairo-dock.svg, 0, 807bd10, 0 (0;0))


I think it crashes because of the "(No plug-in were found" message.

fabounet, Wednesday 28 April 2010 à 00:08


Subscription date : 30 November 2007
Messages : 17118
it doesn't crash, it quits.
didn't you install the plug-ins ?

matttbe, Wednesday 28 April 2010 à 00:21


Subscription date : 24 January 2009
Messages : 12573
No plug-in were found.
Plug-ins provide most of the functionnalities of Cairo-Dock (animations, applets, views, etc).
See http://glx-dock.org for more information.
Since there is almost no meaning in running the dock without them, the application will quit now.

miau, Wednesday 28 April 2010 à 00:23


Subscription date : 27 April 2009
Messages : 38
Sorry, i didn't copy the last line of the console output. Its the segmentation fault error. The plugins are installed. When i start the dock with "cairo-dock -f" it starts fine.

matttbe, Wednesday 28 April 2010 à 00:29


Subscription date : 24 January 2009
Messages : 12573
The plugins are installed
With the same version as core? Compiled with the same flags?

miau, Wednesday 28 April 2010 à 00:37


Subscription date : 27 April 2009
Messages : 38
Core is on version 554 and the plugins on version 1591. Both were compiled today.

miau, Wednesday 28 April 2010 à 00:52


Subscription date : 27 April 2009
Messages : 38
I tried to compile the plugins again. Now it checked out on revision 1592 and the build process didn't complete. I'll solve this problem first and post if the problem sill exists.

matttbe, Wednesday 28 April 2010 à 01:31


Subscription date : 24 January 2009
Messages : 12573
Did you always use this command in order to compile CD core and its plug-ins?
cd cairo-dock-core
cmake -DCMAKE_INSTALL_PREFIX=/usr && make -j $(grep -c ^processor /proc/cpuinfo)
# make install
cd ../cairo-dock-plug-ins/
cmake -DCMAKE_INSTALL_PREFIX=/usr && make -j $(grep -c ^processor /proc/cpuinfo)
# make install

miau, Wednesday 28 April 2010 à 02:09


Subscription date : 27 April 2009
Messages : 38
matttbe :
Did you always use this command in order to compile CD core and its plug-ins?
cd cairo-dock-core
cmake -DCMAKE_INSTALL_PREFIX=/usr && make -j $(grep -c ^processor /proc/cpuinfo)
# make install
cd ../cairo-dock-plug-ins/
cmake -DCMAKE_INSTALL_PREFIX=/usr && make -j $(grep -c ^processor /proc/cpuinfo)
# make install


Yes i did. But i used an Arch PKGBUILD and maybe it contained an error.

I just compiled revision 555 of the dock and 1592 of the plugins and now everything is working as expected

Thank you guys!

fabounet, Wednesday 28 April 2010 à 10:57


Subscription date : 30 November 2007
Messages : 17118
ok so it was just a version mismatch.
be sure to compil and install the dock before you compil the plug-ins

Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
[Locked] Segmentation Fault on startup of bzr version
miau Deutsch 11 fabounet [Read]
28 April 2010 à 10:57


Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation Segmentation Fault on startup of bzr version 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.