GNOME Bugzilla – Bug 347072
rhythmbox-client dbus unref problem
Last modified: 2006-08-07 04:52:30 UTC
Personally, I think it is completely obnoxious to spend the time to blog about a bug and not file it in bugzilla.... From http://kernelslacker.livejournal.com/41773.html: $ rhythmbox-client --print-playing Telefon Tel Aviv - Sound In A Dark Room 19315: assertion failed "!_dbus_transport_get_is_connected (connection->transport)" file "dbus-connection.c" line 1797 function _dbus_connection_last_unref Aborted (core dumped)
I can't reproduce this (Ubuntu Dapper, DBus 0.60). My only guesses would be if we have to disconnect before unreffing it (which would be odd, because it's shared), or dbus_g_bus_get returns a shared reference, which we're not supposed to unref (the API docs don't say that).
IIRC, it is the latter.
After check the DBus source, I think you're right (in any case the process is about to exit, so a leak won't make much of a difference) I've committed the fix to cvs, so I assume this is now fixed.