provider-test dumps core if second instance is started
Bug #1604640 reported by
Michi Henning
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
storage-framework (Ubuntu) |
Fix Released
|
Medium
|
Michi Henning |
Bug Description
If I run the provider-test binary while another instance of it is running already, I get:
terminate called after throwing an instance of 'unity:
what(): ResourceException: Could not acquire bus name: com.canonical.
Aborted (core dumped)
Related branches
lp:~michihenning/storage-framework/bug1604640
- James Henstridge: Approve
- unity-api-1-bot: Approve (continuous-integration)
-
Diff: 102 lines (+16/-12)5 files modifieddemo/provider_test/provider-test.cpp (+1/-1)
include/unity/storage/provider/Server.h (+1/-1)
include/unity/storage/provider/internal/ServerImpl.h (+1/-1)
src/provider/Server.cpp (+2/-2)
src/provider/internal/ServerImpl.cpp (+11/-7)
information type: | Proprietary → Public |
Changed in storage-framework: | |
assignee: | nobody → James Henstridge (jamesh) |
affects: | storage-framework → storage-framework (Ubuntu) |
description: | updated |
Changed in storage-framework (Ubuntu): | |
assignee: | James Henstridge (jamesh) → Michi Henning (michihenning) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in storage-framework (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This bug was fixed in the package storage-framework - 0.3+17. 04.20170320. 1-0ubuntu1
--------------- 04.20170320. 1-0ubuntu1) zesty; urgency=medium
storage-framework (0.3+17.
[ James Henstridge ] eption to the provider library, so the provider
* Make providers exit after 30 seconds of inactivity. (LP: #1616758)
* Add UnauthorizedExc
can trigger reauthentication of the account and have the request
restarted. (LP: #1616756)
* Dynamically add and remove providers as the associated accounts
are enabled and disabled. (LP: #1616757)
* Allow creation of storage providers that don't use online-accounts.
Thisis likely only of interest to the local storage provider.
[ Michi Henning ] storage: :provider: :Item to its own header file. (LP:
* Add a storage provider backed by the local file system.
* Move unity::
#1668872)
* If a provider can't acquire its D-Bus well known name, exit rather
than throwing a (usually uncaught) exception. (LP: #1604640)
-- Michi Henning <email address hidden> Mon, 20 Mar 2017 04:51:08 +0000