Docky randomly crashes, usually after my laptop has been suspended

Bug #582007 reported by Robert Dyer
100
This bug affects 22 people
Affects Status Importance Assigned to Milestone
Docky
Confirmed
High
Jason Smith
docky (Debian)
New
Undecided
Unassigned
docky (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I seem to get this quite a bit lately. As far as I can tell it (mostly) happens after I resume from a suspend. But not every time...

Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.NullReferenceException: Object reference not set to an instance of an object
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000]
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Docky.Docky.Main(System.String[] args) in /home/rdyer/branches/docky/Docky/Docky/Docky.cs:line 90

Robert Dyer (psybers)
Changed in docky:
importance: Undecided → Medium
assignee: nobody → Jason Smith (jassmith)
Revision history for this message
Robert Dyer (psybers) wrote :

This hasn't been happening lately...

Revision history for this message
Robert Dyer (psybers) wrote :

Marking Invalid since I haven't seen this lately.

Changed in docky:
status: New → Invalid
Revision history for this message
Robert Dyer (psybers) wrote :

Nevermind, just happened again. :-(

Changed in docky:
status: Invalid → New
Revision history for this message
zigford (zigford) wrote :

I'm having a crash after suspend too. Not sure if its related. I ran docky in the foreground from terminal to get the output.
I'm running the gmail module.

Pastebin output: http://pastebin.com/raw.php?i=UEYVYAut

Revision history for this message
Robert Dyer (psybers) wrote :

@zigford: no, that is another bug that has already been fixed and released. Please upgrade Docky.

Revision history for this message
Ingalls (ingallsr) wrote :

I'm having this same problem. Docky randomly crashes. Usually it crashes after hibernation or lockscreen but it has a tendancy to crash when I'm using firefox as well.

cheers
Ingalls

Revision history for this message
Robert Dyer (psybers) wrote :

@Ingalls: check the stack trace and verify it looks similar to the one I posted. Otherwise you are hitting a different bug.

Robert Dyer (psybers)
Changed in docky:
importance: Medium → High
Revision history for this message
Robert Dyer (psybers) wrote :

Rico, that is not the same bug. That is a different bug. How can I be so certain? I am running our new battery docklet using UPower and still get the crash on suspend!

How do we unlink that other bug report?

Changed in docky (Debian):
importance: Unknown → Undecided
status: Unknown → New
Revision history for this message
Robert Dyer (psybers) wrote :

Nautilus just crashed (and automatically restarted). Very shortly after that crash, Docky crashed like this. So perhaps Nautilus is crashing on suspend/resume and restarting (so I dont notice it).

Revision history for this message
angus73 (angus73) wrote :

I filed a bug (bug 673535) which indeed seems to be a duplicate of this one (thanks, Robert). BTW, there are slight differences in the terminal outputs, but I can't say if they are important.
I can add as a further comment that the bug occures for me on a desktop computer, where the suspend feature is not enabled.

Thank you,
Andrea

Revision history for this message
Robert Dyer (psybers) wrote :

After digging around ther inerwebs for awhile, I believe this bug occurs when a gdk window is Dispose()'d and something still has a ref back to it. So we need to figure out what is being disposed and still used.

Revision history for this message
Sergey (sas-mib) wrote :

Yes, I have the similar bug.

Revision history for this message
funicorn (funicorn) wrote :

same here

Revision history for this message
Kenny Stier (kestier19) wrote :

On Ubuntu 13.10, when I shut the lid to the laptop and it suspends, when I log back in Docky is gone. Terminal gives me same error code as the one here.

Changed in docky:
status: New → Confirmed
Revision history for this message
Kenny Stier (kestier19) wrote :

Using Docky 2.2.0-1

Revision history for this message
Mustafa Hastürk (mustafa-hasturk) wrote :

I have the same problem. Why do not you fix this issiue?
I am using Development PPA.
Docky version: 2.2.1 bzr docky r1845 ppa
Linux muhasturk-NBLB2 3.11.0-19-generic #33-Ubuntu SMP Tue Mar 11 18:48:34 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
coolman (coolman7) wrote :
Revision history for this message
Dom (fianar2005-newsletter) wrote :

Thanx coolman !
works fine on 14.04 LTS 64 bits

Revision history for this message
Dom (fianar2005-newsletter) wrote :

Oops, I talked too fast
docky launches twice at start up, some strange behaviours of my laptop (in system preferences/power window), etc.
though, docky indeed retstarts after suspend or plug out/plug in the power.
deleted the 20_docky files and everything returns to normal (except docky of course)
sorry

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in docky (Ubuntu):
status: New → Confirmed
Revision history for this message
nick touran (7hgg) wrote :

The solution from coolman seems to work, but it's not that elegant because it just restarts docky after it crashes each time you pull the plug or suspend. This is certainly an excellent work-around, but I hope there's a better solution.

Revision history for this message
Owen Kirby (oskirby) wrote :

I started Docky from a terminal, and then left my laptop to hibernate, after waking the laptop Docky had crashed with an exception. I've attached the crash log. I am running 64-bit Ubuntu Gnome 14.04 LTS on a dell XPS-13. dpkg reports docky as being version 2.2.0-2

Revision history for this message
Derrick Kotel (dkotel) wrote :

This also happens to me when I unplug my laptop and then plug it back in.

Ubuntu 14.04 LTS
Docky 2.2.0

Revision history for this message
^rooker (rooker) wrote :

Sorry, for posting on an old issue, but it seems to be getting worse :(

On 12.04, Docky only used to close/crash when installing new packages.
Since 14.04, it disappears every few minutes.
On 16.04.1, Docky won't even start anymore :(

Docky version (Xubuntu 16.04.1): 2.2.1.1 Release

Shmearl (shmearl)
Changed in docky (Ubuntu):
assignee: nobody → Shmearl (shmearl)
assignee: Shmearl (shmearl) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.