From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#9221: Memory leak Date: Mon, 01 Aug 2011 22:23:18 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1312251834 14871 80.91.229.12 (2 Aug 2011 02:23:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2011 02:23:54 +0000 (UTC) To: 9221@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 02 04:23:49 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qo4e4-0003p9-Re for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Aug 2011 04:23:49 +0200 Original-Received: from localhost ([::1]:55222 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qo4dy-0007az-AS for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Aug 2011 22:23:42 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qo4dv-0007au-4Q for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 22:23:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qo4dt-00034R-J6 for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 22:23:38 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qo4dt-00034B-Bw for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 22:23:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qo4eI-0006hw-CF; Mon, 01 Aug 2011 22:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Aug 2011 02:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9221 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.131225183525770 (code B ref -1); Tue, 02 Aug 2011 02:24:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Aug 2011 02:23:55 +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 1Qo4eB-0006hb-04 for submit@debbugs.gnu.org; Mon, 01 Aug 2011 22:23:55 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qo4e7-0006hP-7i for submit@debbugs.gnu.org; Mon, 01 Aug 2011 22:23:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qo4dg-0002tA-MN for submit@debbugs.gnu.org; Mon, 01 Aug 2011 22:23:25 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:39778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qo4dg-0002t1-IJ for submit@debbugs.gnu.org; Mon, 01 Aug 2011 22:23:24 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qo4df-0007aD-6g for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 22:23:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qo4dd-0002qF-7W for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 22:23:23 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:6698 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qo4dd-0002pG-1Y for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 22:23:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsUFAMJeN05FxKfe/2dsb2JhbABCmE4Bjw94gh0TAUsPBCEBHA0ITaggoDmDRIJ+BJ9KhDE X-IronPort-AV: E=Sophos;i="4.67,304,1309752000"; d="scan'208";a="128369874" Original-Received: from 69-196-167-222.dsl.teksavvy.com (HELO ceviche.home) ([69.196.167.222]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 01 Aug 2011 22:23:19 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id E0204660CF; Mon, 1 Aug 2011 22:23:18 -0400 (EDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 01 Aug 2011 22:24:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49784 Archived-At: I'm seeing some weird behavior linked to insane memory consumption. E.g. my Gnus session tends to grow to more than 2GB and then become unusage and unkillable (or close enough: in D state, "kill -9" isn't enough to make it stop use CPU, tho I guess that CPU use is really due to something like the OS being in the process of dumping the core file, tho I don't see any left over core files). I did manage to attach to it and get a few backtraces (with a breakpoint on mmap) before it was too late, and bidi_shelve_cache showed up in most of the backtraces (like 5 out of 8, maybe): not a strong indictment, but at least a lead worth following until I get more data. Stefan In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2011-08-01 on ceviche Windowing system distributor `The X.Org Foundation', version 11.0.11002000 configured using `configure 'CFLAGS=-Wall -Wno-pointer-sign -DUSE_LISP_UNION_TYPE -DSYNC_INPUT -DENABLE_CHECKING -DXASSERTS -DFONTSET_DEBUG -g -O1 -I/usr/include/GNUstep' '--enable-maintainer-mode' '--with-x-toolkit=lucid'' 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: fr_CH.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: InactiveMinibuffer Minor modes in effect: shell-dirtrack-mode: t electric-pair-mode: t electric-indent-mode: t url-handler-mode: t global-reveal-mode: t reveal-mode: t auto-insert-mode: t savehist-mode: t minibuffer-electric-default-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: p C-e S e p C-a C-x C-s C-c C-c \ n e w c o M-/ SPC \ c h a p t e r i t r e SPC { c h a p t e r C-e \ n e w c o m m a n d SPC \ M a y SPC { M a y C-e C-a C-k C-y C-y A u g A u g C-a C-p C-p C-k C-n C-n C-y C-x C-s C-c C-c C-c C-c C-s \ J u n { } C-/ M-< ~ ~ ~ ~ ~ M-f C-s C-w C-s C-a C-x C-s C-c C-c M-x l o - l i a s m i e M-x C-g C-h f s m i e - r u C-g M-x r e p o r Recent messages: Type C-c C-c to toggle between editing or viewing the document. Warning: interactive-p is obsolete! [8 times] Making completion list... Loading smie...done Making completion list... Quit Making completion list... Quit Warning: interactive-p is obsolete! [2 times] Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader emacsbug smie cus-edit cus-start cus-load wid-edit autorevert doc-view jka-compr image-mode dired dabbrev multi-isearch format-spec reftex-vcr reftex-dcr reftex reftex-vars tex-mode compile shell pcomplete comint ring latexenc executable copyright vc-bzr filecache longlines server noutline outline easy-mmode flyspell ispell eldoc checkdoc regexp-opt thingatpt help-mode view prog-mode load-dir electric url-handlers url-parse auth-source warnings eieio byte-opt bytecomp byte-compile cconv macroexp assoc gnus-util password-cache url-vars mm-util mail-prsvr reveal autoinsert uniquify advice help-fns advice-preload time-date savehist minibuf-eldef disp-table cl cl-loaddefs all-autoloads company-autoloads debbugs-autoloads epoch-view-autoloads js2-mode-autoloads load-dir-autoloads markchars-autoloads minimap-autoloads muse-autoloads info easymenu rainbow-mode-autoloads register-list-autoloads sisu-mode-autoloads uni-confusables-autoloads windresize-autoloads package tabulated-list proof-site proof-autoloads pg-vars bbdb-autoloads agda2 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page newcomment menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax 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 minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs)