Dbus-c++ leaks memory
Bug #1396985 reported by
Jussi Pakkanen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Unassigned | ||
dbus-cpp |
Fix Released
|
High
|
Thomas Voß | ||
dbus-cpp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The sample program that comes with dbus-cpp (and thus presumably all clients of dbus-cpp) leaks memory quite badly. To test do this:
valgrind --tool=massif --trace-
Then view the result with massif-viewer. The image is attached and shows that memory consumption keeps on increasing all the time and never drops. Presumably because dbus-cpp is not properly releasing resources in libdbus-1.
Related branches
lp://staging/~thomas-voss/dbus-cpp/fix-1396985
- PS Jenkins bot: Approve (continuous-integration)
- Antti Kaijanmäki (community): Approve
-
Diff: 14 lines (+3/-1)1 file modifiedsrc/core/dbus/bus.cpp (+3/-1)
Changed in dbus-cpp: | |
assignee: | nobody → Thomas Voß (thomas-voss) |
status: | New → In Progress |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
milestone: | none → ww05-2015 |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Released |
Changed in dbus-cpp: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
This bug was fixed in the package dbus-cpp - 4.3.0+15. 04.20150123- 0ubuntu1
--------------- 15.04.20150123- 0ubuntu1) vivid; urgency=low
dbus-cpp (4.3.0+
[ thomas-voss ]
* We ref on construction, so decrement the ref count by 1 to 1 prior
to returning. (LP: #1396985)
-- Ubuntu daily release <email address hidden> Fri, 23 Jan 2015 09:56:06 +0000