From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Waldenborg Newsgroups: gmane.emacs.bugs Subject: bug#6230: 23.2; Pixmaps kept in X11 after (svg?) images no longer are used Date: Thu, 20 May 2010 17:40:30 +0200 Message-ID: <4BF557EE.4050400@0x63.nu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1274390669 5058 80.91.229.12 (20 May 2010 21:24:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 May 2010 21:24:29 +0000 (UTC) To: 6230@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 20 23:24:27 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OFDEA-0008N5-IG for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 May 2010 23:24:27 +0200 Original-Received: from localhost ([127.0.0.1]:55564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFDE9-0005W6-TF for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 May 2010 17:24:25 -0400 Original-Received: from [140.186.70.92] (port=52414 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OF87Q-0007Yh-2J for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 11:57:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OF87K-0001C1-Sz for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 11:57:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58692) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OF87K-0001Bt-N8 for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 11:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OF81W-0006EN-Dd; Thu, 20 May 2010 11:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Anders Waldenborg Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 May 2010 15:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6230 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.127437066123942 (code B ref -1); Thu, 20 May 2010 15:51:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 May 2010 15:51:01 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OF81T-0006E5-WB for submit@debbugs.gnu.org; Thu, 20 May 2010 11:51:01 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OF7rm-00068L-2J for submit@debbugs.gnu.org; Thu, 20 May 2010 11:40:59 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:39941) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OF7rh-0007eL-BL for submit@debbugs.gnu.org; Thu, 20 May 2010 11:40:53 -0400 Original-Received: from [140.186.70.92] (port=54053 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OF7rb-0002ht-H1 for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 11:40:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OF7rU-0007NF-VH for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 11:40:47 -0400 Original-Received: from phlox.netintact.se ([217.73.97.18]:54131) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OF7rT-0007Ll-Sq for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 11:40:40 -0400 Original-Received: from hoth.proceranetworks.com (hoth.proceranetworks.com [194.153.91.41]) by phlox.netintact.se (Postfix) with ESMTP id B72D02800B for ; Thu, 20 May 2010 17:40:36 +0200 (CEST) Original-Received: from hidden.prnw.net (hidden.prnw.net [127.0.0.1]) by hoth.proceranetworks.com (Postfix) with ESMTP id 8A32D45F0002 for ; Thu, 20 May 2010 17:40:36 +0200 (CEST) Original-Received: from hoth.proceranetworks.com ([127.0.0.1]) by localhost (hoth.proceranetworks.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4dE+3x+ah39R for ; Thu, 20 May 2010 17:40:31 +0200 (CEST) Original-Received: from hidden.prnw.net (hidden.prnw.net [127.0.0.1]) by hoth.proceranetworks.com (Postfix) with ESMTP id 99BD645F0001 for ; Thu, 20 May 2010 17:40:31 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100515 Icedove/3.0.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Thu, 20 May 2010 11:50:59 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 20 May 2010 11:51:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Thu, 20 May 2010 17:24:16 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37113 Archived-At: By running the command defined by the following: (require 'cl) (defun aw-replace-buffer-contents-with-svg-images () (interactive) (erase-buffer) (dotimes (N 200) (insert-image (create-image (format "" (random 255)(random 255)(random 255)) 'svg t)))) the current buffer will be replaced with 200 images. Running xrestop it can easily be seen that 200 pixmaps are added to the X11 server every time the command is run. One would expect that the pixmaps were removed from X11 when they don't exist in any buffer any longer (which is why recipe uses erase-buffer so it can be run multiple times, increasing number of pixmaps every time - not the behaviour I expect). The pixmaps doesn't even go away when the buffer is killed. Don't know if this applies to all image types or only svg. In GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-05-16 on raven, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10707000 configured using `configure '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-M-x C-M-x M-x r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set cl aw-replace-buffer-contents-with-svg-images Making completion list... Load-path shadows: /usr/share/emacs/23.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs/23.2/site-lisp/semi/pgg-pgp5 hides /usr/share/emacs/23.2/lisp/pgg-pgp5 /usr/share/emacs/23.2/site-lisp/semi/pgg-gpg hides /usr/share/emacs/23.2/lisp/pgg-gpg /usr/share/emacs/23.2/site-lisp/semi/pgg-parse hides /usr/share/emacs/23.2/lisp/pgg-parse /usr/share/emacs/23.2/site-lisp/flim/sha1 hides /usr/share/emacs/23.2/lisp/sha1 /usr/share/emacs/23.2/site-lisp/flim/md4 hides /usr/share/emacs/23.2/lisp/md4 /usr/share/emacs/23.2/site-lisp/flim/hex-util hides /usr/share/emacs/23.2/lisp/hex-util /usr/share/emacs/23.2/site-lisp/semi/pgg-def hides /usr/share/emacs/23.2/lisp/pgg-def /usr/share/emacs/23.2/site-lisp/semi/pgg-pgp hides /usr/share/emacs/23.2/lisp/pgg-pgp /usr/share/emacs/23.2/site-lisp/semi/pgg hides /usr/share/emacs/23.2/lisp/pgg /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/23.2/lisp/textmodes/rst /usr/share/emacs/23.2/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.2/lisp/textmodes/flyspell /usr/share/emacs/23.2/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.2/lisp/textmodes/ispell /usr/share/emacs/23.2/site-lisp/flim/sasl hides /usr/share/emacs/23.2/lisp/net/sasl /usr/share/emacs/23.2/site-lisp/flim/hmac-md5 hides /usr/share/emacs/23.2/lisp/net/hmac-md5 /usr/share/emacs/23.2/site-lisp/flim/sasl-cram hides /usr/share/emacs/23.2/lisp/net/sasl-cram /usr/share/emacs/23.2/site-lisp/flim/hmac-def hides /usr/share/emacs/23.2/lisp/net/hmac-def /usr/share/emacs/23.2/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/23.2/lisp/net/sasl-ntlm /usr/share/emacs/23.2/site-lisp/flim/sasl-digest hides /usr/share/emacs/23.2/lisp/net/sasl-digest /usr/share/emacs/23.2/site-lisp/flim/ntlm hides /usr/share/emacs/23.2/lisp/net/ntlm /usr/share/emacs/23.2/site-lisp/wl/rfc2368 hides /usr/share/emacs/23.2/lisp/mail/rfc2368 Features: (shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 sha1-el hex-util hashcash mail-utils emacsbug help-mode easymenu view cl cl-19 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)