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

Bug#688094: marked as done (libatspi2.0-0: at-spi2 leaves a lot of sockets behind)



Your message dated Sun, 30 Sep 2012 16:02:35 +0000
with message-id <E1TILyV-0003yo-MV@franck.debian.org>
and subject line Bug#688094: fixed in at-spi2-atk 2.5.3-2
has caused the Debian Bug report #688094,
regarding libatspi2.0-0: at-spi2 leaves a lot of sockets behind
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
688094: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688094
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libatspi2.0-0
Version: 2.5.3-1
Severity: normal

Dear Maintainer,

A look in my ~/.cache directory shows a lot of at-spi2 sockets:

$ ls ~/.cache/at-spi2*/* | wc -l
35057

And lsof shows that only 80 are currently in use which means that over 34900 are stale socket files that should have been deleted at some point. Find shows pretty strange results though:

$ find $HOME/.cache -name socket -mmin -1440 | grep at-spi2 | wc -l
17352
$ find $HOME/.cache -name socket -mmin +1440 -mmin -2880 | grep at-spi2 | wc -l
17272
$ find $HOME/.cache -name socket -mmin +2880 | grep at-spi2 | wc -l
864

$ find $HOME/.cache -name socket -mmin +200 | grep at-spi2 | wc -l
33091

So a lot of these files are pretty recent but almost all date back to before I loggged out+in this morning.

I also noticed a suspicious number of at-spi2 socket files in /var/lib/gdm3/.cache:

$ ls /var/lib/gdm3/.cache/at-spi2*/* | wc -l
35

Of these lsof shows that none are in use but 5 date back to when I logged out+in this morning.

Notes:
* I activated at-spi2 because I was developping an application making use of it but I have not actively used it in the past month. I guess a workaround would be to uninstall/deactivate it but a fix would be better.
* The last reboot dates back to 1 day and 23 hours ago. A lot of these are older.

It seems that each socket is created by libatspi2 when it gets loaded by an application like firefox, gnome-terminal, nautilus, etc. So if the process crashes the socket may be left behind, and it's probably hard for at-spi2 to know which are still in use and which are not. However I doubt that I that I had over 34000 process crashes. Also it's not acceptable to require the user to manually clean up the mess even in the case of a process crash.

This is probably related to:
https://mail.gnome.org/archives/commits-list/2012-July/msg00944.html

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

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

Versions of packages libatspi2.0-0 depends on:
ii  libc6              2.13-35
ii  libdbus-1-3        1.6.0-1
ii  libglib2.0-0       2.32.3-1
ii  libx11-6           2:1.5.0-1
ii  multiarch-support  2.13-35

Versions of packages libatspi2.0-0 recommends:
ii  at-spi2-core  2.5.3-1

libatspi2.0-0 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: at-spi2-atk
Source-Version: 2.5.3-2

We believe that the bug you reported is fixed in the latest version of
at-spi2-atk, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 688094@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Samuel Thibault <sthibault@debian.org> (supplier of updated at-spi2-atk package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 30 Sep 2012 16:28:06 +0200
Source: at-spi2-atk
Binary: libatk-adaptor libatk-adaptor-dbg libatk-adaptor-data libatk-bridge2.0-0 libatk-bridge2.0-dev libatk-bridge2.0-0-dbg
Architecture: source amd64
Version: 2.5.3-2
Distribution: unstable
Urgency: low
Maintainer: Debian Accessibility Team <debian-accessibility@lists.debian.org>
Changed-By: Samuel Thibault <sthibault@debian.org>
Description: 
 libatk-adaptor - AT-SPI 2 toolkit bridge
 libatk-adaptor-data - AT-SPI 2 toolkit bridge - data
 libatk-adaptor-dbg - AT-SPI 2 toolkit bridge - debugging symbols
 libatk-bridge2.0-0 - AT-SPI 2 toolkit bridge - shared library
 libatk-bridge2.0-0-dbg - AT-SPI 2 toolkit bridge - debugging symbols
 libatk-bridge2.0-dev - Development files for the AT-SPI 2 toolkit bridge
Closes: 688094
Changes: 
 at-spi2-atk (2.5.3-2) unstable; urgency=low
 .
   * patches/leak*: Cherry-pick from upstream: fix reference leaks.
   * patches/socket*: Cherry-pick from upstream: mitigate at-spi socket
     creation. (Closes: #688094)
   * patches/lv: Cherry-pick from upstream: lv translation update.
   * patches/pl: Cherry-pick from upstream: pl translation update.
Checksums-Sha1: 
 324d6171e1da3fb1ea8b89b2a501fb3da048ac88 1863 at-spi2-atk_2.5.3-2.dsc
 07e9002b5af828d1f8b198e12539cd585115e553 8876 at-spi2-atk_2.5.3-2.debian.tar.gz
 f09db6f3068edbdadcce947a3dcbffd5f74d2e54 5810 libatk-adaptor_2.5.3-2_amd64.deb
 d4add6bceaccfced980ebbcb632e71f86f6a0c58 5702 libatk-adaptor-dbg_2.5.3-2_amd64.deb
 a7271f834b0892cc26b8a99d7acef008d9d42de5 21476 libatk-adaptor-data_2.5.3-2_amd64.deb
 e035575d73bd9aa69cc7e01a6a2a7115f18f8bb6 61872 libatk-bridge2.0-0_2.5.3-2_amd64.deb
 7674b3ee85ed12b2a0d627cdbf7c15942f88ad7a 4290 libatk-bridge2.0-dev_2.5.3-2_amd64.deb
 45b0d81067cf0da1361d1129848afdd4dabafa27 90168 libatk-bridge2.0-0-dbg_2.5.3-2_amd64.deb
Checksums-Sha256: 
 85722c9e1ad3b8238cb049275dd8a6424e53e8d4593558e0bb19a8e747f66fdc 1863 at-spi2-atk_2.5.3-2.dsc
 da0d6a87457b43171840654e07ffadf05d74df8397ef3240d4f2559e878bb0a9 8876 at-spi2-atk_2.5.3-2.debian.tar.gz
 2551fe8ee935cd990987bd1ac91dcaac516cc9f2e5cf662480486cea2245a985 5810 libatk-adaptor_2.5.3-2_amd64.deb
 39d919739261ff391bdf6f235739f638d5631037ba3030c60b992b59fec846fd 5702 libatk-adaptor-dbg_2.5.3-2_amd64.deb
 32620bdff17305bf1eec95fab1e4c3d644939311e6226f5856108ab81c2c8046 21476 libatk-adaptor-data_2.5.3-2_amd64.deb
 22055229c74a64468535a521c90733f366e1e9b76e25628955f4cd37ee0837c0 61872 libatk-bridge2.0-0_2.5.3-2_amd64.deb
 f9e5dee4bb9b601861ca0454faa35c1888cd26de3ee701ca9eade54d78277361 4290 libatk-bridge2.0-dev_2.5.3-2_amd64.deb
 3b4458ba599027020c264be9b4ddeeb009b107516eee55c10c83f6da25fccde5 90168 libatk-bridge2.0-0-dbg_2.5.3-2_amd64.deb
Files: 
 6ff0d42e7a7a950d2746058c9926c404 1863 misc optional at-spi2-atk_2.5.3-2.dsc
 b2391ab4427543cd1140e5f4dd7f170c 8876 misc optional at-spi2-atk_2.5.3-2.debian.tar.gz
 0892d4ca7e7da8d65e6f64abdc345562 5810 misc optional libatk-adaptor_2.5.3-2_amd64.deb
 2378133157ae3495dae0a02322e52e2a 5702 debug extra libatk-adaptor-dbg_2.5.3-2_amd64.deb
 9404a45681cffb119b999158c7e5d72c 21476 misc optional libatk-adaptor-data_2.5.3-2_amd64.deb
 48473a76970b2026cf1fe93c24004c8f 61872 libs optional libatk-bridge2.0-0_2.5.3-2_amd64.deb
 a0afd914e506573f3d41e71b1fa46e78 4290 libdevel optional libatk-bridge2.0-dev_2.5.3-2_amd64.deb
 cbd7c9fa9d199011cd8f9e245cb7fd91 90168 debug extra libatk-bridge2.0-0-dbg_2.5.3-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iF4EAREKAAYFAlBoa1YACgkQ2y9P4eIpzVBMCwEAjZ2JXmAXVdkACGICycC/ipTy
ihW8vX8uaDv94UOJUTcBAKrMqhZCa6LW1ERRLY8DJhzMFZ0eImlGN+GJ/LUMv0qo
=nGEW
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: