After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 686667 - closes a shared libdbus connection
closes a shared libdbus connection
Status: RESOLVED FIXED
Product: at-spi
Classification: Platform
Component: at-spi2-atk
unspecified
Other All
: Normal normal
: ---
Assigned To: Li Yuan
At-spi maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-10-22 21:14 UTC by Samuel Thibault
Modified: 2012-10-29 01:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Samuel Thibault 2012-10-22 21:14:48 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.
Comment 1 Alejandro Piñeiro Iglesias (IRC: infapi00) 2012-10-23 08:40:48 UTC
(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
Comment 2 Mike Gorse 2012-10-29 01:41:41 UTC
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.