Dbus errors in the console when closing the music-app
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Thomas Voß | ||
Ubuntu Music App |
Invalid
|
Undecided
|
Unassigned | ||
dbus-cpp (Ubuntu) |
Confirmed
|
High
|
Thomas Voß | ||
dbus-cpp (Ubuntu RTM) |
Fix Released
|
High
|
Thomas Voß |
Bug Description
Due to bug 1434584 being fixed when you swipe to close an application the following appears in the log, note the dbus errors, and that I am not able to reproduce this on the desktop.
** Application is now inactive
Attempted to deliver an event to a non-existent window, ignoring.
virtual bool QMediaPlaylist:
void QMediaPlaylistP
void AalMediaPlayerS
virtual AalMediaPlaylis
void AalMediaPlaylis
virtual AalMediaPlaylis
void AalMediaPlayerS
void AalMediaPlayerS
PlaybackStatusC
PlaybackStatusC
OnTrackListReset signal arrived via the bus.
Attempted to unregister path (path[0] = com path[1] = canonical) which isn't registered
process 6617: arguments to dbus_connection
This is normally a bug in some application using the D-Bus library.
process 6617: arguments to dbus_connection
This is normally a bug in some application using the D-Bus library.
process 6617: arguments to dbus_connection
This is normally a bug in some application using the D-Bus library.
process 6617: arguments to dbus_connection
This is normally a bug in some application using the D-Bus library.
process 6617: arguments to dbus_connection
This is normally a bug in some application using the D-Bus library.
process 6617: arguments to dbus_connection
This is normally a bug in some application using the D-Bus library.
Sdk-Launcher> Stopping Application
Sdk-Launcher> The Application exited, cleaning up
Sdk-Launcher> Finished
Related branches
- James Henstridge: Approve
- PS Jenkins bot: Pending (continuous-integration) requested
-
Diff: 31 lines (+13/-1)1 file modifiedsrc/core/dbus/bus.cpp (+13/-1)
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 480 lines (+190/-49) (has conflicts)9 files modifieddebian/changelog (+32/-0)
include/core/dbus/impl/object.h (+95/-34)
include/core/dbus/impl/property.h (+21/-0)
include/core/dbus/impl/signal.h (+7/-4)
include/core/dbus/object.h (+8/-7)
include/core/dbus/property.h (+8/-0)
include/core/dbus/signal.h (+5/-2)
src/core/dbus/bus.cpp (+13/-1)
src/core/dbus/service.cpp (+1/-1)
description: | updated |
Changed in dbus-cpp (Ubuntu): | |
status: | New → Confirmed |
Changed in dbus-cpp (Ubuntu RTM): | |
status: | New → Confirmed |
Changed in dbus-cpp (Ubuntu): | |
assignee: | nobody → Thomas Voß (thomas-voss) |
Changed in dbus-cpp (Ubuntu RTM): | |
assignee: | nobody → Thomas Voß (thomas-voss) |
Changed in dbus-cpp (Ubuntu RTM): | |
importance: | Undecided → High |
Changed in dbus-cpp (Ubuntu): | |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Thomas Voß (thomas-voss) |
milestone: | none → ww02-2016 |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
no longer affects: | media-hub (Ubuntu RTM) |
no longer affects: | media-hub (Ubuntu) |
Changed in music-app: | |
status: | New → Invalid |
This sounds a lot like bug 1422304, by the look of it.
Both QtDBus and dbus-cpp make use of libdbus. Libdbus provides a dbus_shutdown() function that will release various internal global state, which can be used to remove those allocation from the report valgrind produces when analysing your program. Normally applications shouldn't have a need to call it.
Anything allocated (connections, method calls, etc) before the call to shutdown can not be used after the call, which is what the _dbus_current_ generation assertions are about.
dbus-cpp makes a call to dbus_shutdown() as an atexit handler. Unfortunately, Qt hasn't cleaned up its connections at this time, leading to errors.