Unity crashes when dynamic quicklist dbusmenu contains a hidden menuitem.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
Medium
|
Bilal Akhtar | ||
unity (Ubuntu) |
Fix Released
|
Medium
|
Bilal Akhtar | ||
Natty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If the dynamic quicklist of a launcher icon contains a Dbusmenu Menuitem with property MENUITEM_
For some reason apport wasn't trapping the crashes and there were no crash files in /var/crash for this crash, so I backtraced manually using gdb. Attached is the entire gdb session file.
TEST CASE (for SRU): 1) Download and run this bug's attachment titled 'Unity crash test case script' in a terminal, when GNOME Terminal is running (important).
2) Right-click the gnome-terminal icon in Unity's launcher.
3) Unity crashes. With the fix in -proposed, Unity doesn't crash, and displays only "Item 1" in the upper part of the quicklist, which is the intended behavior.
Related branches
- Neil J. Patel (community): Approve
-
Diff: 15 lines (+5/-0)1 file modifiedsrc/LauncherIcon.cpp (+5/-0)
Changed in unity: | |
status: | New → Confirmed |
Changed in unity (Ubuntu): | |
status: | New → Confirmed |
Changed in unity: | |
importance: | Undecided → Medium |
Changed in unity (Ubuntu): | |
importance: | Undecided → Medium |
Changed in unity: | |
assignee: | nobody → Mirco Müller (macslow) |
Changed in unity: | |
assignee: | Mirco Müller (macslow) → Bilal Akhtar (bilalakhtar) |
Changed in unity (Ubuntu): | |
assignee: | nobody → Bilal Akhtar (bilalakhtar) |
Changed in unity: | |
status: | Confirmed → In Progress |
Changed in unity (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in unity: | |
milestone: | none → 3.8.14 |
Changed in unity: | |
status: | Fix Committed → Fix Released |
description: | updated |
For reference, this is the code which I used to create the crash: /code.launchpad .net/~bilalakht ar/update- manager/ unity-quicklist /+merge/ 57289
https:/
I am actually working on update-manager support for dynamic quicklists, and I need to hide the 'Install all updates' button when there are no updates. If I do that and then right-click update-manager in launcher, Unity crashes.