[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#691018: libatk-bridge2.0-0: [experimental] closes a shared libdbus connection

Package: libatk-bridge2.0-0
Version: 2.6.0-1
Severity: normal

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

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().

I haven't yet checked whether this is fixed in 2.6.1.

default|archetype% gdb =gedit                                                 ~
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /usr/bin/gedit...(no debugging symbols found)...done.
(gdb) set logging on
Copying output to gdb.txt.
(gdb) break dbus_connection_close
Function "dbus_connection_close" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y

Breakpoint 1 (dbus_connection_close) pending.
(gdb) run
Starting program: /usr/bin/gedit 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffecb70700 (LWP 25533)]
[New Thread 0x7fffe7fff700 (LWP 25534)]
[New Thread 0x7fffe77fe700 (LWP 25535)]

Breakpoint 1, dbus_connection_close (connection=0x6f3150)
    at ../../dbus/dbus-connection.c:2889
2889	../../dbus/dbus-connection.c: No such file or directory.
(gdb) bt
#0  dbus_connection_close (connection=0x6f3150)
    at ../../dbus/dbus-connection.c:2889
#1  0x00007ffff268da0b in atk_bridge_adaptor_cleanup ()
   from /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0
#2  0x00007ffff72df970 in _gtk_accessibility_shutdown ()
    at /tmp/buildd/gtk+3.0-3.6.0/./gtk/a11y/gail.c:809
#3  0x000000000042b0dd in main ()
(gdb) cont
process 25530: Applications must not close shared connections - see dbus_connection_close() docs. This is a bug in the application.
[Thread 0x7fffe77fe700 (LWP 25535) exited]
[Thread 0x7fffe7fff700 (LWP 25534) exited]
[Thread 0x7fffecb70700 (LWP 25533) exited]
[Inferior 1 (process 25530) exited normally]

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libatk-bridge2.0-0 depends on:
ii  libatk1.0-0        2.4.0-2
ii  libatspi2.0-0      2.5.3-2
ii  libc6              2.13-35
ii  libdbus-1-3        1.6.8-1+exp1
ii  libglib2.0-0       2.34.0-1
ii  multiarch-support  2.13-35

libatk-bridge2.0-0 recommends no packages.

libatk-bridge2.0-0 suggests no packages.

-- no debconf information

Reply to: