indicator-session power menu disappears after running update-manager or apt-get

Bug #854292 reported by Chito Tuason
214
This bug affects 49 people
Affects Status Importance Assigned to Milestone
Session Menu
Fix Released
High
Ted Gould
Unity Foundations
Fix Released
Critical
Ted Gould
indicator-session (Ubuntu)
Fix Released
High
Neil J. Patel
Oneiric
Fix Released
High
Neil J. Patel

Bug Description

indicator-session disappear after running update-manager

Related branches

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

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

Changed in indicator-session (Ubuntu):
status: New → Confirmed
Changed in indicator-session (Ubuntu):
importance: Undecided → High
Changed in indicator-session (Ubuntu Oneiric):
assignee: nobody → Canonical Desktop Experience Team (canonical-dx-team)
Revision history for this message
Sebastien Bacher (seb128) wrote :

setting it as an oneiric blocker, I see it several times a week and it let the users without any way to log out or shutdown, it happens after updates but not every time

Changed in indicator-session:
importance: Undecided → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

it might be happening when upgrades that set the "need to restart" flag are installed

Ted Gould (ted)
Changed in unity-foundations:
milestone: none → oneiric-final
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Ted Gould (ted)
Changed in indicator-session:
assignee: nobody → Ted Gould (ted)
status: New → Confirmed
Changed in indicator-session (Ubuntu Oneiric):
assignee: Canonical Desktop Experience Team (canonical-dx-team) → nobody
Revision history for this message
Ted Gould (ted) wrote :
Download full text (8.1 KiB)

Okay, so when this happens I got seb128 to run:

  gdbus call --session --dest com.canonical.Unity.Panel.Service --object-path /com/canonical/Unity/Panel/Service --method com.canonical.Unity.Panel.Service.Sync

and it returned this:

  ([('libappmenu.so', '0xa048950', '', '_Fichier', true, true, uint32 0, '', false, false, 0), ('libappmenu.so', '0xa04caa8', '', 'É_dition', true, true, 0, '', false, false, 1), ('libappmenu.so', '0xae926c78', '', '_Affichage', true, true, 0, '', false, false, 2), ('libappmenu.so', '0xae939310', '', '_Rechercher', true, true, 0, '', false, false, 3), ('libappmenu.so', '0xae929308', '', '_Terminal', true, true, 0, '', false, false, 4), ('libappmenu.so', '0x9ecbb48', '', '_Onglets', true, false, 0, '', false, false, 5), ('libappmenu.so', '0xa04d1b8', '', 'Aid_e', true, true, 0, '', false, false, 6), ('libapplication.so', '0x9fff500', 'indicator-weather', '15 ˚C', true, true, 1, 'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAVlJREFUOI3FkrFLw0AUxt/d4dVCLg6FDHKlkIbqHyC0iZ0Euzk4uLl3cCtKJocubsVZ/wCh/4DgntXFrlVaKkKJ3Yw4hHwuLdi0kTj54A3fe9/97js4ov8utm5Yr9dNKeU5gBMiug6C4DYLwNMDz/OqUspHAJdEtNtoNMLfEiwBXNctCiEeADhEREKIqN1uB7kBhULhDEB1oUul0pPjOO+5AZzz09Q+ZIwhNyCO452l02F42Gw2j3IDiGjpNgBFxljf8zwrF0ApNU4bABRN09zLAoifotVq2dPp1E2bkiSxtdaflUplS2sty+XyxmQyiVYSdDqdG6XUcxoQx7FLRHcAAs75UAhxv/YJtm0Pfd+/MAxjlBVZKfXS7XavFnrlKwPYnM1m+71e73gwGBxEUbQNQBiG8Vqr1QLf9/uWZQWMsa+1gDmEE5GetzH3fRDRGxGNGWNJVsI/1zcHhW5FlJ/WqAAAAABJRU5ErkJggg==', true, true, 50), ('libapplication.so', '0x9fe6e18', 'tomboy-notes', '', false, false, 1, 'iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABHNCSVQICAgIfAhkiAAAAe5JREFUOI3N1EGIEmEUAOD3XBkER/HQ0dEhIUlwb+llBE+BLER7yTwtQ+RtmZUIdASHcUDZMAJZlthTly7RISQoMOugx+4V1WEHPHX0lM7v67QyM+zCP9sGvdt7/5vvf/w8BuAfxdZVQeVy+Voymeyn02nbtu1f4atCGWMTANiORCIAAJoHVhTlOQDsAUCEB0TEl8vl8hFjbExE+Wg0amua9mo8HkPI1/uQF5Uk6ZNhGC8EQdig3W5Xq1QqnwEA/E/hv+gi9KOqqj3TNJ+doYZhHBQKhXeI+JsbckcqlZqoqtqzLMuD6rq+c4YGhjOZzNtqtXpoWdYxEeXj8fj3fr+/32w27zuO88Ddyw3HYrGfqqo+GQwGT4nohiiKp+12+3Gj0bi7Xq/v+fu5102W5femad4iorwoiqedTqeh6/ouY2zvvH7uiWu12okgCLeLxeKJaZoHrVZr13Gcc1EAAHQniqLQRY3hcHi/1+t9GQ6H5fl8foeItv09s9ls43HDPOGGA68bb3hgRPybiT3femBJkiaIuAoqIiKTZfmDu+ZZt1Ao9HU0Gh0lEgkWBF4sFlv1en3Hc5k7KZVKKyK61K8UEVfT6VTYDOk+zGazby7zzojIcrnca0/NnRDRTQC47q9zBAHAD0T8FnSo/yf+AAERsYurhKqeAAAAAElFTkSuQmCC', true, true, 51), ('libapplication.so', '0xa017f80', 'bluetooth-manager', '', false, false, 1, 'iVBORw0KGgoAAAANSUhEUgAAAAsAAAAWCAYAAAAW5GZjAAAABHNCSVQICAgIfAhkiAAAAcVJREFUKJHNkTFoE3EUxt97qbdkiIWQKSaIYA8MiEMG+b9LuM3ilMkbMhyZzmQQzVGwhgy1mFCkUEncakAcahZxyOhkJjcjBZcQiSDkAsULNJv3HGy1F6tdHPzG937v43vvAfwXiiwWmPljKpWKjcfjt4s9OsXgMgBsKqXunwkjYpDNZncR8REzPzjLWarV6lYmk9kDgIeGYdwOwUqpbWa+cQzXarWxZVnbmqb5RLQegmOx2BUAeG0Yxk0AkNlstlyv158GQbBUKpU2f0YEAJhMJtcdx9mZTqdXiQhFZEBEK7Ztr9u2/RwR/V8hRcjzPC4UCu+YWXK53GGn07kjIud/WxARg0ql8mE+n2tHw+d6vd4XRPwauhQAADMvI+IbIrokIlo8Hh94nncNAG71+/1XIWcieomIumVZG0T0zXXdeiKReA8Ae0qp1RCs6/p+sVisOY7TAYCg2+0OWq3WXU3T/Egk8iwUQ0QuAoCPiAemafrpdHplOBzeExGXmR83m821kwuOEPHg+Dij0WhNRFzTNHcajcaTU778Q/l8/pCZpVwuvxCRCyd7S4twNBr9lEwm99vt9gYifv6j61F+JSL6X6F/ru+1/6XeJ8bUXAAAAABJRU5ErkJggg==', true, true, 250), ('libapplication.so', '0xa004100', 'nm-applet',...

Read more...

Paul Sladen (sladen)
summary: - indicator-session disappear after running update-manager
+ indicator-session disappear after running update-manager or apt-get
summary: - indicator-session disappear after running update-manager or apt-get
+ indicator-session power menu disappears after running update-manager or
+ apt-get
Revision history for this message
Ted Gould (ted) wrote :

Oh, so I should mention, seb gets this by running:

  apt-get install --reinstall update-manager

Most of the time, but not a 1:1 ratio there.

affects: indicator-session → unity
Changed in unity:
assignee: Ted Gould (ted) → Neil J. Patel (njpatel)
Changed in unity-foundations:
assignee: Ted Gould (ted) → nobody
status: Confirmed → Invalid
milestone: oneiric-final → none
affects: indicator-session (Ubuntu Oneiric) → unity (Ubuntu Oneiric)
Revision history for this message
Sebastien Bacher (seb128) wrote :
Download full text (3.2 KiB)

dbus-monitor --session has than when it happens

"signal sender=:1.884 -> dest=com.canonical.Unity.Panel.Service serial=609 path=/com/canonical/Unity/Panel/Service; interface=com.canonical.Unity.Panel.Service; member=ReSync
   string "libsession.so"
signal sender=:1.884 -> dest=com.canonical.Unity.Panel.Service serial=610 path=/com/canonical/Unity/Panel/Service; interface=com.canonical.Unity.Panel.Service; member=ReSync
   string "libsoundmenu.so"
method call sender=:1.754 -> dest=:1.884 serial=703 path=/com/canonical/Unity/Panel/Service; interface=com.canonical.Unity.Panel.Service; member=SyncOne
   string "libsession.so"
signal sender=:1.884 -> dest=com.canonical.Unity.Panel.Service serial=611 path=/com/canonical/Unity/Panel/Service; interface=com.canonical.Unity.Panel.Service; member=ReSync
   string "libmessaging.so"
method call sender=:1.754 -> dest=:1.884 serial=704 path=/com/canonical/Unity/Panel/Service; interface=com.canonical.Unity.Panel.Service; member=SyncOne
   string "libsoundmenu.so"
method call sender=:1.754 -> dest=:1.884 serial=705 path=/com/canonical/Unity/Panel/Service; interface=com.canonical.Unity.Panel.Service; member=SyncOne
   string "libmessaging.so"
method return sender=:1.884 -> dest=:1.754 reply_serial=703
   array [
      struct {
         string "libsession.so"
         string "0x9ab2034"
         string ""
         string "seb128"
         boolean true
         boolean true
         uint32 1
         string "iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAABHNCSVQICAgIfAhkiAAAATJJREFUOI3NkjFLw2AQht/7LkojOJXiolNCpo6iJKVQZwWHEHBydnRxFn+BY3edjYs/IJAG0cXJqQiFLprVCC7puaQi9SLp5js+3D338vEB/yVUx/v9/jWAHRFxiOgFwGWapkNtmDU4GAxOZ7PZGYB2dagNYN9xnOlkMnlanDeaxLbtA423Wq0jjasSy7JW1NrMq40lRVF0l+GqpI4TkcpV6HnejcZd141VuQZFZCMMw7s8z7fnrNPpPMZxfEhEr01rvxHR+Cdj5rEmqG0SBEGXmR9EZO37mjEfZVnuZln2/KfE933bsqwTABcisq40fAdwzszDJEk+f0l6vd6eMeZKRDa1dguyqYgcj0ajBKjeJIoiZubbJgIAEJEtY0w836cKEoAA9f9GSwngnohkiZ36fAG3VFxn2/RkNwAAAABJRU5ErkJggg=="
         boolean true
         boolean true
         int32 550
      }
      struct {
         string "libsession.so"
         string "0x9ab2058"
         string ""
         string ""
         boolean false
         boolean false
         uint32 1
         string "iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABHNCSVQICAgIfAhkiAAAAmpJREFUOI3tlL9PE3EYxt/328uVO3ooxZIQSXNEQiM/GpSEo1ShCm4QGRxZZOE/6IhODAYdVKIOODhJZ0BMMMGYAIouLQGkxhJJNIrBGCWWcr3HQc6U0h8YFwef6e553+fzvnf55kv0X3+qRFsjEm2NOGy/yGWuBn1a/OwpT7Hwm3Z/5WrQpx0KHDdqy5yW/Fgyzdm44a9eDzQOZPckjKbLccNf7QBmnZY8HTdqy4qCJW+dKhTVQ0C9xNY6QGMH1mHcl9haJ+CkUNRKyVunFgXrkcktz9BwmJlNInKwonw8wFWUT0TkYGbTMzQc1iOTW0XBzJzaHAp7AUhCLX1fdXtsMLun6sadQaGoHwBIm1fC1cycKgr+5Yp+IiL1TOddub5pKrssN7dMqcGOe3ur9OdCSJkv9nGykj+IiMjZfHqcmXeJiPT5WO/eJxEzp749fBD5PjN91dpJttq5moUlzgnO1pcXTzftZ2aeyKx9fTbzqVB236/Q52O9+nysVxwpXyEiwtzLc/mCu7GlbiIiUe5esXN5wcw8wcwTsl7ziIiI0rvXEqHmo9nQjUCDm830dSIiWa+ZtHN5wbbU9o5xZjaRNk/wTnoxEWjqWw36tLhRW/bWaLiUJhGFlT7OzKbaGozkYnC28bql7pgsO58Q4CciK9/w3zXmaCq10+V7tfa54MZaKETCpQl2ae88I6MDSuf5Ww53RdSuO9wV0dJQ103PyOiAcLk2hEtjLRTKMztDAKTk2vKF7cWFiwBKAHgBBOzbDUBgzyvZfj7Xl1xb7gZQ8HTtgwOQM71c1yYA56GhBYb1AOj5K8g/rZ/itfJ1UzXWewAAAABJRU5ErkJggg=="
         boolean true
         boo...

Read more...

Changed in unity:
milestone: none → 4.18.0
milestone: 4.18.0 → none
Revision history for this message
Jared (jared-vanvolkenburg) wrote :

I have gotten this several time and use "sudo shutdown -R now" or "sudo shutdown -P now" in a terminal to work around it and reboot or shut down my system when it occurs.

Omer Akram (om26er)
Changed in unity:
milestone: none → 4.18.0
Changed in unity (Ubuntu Oneiric):
milestone: none → ubuntu-11.10
assignee: nobody → Neil J. Patel (njpatel)
Revision history for this message
GonzO (gonzo) wrote :

I put this in one of the duplicates, but figured I'd throw it in here too:

Best workaround is to "killall unity-panel-service" in a terminal.

Changed in unity:
milestone: 4.18.0 → 4.20.0
Revision history for this message
Neil J. Patel (njpatel) wrote :

Looking at the dump from the service, plus the dbus log, the tenth parameter of the libsession.so entry is "false", which is this part of the code is responsible for:

is_image ? gtk_widget_get_visible (GTK_WIDGET (entry->image)) : FALSE

is_image is definitely a valid pointer as otherwise we wouldn't get the image data nor would the 9th param (sensitive) be true. So, it seems like the indicator is setting it's entry's GtkImage to visible = FALSE.

Revision history for this message
David Barth (dbarth) wrote :

Neil has analyzed the bug and it sounds like it is a dbusmenu-gtk issue.

I'm raising the priority, as the bug is touching a very important part of the UI.

Changed in unity-foundations:
importance: Medium → Critical
milestone: none → oneiric-final
status: Invalid → Confirmed
assignee: nobody → Ted Gould (ted)
Revision history for this message
Sultan Al-Isaiee (foxoman) wrote :

Just testing oneirinc right now and it happens to me as well , the indicator is there but without icon !

if you click on time indicator then move your mouse to the panel corner the menu of session indicator will show up !

screeenshot attach

Revision history for this message
Daniel Fletcher (xyzzyman) wrote :

foxoman is right, clicking the time then moving to the corner does show the menu

Revision history for this message
Daniel Fletcher (xyzzyman) wrote :

dbarth, if it is an issue relating to dbus, I had to move /var/run and var/lock to /run and /run/lock respectively and create symlinks to fix lots of program crashes upon login after upgrading 11.04->11.10 that were all erroring with dbus. I don't know enough to know if that is relevant but wanted to add that.

Revision history for this message
Lê Hoàng Phương (herophuong93) wrote :

additional information: If you press Alt + F2 then type the command "unity --replace" or "compiz --replace", the power_cog will show up again.

Ted Gould (ted)
affects: unity → indicator-session
Changed in indicator-session:
milestone: 4.20.0 → none
Ted Gould (ted)
Changed in indicator-session:
assignee: Neil J. Patel (njpatel) → Ted Gould (ted)
status: Confirmed → In Progress
Changed in unity-foundations:
status: Confirmed → In Progress
affects: unity (Ubuntu Oneiric) → indicator-session (Ubuntu Oneiric)
Changed in indicator-session (Ubuntu Oneiric):
milestone: ubuntu-11.10 → none
tags: added: rls-mgr-o-tracking
Changed in indicator-session (Ubuntu Oneiric):
milestone: none → ubuntu-11.10
Ted Gould (ted)
Changed in indicator-session:
status: In Progress → Fix Committed
milestone: none → 0.3.6
Changed in unity-foundations:
status: In Progress → Fix Committed
Ted Gould (ted)
Changed in indicator-session:
status: Fix Committed → Fix Released
Revision history for this message
Daniel Fletcher (xyzzyman) wrote :

Manually compiled and installed around 2 hours ago. So far no issues.

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

This bug was fixed in the package indicator-session - 0.3.6-0ubuntu1

---------------
indicator-session (0.3.6-0ubuntu1) oneiric; urgency=low

  * New upstream release.
    * Fix convert file key naming (LP: #847807)
    * Use environment variable to get seat path (LP: #856455)
    * Fix abort when using ConsoleKit fallback (LP: #740382)
    * Update session icon instead of creating a new one (LP: #854292)
    * Update to latest Launchpad translations
 -- Ted Gould <email address hidden> Tue, 27 Sep 2011 17:06:47 -0500

Changed in indicator-session (Ubuntu Oneiric):
status: Confirmed → Fix Released
Ted Gould (ted)
Changed in unity-foundations:
status: Fix Committed → Fix Released
Revision history for this message
jeancarlos (invaderjiks) wrote :

Thanks :)

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.