Dock crashes on startup, weather applet may be culprit

Bug #861725 reported by Riccardo Masala on 2011-09-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cairo-Dock Core
High
Fabounet

Bug Description

Dock cannot start, crashes a few times, then gives up. I'm running Ubuntu Natty, after updating packages I am without dock.

C.D. is updated through:
http://ppa.launchpad.net/cairo-dock-team/weekly/ubuntu

I've had the same problem with another machine (athlon64 mobile - 512 Mb).

I am available for every test you suggest.

This is what I get starting from console:

  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 ubik 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:18:14 UTC 2011 i686 athlon i386 GNU/Linux
The applet 'weather' may be the culpritrestarting with 'cairo-dock -x "weather" -q 3'...
warning : (/build/buildd/cairo-dock-2.4.0~0rc1~20110921/src/gldit/cairo-dock-opengl.c:cairo_dock_initialize_opengl_backend:171)
  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: 2.4.0~0rc1
        Compiled date: Sep 21 2011 17:54:48
        Running with OpenGL: 0
 ============================================================================

warning : (/build/buildd/cairo-dock-plug-ins-2.4.0~0rc1~20110921/Dbus/src/applet-dbus.c:cd_dbus_register_module_in_dir:171)
  file /home/riccardo/.config/cairo-dock/third-party/Calendar/auto-load.conf should not be here
warning : (/build/buildd/cairo-dock-plug-ins-2.4.0~0rc1~20110921/Dbus/src/applet-dbus.c:cd_dbus_register_module_in_dir:171)
  file /home/riccardo/.config/cairo-dock/third-party/dependences_deb.sh/auto-load.conf should not be here
warning : (/build/buildd/cairo-dock-plug-ins-2.4.0~0rc1~20110921/Dbus/src/applet-dbus.c:cd_dbus_register_module_in_dir:171)
  file /home/riccardo/.config/cairo-dock/third-party/GnoMenu/auto-load.conf should not be here
warning : (/build/buildd/cairo-dock-plug-ins-2.4.0~0rc1~20110921/Dbus/src/applet-dbus.c:cd_dbus_register_module_in_dir:171)
  file /home/riccardo/.config/cairo-dock/third-party/GTG/auto-load.conf should not be here
warning : (/build/buildd/cairo-dock-plug-ins-2.4.0~0rc1~20110921/Dbus/src/applet-dbus.c:cd_dbus_register_module_in_dir:171)
  file /home/riccardo/.config/cairo-dock/third-party/Pidgin/auto-load.conf should not be here
warning : (/build/buildd/cairo-dock-plug-ins-2.4.0~0rc1~20110921/Dbus/src/applet-dbus.c:cd_dbus_register_module_in_dir:171)
  file /home/riccardo/.config/cairo-dock/third-party/RubyBattery/auto-load.conf should not be here
warning : (/build/buildd/cairo-dock-plug-ins-2.4.0~0rc1~20110921/Dbus/src/applet-dbus.c:cd_dbus_register_module_in_dir:171)
  file /home/riccardo/.config/cairo-dock/third-party/SubDock/auto-load.conf should not be here
warning : (/build/buildd/cairo-dock-plug-ins-2.4.0~0rc1~20110921/Dbus/src/applet-dbus.c:cd_dbus_register_module_in_dir:171)
  file /home/riccardo/.config/cairo-dock/third-party/WebSearch/auto-load.conf should not be here
warning : (/build/buildd/cairo-dock-plug-ins-2.4.0~0rc1~20110921/Dbus/src/applet-dbus.c:cd_dbus_register_module_in_dir:171)
  file /home/riccardo/.config/cairo-dock/third-party/WindowsKiller/auto-load.conf should not be here
warning : (/build/buildd/cairo-dock-plug-ins-2.4.0~0rc1~20110921/Dbus/src/applet-dbus.c:cd_dbus_register_module_in_dir:171)
  file /home/riccardo/.config/cairo-dock/third-party/Xchat/auto-load.conf should not be here
_gdk_pixmap_new: assertion `(width != 0) && (height != 0)' failed
IA__gdk_cairo_create: assertion `GDK_IS_DRAWABLE (drawable)' failed
warning : (/build/buildd/cairo-dock-2.4.0~0rc1~20110921/src/cairo-dock.c:_cairo_dock_intercept_signal:167)
  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 ubik 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:18:14 UTC 2011 i686 athlon i386 GNU/Linux
The applet 'weather' may be the culpritrestarting with 'cairo-dock -x "weather" -q 4'...
Sorry, Cairo-Dock has encoutered some problems, and will quit.

Related branches

Matthieu Baerts (matttbe) wrote :

Hello and thank you for this bug report.

Is it possible to give us a backtrace of this crash? It's not complicated by using a script and a graphical tool as explained there: http://wiki.glx-dock.org/?p=ddd

Riccardo Masala (raggioscuro) wrote :

There must be something I miss... I have no backtrace with the version I have installed, I guess I need to recompile it from bzr... am I wrong?

Riccardo Masala (raggioscuro) wrote :

I have recompiled from bzr, but still no backtrace... were am I wrong?

If I cut the weather applet from the conf file under .config/cairo-dock/current_theme everything works fine.

Matthieu Baerts (matttbe) wrote :

Yes, if you want to have the backtrace, you have to compile the dock from bzr using a script (it seems ok) and then, you can launch 'ddd cairo-dock', reproduce the crash and display the backtrace (as said there: http://wiki.glx-dock.org/?p=ddd )

Thank you

Riccardo Masala (raggioscuro) wrote :

I followed the instructions... compiled from bzr with the script, ddd-ed and executed again a few crashes, as usual, and stop.
This is what I get:

http://uppix.net/8/8/8/af93672b2e552652805e3bff95710.jpg

ddd says "no stack"
I don't understand where I miss a step...

Matthieu Baerts (matttbe) wrote :

Strange :-/
Did you launch Cairo-Dock with ddd? (by clicking on the 'Run' button? or Program / Run or F2)

Riccardo Masala (raggioscuro) wrote :

Gosh...

I'm not used to ddd... I'm a newbie as a debugger. I did not notice the run button :| I did start it from a console.
Now I used the run button and MAGIC! I have a Backtrace!

et voilà:

http://uppix.net/a/5/8/c0ea335626ce9b264bd3252ae6042.jpg

Matthieu Baerts (matttbe) wrote :

Strange, I don't have this bug and I don't know what's wrong :-/

@ fabounet: can you have a look to this backtrace?

Changed in cairo-dock-plug-ins:
assignee: nobody → Fabounet (fabounet03)
affects: cairo-dock-plug-ins → cairo-dock-core
Changed in cairo-dock-core:
importance: Undecided → High
Changed in cairo-dock-core:
status: New → Fix Committed
José Filipe (jfilipe) wrote :

sorry i had a mistake :-(
I had explored soluction for these bug, or another branch to apply !

Changed in cairo-dock-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers