GNOME Bugzilla – Bug 686667
closes a shared libdbus connection
Last modified: 2012-10-29 01:41:41 UTC
Hello, We received a debian bug report about atk, see details on http://bugs.debian.org/691018 “ Since upgrading to Gtk and ATK from experimental, some Gtk applications (including gedit and evince) print this warning on exit: process 24460: Applications must not close shared connections - see dbus_connection_close() docs. This is a bug in the application. gdb reveals that the only call to dbus_connection_close is from the ATK bridge. Applications using libdbus may only close private D-Bus connections, obtained with dbus_connection_open_private() or dbus_bus_get_private(). They must not close global shared connections, which come from dbus_connection_open() or dbus_bus_get(). ” This is indeed called explicitly from atk_bridge_adaptor_cleanup.
(In reply to comment #0) > This is indeed called explicitly from atk_bridge_adaptor_cleanup. So as the problem is at atk-bridge I will move this bug to the proper product/component
The Debian bug indicates that at-spi2-core 2.5.3 is being used. The connection was made private to close a leak (or at least to make valgrind happy), and at-spi2-atk now expects the connection from at-spi2-core to be private, so efectively it requires at-spi2-core 2.5.92 or later. The dependency on the Debian package should be upped. Anyway, I should have upped the dependency in configure.ac to reflect this. I have now done this; marking the bug fixed.