Rhythmbox and Pidgin helpers get duplicates in the menu

Bug #506402 reported by Hund
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Docky
Fix Released
Low
Rico Tzschichholz

Bug Description

http://img532.imageshack.us/img532/3030/201001121401541680x1050.png

The same thing happends with the Pidgin helper. I havent done anything? It just gets like that somehow?

Revision history for this message
Hund (hund) wrote :

Almost forgot.

I'm running Ubuntu 9.10 (64-bit) with Docky 2.0~bzr1048-0karmic1~dockycore1.

Revision history for this message
isakkarlsson (isak-karlsson) wrote :

I belive that bug appears when, one quit docky (when running from terminal using CTRL+C) and the helper is not shutting down, then when the program loads again, two instances of the pidgin helper is running, and hence is applying, the double amount of menu entries.

I just tried it. To replicate.

Start docky, start pidgin helper, kill -9 [pid of docky], start docky now there is more then one menu entry,

Revision history for this message
Hund (hund) wrote :

I dont even have to do that. I went from 3 duplicates to what you see on the picture when I did exacly _nothing_. I didnt even open Rhythmox or changed the track or someting.

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

Your helpers are running more than once. You can find them using ps or whatever and kill the extras.

This can happen several ways, but generally we try to ensure theres just 1 going.

@Chris/Rico: is there a way to have the helper kill previous instances when it starts, so stale instances dont hang around and cause this problem?

Changed in docky:
assignee: nobody → Rico Tzschichholz (ricotz)
importance: Undecided → Low
Revision history for this message
Hund (hund) wrote :

That might explain why Docky eats over 600MB RAM for me atm.

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

No, thats an unrelated memory leak problem. I'm glad to see I'm not the only one with that leak, the other devs seem to not notice it!

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

I can confirm this, its growing slowing over the time. But I also can't specify the source, yet.

Revision history for this message
Chris S. (cszikszoy) wrote :

The memory leak issue is unrelated to multiple helpers running. All helpers are run out of process, meaning they are a completely separate process from docky. They share no memory, and the running of one does not influence the memory usage in the other.

I'm aware of the issue of helpers not exiting properly when docky exits, I'll look into a way to fix.

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

An easy way to fix it is to ensure they only run once. I am uncertain you can 100% ensure they terminate when they should. There is no reason for them to run more than once though.

Does libunique have python bindings? If so, add that into the docky.py helper so all docky helpers are single instance and problem solved!

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

This should be fixed with bzr1054. Now there is check if docky's dbus is gone.

Changed in docky:
status: Confirmed → Fix Committed
Revision history for this message
6205 (6205-reactivated-deactivatedaccount) wrote :

I can confirm this on Rhythmbox, Docky rev.1101

Revision history for this message
Patrick Ulbrich (pulb) wrote :

still have this issue with pidgin (pinned and unpinned).

Robert Dyer (psybers)
Changed in docky:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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