Crash in the scopes middleware when executing search immediately after a scope was uninstalled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-scopes-shell (Ubuntu) |
Fix Released
|
Undecided
|
Marcus Tomlinson |
Bug Description
Unity8 crashes when uninstalling youtube scope via Ubuntu Store. This only happens with latest unity-scope-shell (trunk).
One of the latest changes to the shell plugin re-executes search in Ubuntu store when packages are installed or removed, and this triggers this bug, but only when removing scopes.
Steps to reproduce:
1. Make sure youtube scope is installed.
2. Go to Ubuntu Store -> Music & Audio department
3. Scroll to bottom, find youtube scope in the Store results. Click it to get the preview.
4. In the preview, click Uninstall and confirm.
5. When uninstall completes, click the "back" arrow at the top (that should take you back to search results).
The following error appears in unity8-dash.log:
unity::
unexpected exception in add_reply_object(): basic_string:
unity8-dash: /build/
I wasn't able to get a backtrace of this crash - gdb either gives me 3 corrupted frames, or hangs.
It only crashes when uninstalling scope (doesn't crash for apps). There may be a problem with a search request executed at a time registry changes happen.
Related branches
- Paweł Stołowski (community): Approve
-
Diff: 29 lines (+5/-1)1 file modifiedsrc/Unity/scopes.cpp (+5/-1)
tags: | added: rtm14 |
summary: |
- Crash in the middleware when executing search immediately after another + Crash in the scopes middleware when executing search immediately after a scope was uninstalled |
description: | updated |
Changed in unity-scopes-api (Ubuntu): | |
status: | New → Confirmed |
affects: | unity-scopes-api (Ubuntu) → unity-scopes-shell (Ubuntu) |
Changed in unity-scopes-shell (Ubuntu): | |
assignee: | nobody → Marcus Tomlinson (marcustomlinson) |
status: | Confirmed → In Progress |
This bug was fixed in the package unity-scopes-shell - 0.5.4+14. 10.20141002. 1-0ubuntu1
--------------- 14.10.20141002. 1-0ubuntu1) utopic; urgency=low
unity-scopes-shell (0.5.4+
[ Marcus Tomlinson ] adata() rather than populateScopes() when
* Use refreshScopeMet
invalidating results (populateScopes() is intended for use only on
start-up) (LP: #1376755)
-- Ubuntu daily release <email address hidden> Thu, 02 Oct 2014 19:20:45 +0000