From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: emacs user Newsgroups: gmane.emacs.devel Subject: Re: Memory again Date: Tue, 20 Dec 2011 08:34:44 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1324362903 728 80.91.229.12 (20 Dec 2011 06:35:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Dec 2011 06:35:03 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 20 07:34:58 2011 Return-path: Envelope-to: ged-emacs-devel@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 1RctHt-0006Lu-7i for ged-emacs-devel@m.gmane.org; Tue, 20 Dec 2011 07:34:57 +0100 Original-Received: from localhost ([::1]:50876 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RctHr-0008KB-Gh for ged-emacs-devel@m.gmane.org; Tue, 20 Dec 2011 01:34:55 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:42673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RctHl-0008Jt-OL for emacs-devel@gnu.org; Tue, 20 Dec 2011 01:34:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RctHi-0003Ld-4I for emacs-devel@gnu.org; Tue, 20 Dec 2011 01:34:49 -0500 Original-Received: from mail-we0-f169.google.com ([74.125.82.169]:47456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RctHh-0003LV-PD for emacs-devel@gnu.org; Tue, 20 Dec 2011 01:34:46 -0500 Original-Received: by werf1 with SMTP id f1so2304457wer.0 for ; Mon, 19 Dec 2011 22:34:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=I8jAQoanEjKiCktxuPKh/cb38fVtPpVastdX+7vIpHQ=; b=tqxT7yGas4mSfPXpHOdWoQBgv9VF/Qs6014PbE7ZZmuruWvWjuAciKS8nN3likI2pH kfc4LsZKSYLb2tilxnL8AXsu5KKkVzdjZE/RuH9lf/GFhK0wVHTRg/DHHUt4RRqVZ+LV hIxIJJJ8A/FCwxTRMQ+oz3ctxsQy6C8e7FAK8= Original-Received: by 10.216.143.206 with SMTP id l56mr6044639wej.46.1324362884920; Mon, 19 Dec 2011 22:34:44 -0800 (PST) Original-Received: by 10.216.170.138 with HTTP; Mon, 19 Dec 2011 22:34:44 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146867 Archived-At: > From: Dmitry Antipov > > For whatever it's worth, I need to kill my emacs (GNU Emacs 24.0.92.1 > x86_64-apple-darwin11.2.0, NS apple-appkit-1138.23) several times a > day when it reached over 300mb or it will crash. This memory usage is > *after* I kill all buffers and do M-x garbage collect. I submitted a > couple of bug reports, please see > http://lists.gnu.org/archive/html/bug-gnu-emacs/2011-12/msg00404.html > am happy to do additional tests if anyone could guide me. > > I'm not an expert in Apple world, but the first step looks almost obvious - > can you try to use 'leaks' (for example, see http://shorestreet.com/node/4) > and see whether it shows something useful? > > Dmitry > thanks! here it is. I attach both the leaks output, and the backtrace/ xbacktrace for a crash that happens eventually. At the time of this leaks report, emacs has 192Mb according to the activity monitor, with all buffers deleted. happy to do additional tests if needed. ------------------------------------------------------------------------ $ leaks 32883 Process: Emacs [32883] Path: /usr/local/emacs/trunk/nextstep/Emacs.app/Contents/MacOS/Emacs Load Address: 0x100000000 Identifier: org.gnu.Emacs Version: Version 24.0.91 (9.0) Code Type: X86-64 (Native) Parent Process: launchd [140] Date/Time: 2011-12-20 01:26:33.878 -0500 OS Version: Mac OS X 10.7.2 (11C74) Report Version: 7 leaks Report Version: 2.0 Process 32883: 340763 nodes malloced for 85315 KB Process 32883: 141 leaks for 8592 total leaked bytes. Leak: 0x106f89eb0 size=544 zone: DefaultMallocZone_0x100a63000 __NSCFString ObjC CoreFoundation 0x788d1ae8 0x00007fff 0x00000790 0x00000001 ...x............ 0x00000100 0x00000000 0x00010000 0x00030002 ................ 0x00050004 0x00070006 0x00090008 0x000b000a ................ 0x000d000c 0x000f000e 0x00110010 0x00130012 ................ 0x00150014 0x00170016 0x00190018 0x001b001a ................ 0x001d001c 0x001f001e 0x00210020 0x00230022 ........ .!.".#. 0x00250024 0x00270026 0x00290028 0x002b002a $.%.&.'.(.).*.+. 0x002d002c 0x002f002e 0x00310030 0x00330032 ,.-.../.0.1.2.3. ... Leak: 0x107454320 size=544 zone: DefaultMallocZone_0x100a63000 __NSCFString ObjC CoreFoundation 0x788d1ae8 0x00007fff 0x00000790 0x00000001 ...x............ 0x00000100 0x00000000 0x00010000 0x00030002 ................ 0x00050004 0x00070006 0x00090008 0x000b000a ................ 0x000d000c 0x000f000e 0x00110010 0x00130012 ................ 0x00150014 0x00170016 0x00190018 0x001b001a ................ 0x001d001c 0x001f001e 0x00210020 0x00230022 ........ .!.".#. 0x00250024 0x00270026 0x00290028 0x002b002a $.%.&.'.(.).*.+. 0x002d002c 0x002f002e 0x00310030 0x00330032 ,.-.../.0.1.2.3. ... Leak: 0x108018630 size=544 zone: DefaultMallocZone_0x100a63000 __NSCFString ObjC CoreFoundation 0x788d1ae8 0x00007fff 0x00000790 0x00000001 ...x............ 0x00000100 0x00000000 0x00010000 0x00030002 ................ 0x00050004 0x00070006 0x00090008 0x000b000a ................ 0x000d000c 0x000f000e 0x00110010 0x00130012 ................ 0x00150014 0x00170016 0x00190018 0x001b001a ................ 0x001d001c 0x001f001e 0x00210020 0x00230022 ........ .!.".#. 0x00250024 0x00270026 0x00290028 0x002b002a $.%.&.'.(.).*.+. 0x002d002c 0x002f002e 0x00310030 0x00330032 ,.-.../.0.1.2.3. ... Leak: 0x106850160 size=80 zone: DefaultMallocZone_0x100a63000 NSCTFontDescriptor ObjC AppKit 0x792a8c40 0x00007fff 0x00011d80 0x00000001 @.*y............ 0x00000000 0x00000000 0x8b7fbdee 0x00007fff ................ 0x00000000 0x00000000 0x06850190 0x00000001 ................ 0x787d4a60 0x00007fff 0x0684ffd0 0x00000001 `J}x............ 0x80000000 0x00000000 0x00fe26f0 0x00000001 .........&...... Leak: 0x106878ed0 size=80 zone: DefaultMallocZone_0x100a63000 NSCTFontDescriptor ObjC AppKit 0x792a8c40 0x00007fff 0x00011d80 0x00000001 @.*y............ 0x00000000 0x00000000 0x8b7fbdee 0x00007fff ................ 0x00000000 0x00000000 0x06878f00 0x00000001 ................ 0x787d4a60 0x00007fff 0x06878dc0 0x00000001 `J}x............ 0x80000000 0x00000000 0x00fe26f0 0x00000001 .........&...... Leak: 0x106f8a0d0 size=80 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000100 0x00000000 ................ 0x00000000 0x00000000 0x00000001 0x00000001 ................ 0x00000002 0x00000000 0x00000100 0x00000000 ................ 0x06f8a120 0x00000001 0x00000000 0x00000000 ............... 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x1071aa7f0 size=80 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000100 0x00000000 ................ 0x00000000 0x00000000 0x00000001 0x00000001 ................ 0x00000002 0x00000000 0x00000100 0x00000000 ................ 0x07247ec0 0x00000001 0x00000000 0x00000000 .~$............. 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x1073592f0 size=80 zone: DefaultMallocZone_0x100a63000 _NSImageAuxiliary ObjC AppKit 0x792a99b0 0x00007fff 0x06865800 0x00000001 ..*y.....X...... 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x00000000 0x00000000 0x00000000 0x3ff00000 ...............? 0x00000000 0x3ff00000 0x00000000 0x00000000 .......?........ 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x107362530 size=80 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000100 0x00000000 ................ 0x00000000 0x00000000 0x00000001 0x00000001 ................ 0x00000002 0x00000000 0x00000100 0x00000000 ................ 0x08018040 0x00000001 0x00000000 0x00000000 @............... 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x1073786b0 size=80 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x001ca331 0x00000001 ........1....... 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x00000000 0x00000000 0x0180303a 0x00000001 ........:0...... 0x00000001 0x00000000 0x00000000 0x00000000 ................ 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x1073ad730 size=80 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x001ca331 0x00000001 ........1....... 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x00000000 0x00000000 0x0180303a 0x00000001 ........:0...... 0x00000001 0x00000000 0x00000000 0x00000000 ................ 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x100d87150 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x100fe30d0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x100fe3110 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x10684fa20 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x10684fa60 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x106878a40 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x106878a80 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x106879330 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x106879370 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x106879da0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x106897f50 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x106897f90 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x106898760 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x1068987a0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x106f84700 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x106f85430 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x106f86c30 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x106f8a420 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x106fb1320 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x106fca680 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x10713be00 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x1071b10b0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x107359280 size=64 zone: DefaultMallocZone_0x100a63000 NSImage ObjC AppKit 0x792a9870 0x00007fff 0x00000000 0x00000000 p.*y............ 0x00000000 0x40400000 0x00000000 0x40400000 ......@@......@@ 0x00000189 0x00000000 0x07359340 0x00000001 ........@.5..... 0x073592f0 0x00000001 0x00000000 0x00000000 ..5............. Leak: 0x107361460 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x10737ab70 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x10737b740 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x10738b7e0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x10738b820 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x10738d530 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x107392920 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x107394c30 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x1073f5660 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x1073f56a0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x1073f6190 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x1073f61d0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x1074663e0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x1074a1650 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x1074a89a0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x1074a89e0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x1074ac570 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x1074ad000 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x1074afc80 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x1074fa1b0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x108009630 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x108009670 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x108009eb0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x108009ef0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x10800a270 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x10800ae00 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x108066470 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x108067f20 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x108067f60 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x108070b80 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x10807abc0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x108447d20 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x10e383fd0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x10e9e54e0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x10ebd97f0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x10ebd9830 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x10ece2c70 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x10ece30a0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 0 Leak: 0x10ed03dd0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x10ed03e10 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x10ed072e0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x10ed07320 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x10ed0af70 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x10ed0afb0 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x11194cb70 size=64 zone: DefaultMallocZone_0x100a63000 __NSCFDictionary ObjC CoreFoundation item count: 1 Leak: 0x100d18560 size=48 zone: DefaultMallocZone_0x100a63000 NSAutoreleasePool ObjC Foundation 0x78cceaf8 0x00007fff 0x02841038 0x00000001 ...x....8....... 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x100d92720 size=48 zone: DefaultMallocZone_0x100a63000 __NSCFCharacterSet ObjC CoreFoundation 0x788d1c78 0x00007fff 0x000019b1 0x00000001 x..x............ 0x00000000 0x00000000 0x0289f000 0x00000001 ................ 0x0000007f 0x00000000 0x00000000 0x00000000 ................ Leak: 0x100d4cad0 size=32 zone: DefaultMallocZone_0x100a63000 __NSCFNumber ObjC CoreFoundation value: 1 Leak: 0x100f28ec0 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x08070b80 0x00000001 ................ 0x00000000 0x00000000 0x00000000 0x00020000 ................ Leak: 0x106879e80 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x06879de0 0x00000001 ................ 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x106879ea0 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x792cf120 0x00007fff ........ .,y.... 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x106f89d80 size=32 zone: DefaultMallocZone_0x100a63000 NSConcreteAttributedString ObjC Foundation 0x78cce968 0x00007fff 0x06f89eb0 0x00000001 h..x............ 0x06f84160 0x00000001 0x00000000 0x00000000 `A.............. Leak: 0x106fc4940 size=32 zone: DefaultMallocZone_0x100a63000 __NSCFNumber ObjC CoreFoundation value: 1 Leak: 0x1071117a0 size=32 zone: DefaultMallocZone_0x100a63000 NSConcreteAttributedString ObjC Foundation 0x78cce968 0x00007fff 0x07454320 0x00000001 h..x.... CE..... 0x0727dbd0 0x00000001 0x00000000 0x00000000 ..'............. Leak: 0x107127470 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x074663e0 0x00000001 .........cF..... 0x00000000 0x00000000 0x00000001 0x00020000 ................ Leak: 0x107297890 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x792cf120 0x00007fff ........ .,y.... 0x00000000 0x00000000 0x00696c65 0x00020000 ........eli..... Leak: 0x107359340 size=32 zone: DefaultMallocZone_0x100a63000 NSImageIconRefRepProvider ObjC AppKit 0x792a98c0 0x00007fff 0x00000001 0x00000000 ..*y............ 0x00000001 0x00000000 0x00000000 0x00000000 ................ Leak: 0x107375ba0 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x792cf1a0 0x00007fff 0x00000001 0x00020000 ..,y............ Leak: 0x1073878f0 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x08098330 0x00000001 0x0806c6d0 0x00020001 0............... Leak: 0x107390e60 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x06fc4940 0x00000001 0x106fabe3 0x00020000 @I........o..... Leak: 0x1073a2250 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x792cf120 0x00007fff ........ .,y.... 0x00000000 0x00000000 0x788ed6a0 0x00027fff ...........x.... Leak: 0x1073a85a0 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x0737b740 0x00000001 ........@.7..... 0x00000000 0x00000000 0x0180303a 0x00020001 ........:0...... Leak: 0x1073f57c0 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x073f5a30 0x00000001 ........0Z?..... 0x00000000 0x00000000 0x00000000 0x00020000 ................ Leak: 0x1073f5a30 size=32 zone: DefaultMallocZone_0x100a63000 __NSCFNumber ObjC CoreFoundation value: 1 Leak: 0x1073f6210 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x792cf1e0 0x00007fff ..........,y.... 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x1073f6230 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x073f61d0 0x00000001 .........a?..... 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x1073f6250 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x792cf120 0x00007fff ........ .,y.... 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x107447690 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x792cf1a0 0x00007fff 0x08515dd0 0x00020001 ..,y.....]Q..... Leak: 0x10747a960 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x792cf1a0 0x00007fff 0x00000001 0x00020000 ..,y............ Leak: 0x10748ce30 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x0ed06940 0x00000001 0x00000000 0x00000000 @i.............. Leak: 0x10748ce50 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x792cf1a0 0x00007fff 0x08074610 0x00000001 ..,y.....F...... Leak: 0x10748ce70 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x0ed03e10 0x00000001 .........>...... 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x10748ce90 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x792cf120 0x00007fff ........ .,y.... 0x00000000 0x00000000 0x0806a610 0x00000001 ................ Leak: 0x107499d90 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x00d4cad0 0x00000001 0x00000001 0x00020000 ................ Leak: 0x10749d980 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x792cf120 0x00007fff ........ .,y.... 0x00000000 0x00000000 0x788e9320 0x00027fff ........ ..x.... Leak: 0x1074a0c20 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x792cf120 0x00007fff ........ .,y.... 0x00000000 0x00000000 0x00000000 0x00020000 ................ Leak: 0x108014650 size=32 zone: DefaultMallocZone_0x100a63000 NSConcreteAttributedString ObjC Foundation 0x78cce968 0x00007fff 0x08018630 0x00000001 h..x....0....... 0x08014670 0x00000001 0x00000000 0x00000000 pF.............. Leak: 0x108041560 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x792cf1a0 0x00007fff 0x00000001 0x00020000 ..,y............ Leak: 0x108077dc0 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x0e9b4170 0x00000001 0x00696c65 0x00020000 pA......eli..... Leak: 0x10808ac60 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x08447d20 0x00000001 ........ }D..... 0x00000000 0x00000000 0x90090901 0x00027fff ................ Leak: 0x108098330 size=32 zone: DefaultMallocZone_0x100a63000 __NSCFNumber ObjC CoreFoundation value: 1 Leak: 0x1080df170 size=32 zone: DefaultMallocZone_0x100a63000 __NSCFNumber ObjC CoreFoundation value: 1 Leak: 0x1080f0b50 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x080df170 0x00000001 0x00000001 0x00020000 p............... Leak: 0x10850ec70 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x792cf120 0x00007fff ........ .,y.... 0x00000000 0x00000000 0x00000000 0x00020000 ................ Leak: 0x10851e690 size=32 zone: DefaultMallocZone_0x100a63000 __NSCFNumber ObjC CoreFoundation value: 1 Leak: 0x10853d090 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x792cf1a0 0x00007fff 0x00000000 0x00020000 ..,y............ Leak: 0x10855dad0 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x0851e690 0x00000001 0x73616573 0x00020203 ..Q.....seas.... Leak: 0x10ac7e9c0 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x792cf120 0x00007fff ........ .,y.... 0x00000000 0x00000000 0x0e3ec6d0 0x00020001 ..........>..... Leak: 0x10e9b4170 size=32 zone: DefaultMallocZone_0x100a63000 __NSCFNumber ObjC CoreFoundation value: 1 Leak: 0x10e9c39f0 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x792cf1a0 0x00007fff 0x073b0900 0x00020001 ..,y......;..... Leak: 0x10eafc060 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x0ebd9830 0x00000001 ........0....... 0x00000000 0x00000000 0x00000000 0x00020000 ................ Leak: 0x10ece5c60 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x074a1650 0x00000001 ........P.J..... 0x00000000 0x00000000 0x00000000 0x00020007 ................ Leak: 0x10ed06940 size=32 zone: DefaultMallocZone_0x100a63000 __NSCFNumber ObjC CoreFoundation value: 1 Leak: 0x10ed06fe0 size=32 zone: DefaultMallocZone_0x100a63000 __NSCFNumber ObjC CoreFoundation value: 1 Leak: 0x10ed07000 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x0ed06fe0 0x00000001 .........o...... 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x10ed07360 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x792cf1e0 0x00007fff ..........,y.... 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x10ed07380 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x0ed07320 0x00000001 ........ s...... 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x10ed073a0 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x792cf120 0x00007fff ........ .,y.... 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x10ed0ac20 size=32 zone: DefaultMallocZone_0x100a63000 __NSCFNumber ObjC CoreFoundation value: 1 Leak: 0x10ed0ac40 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x0ed0ac20 0x00000001 0x0ea1de23 0x00000001 .......#....... Leak: 0x10ed0aff0 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x792cf1a0 0x00007fff 0x00000000 0x00000000 ..,y............ Leak: 0x10ed0b010 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x0ed0afb0 0x00000001 ................ 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x10ed0b030 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x792cf120 0x00007fff ........ .,y.... 0x00000000 0x00000000 0x00000000 0x00000000 ................ Leak: 0x10ee14790 size=32 zone: DefaultMallocZone_0x100a63000 0x00000000 0x00000000 0x0e383fd0 0x00000001 .........?8..... 0x00000000 0x00000000 0x00000000 0x00020000 ................ Leak: 0x106f84160 size=16 zone: DefaultMallocZone_0x100a63000 NSMutableRLEArray ObjC Foundation 0x78ccea08 0x00007fff 0x06f8a0d0 0x00000001 ...x............ Leak: 0x10727dbd0 size=16 zone: DefaultMallocZone_0x100a63000 NSMutableRLEArray ObjC Foundation 0x78ccea08 0x00007fff 0x071aa7f0 0x00000001 ...x............ Leak: 0x108014670 size=16 zone: DefaultMallocZone_0x100a63000 NSMutableRLEArray ObjC Foundation 0x78ccea08 0x00007fff 0x07362530 0x00000001 ...x....0%6..... eli@udp003017uds:~ $ ------------------------------------------------------------------------ /usr/local/emacs/trunk $ cd src/eli@udp003017uds:/usr/local/emacs/trunk/src $ gdb -r ../nextstep/Emacs.app/Contents/MacOS/Emacs GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ............ done DISPLAY = /tmp/launch-lMLpCM/org.x:0 TERM = xterm-256color Function "abort" not defined. Breakpoint 1 at 0x1000be5de: file sysdep.c, line 854. (gdb) run Starting program: /usr/local/emacs/trunk/nextstep/Emacs.app/Contents/MacOS/Emacs Reading symbols for shared libraries +++++++++++................................................................................................................................. done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries .. done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0x0000000000000000 mark_object () at alloc.c:5587 5587 if (ptr->gcmarkbit) (gdb) xbacktrace "byte-code" (0x5fbfd850) "byte-code" (0x5fbfdb10) "vm-read-index-file" (0x5fbfde58) "byte-code" (0x5fbfdf10) "vm-read-index-file-maybe" (0x5fbfe258) "byte-code" (0x5fbfe340) "vm" (0x5fbfe650) "vm-my-open-folder-RMAIL" (0x5fbfe8b0) "call-interactively" (0x5fbfeaa8) (gdb) backtrace #0 mark_object () at alloc.c:5587 #1 0x00000001000fdb60 in mark_object () at alloc.c:5595 #2 0x00000001000fdb0a in mark_object () at alloc.c:5592 #3 0x00000001000fdb01 in mark_object () at alloc.c:5591 #4 0x00000001000fdad8 in mark_vectorlike [inlined] () at /usr/local/emacs/trunk/src/alloc.c:5391 #5 0x00000001000fdad8 in mark_object () at alloc.c:5579 #6 0x0000000100101f6b in Fgarbage_collect () at alloc.c:5099 #7 0x000000010011ac96 in Ffuncall (nargs=282508048478266, args=0x7fff5fbfd710) at eval.c:2923 #8 0x0000000100155195 in exec_byte_code (bytestr=4296006374, vector=4414034432, maxdepth=140734799795984, args_template=4320145466, nargs=140734799795976, args=0x103706ddc) at bytecode.c:785 #9 0x000000010011cd57 in eval_sub (form=4296133950) at eval.c:2340 #10 0x000000010011ea6a in internal_lisp_condition_case (var=4324704794, bodyform=4351855830, handlers=4352102646) at eval.c:1453 #11 0x000000010015585f in exec_byte_code (bytestr=4296006374, vector=4413818352, maxdepth=140734799796832, args_template=4320145466, nargs=0, args=0x0) at bytecode.c:981 #12 0x000000010011cd57 in eval_sub (form=4296133950) at eval.c:2340 #13 0x000000010011e828 in internal_catch (tag=4324704794, func=0x10011c6e0 , arg=4324704794) at eval.c:1256 #14 0x000000010015582e in exec_byte_code (bytestr=4296006374, vector=4413561360, maxdepth=140734799797480, args_template=4320145466, nargs=0, args=0x0) at bytecode.c:966 #15 0x000000010011db0a in funcall_lambda (fun=140734799797696, nargs=140734799797696, arg_vector=0x7fff5fbfddc0) at eval.c:3217 #16 0x000000010011b034 in Ffuncall (nargs=4320500586, args=0x103693332) at eval.c:3035 #17 0x0000000100155195 in exec_byte_code (bytestr=4296006374, vector=4414034304, maxdepth=140734799797840, args_template=4320145466, nargs=140734799797832, args=0x0) at bytecode.c:785 #18 0x000000010011cd57 in eval_sub (form=4296133950) at eval.c:2340 #19 0x000000010011e828 in internal_catch (tag=2, func=0x10011c6e0 , arg=2) at eval.c:1256 #20 0x000000010015582e in exec_byte_code (bytestr=4296006374, vector=4413812688, maxdepth=140734799798504, args_template=4320145466, nargs=0, args=0x0) at bytecode.c:966 #21 0x000000010011db0a in funcall_lambda (fun=140734799798720, nargs=140734799798720, arg_vector=0x7fff5fbfe1c0) at eval.c:3217 #22 0x000000010011b034 in Ffuncall (nargs=4320500586, args=0x1034f52f2) at eval.c:3035 #23 0x0000000100155195 in exec_byte_code (bytestr=4296006374, vector=4350499328, maxdepth=140734799798864, args_template=4320145466, nargs=140734799798856, args=0x22b) at bytecode.c:785 #24 0x000000010011cd57 in eval_sub (form=4296133950) at eval.c:2340 #25 0x000000010011e828 in internal_catch (tag=1, func=0x10011c6e0 , arg=1) at eval.c:1256 #26 0x000000010015582e in exec_byte_code (bytestr=4296006374, vector=4412514528, maxdepth=140734799799576, args_template=4320145466, nargs=140734799799560, args=0x10352313c) at bytecode.c:966 #27 0x000000010011db0a in funcall_lambda (fun=140734799799872, nargs=140734799799872, arg_vector=0x7fff5fbfe640) at eval.c:3217 #28 0x000000010011d272 in apply_lambda (fun=140734799799984, args=1) at eval.c:3094 #29 0x000000010011ce77 in eval_sub (form=5) at eval.c:2379 #30 0x000000010011dabc in Fprogn [inlined] () at /usr/local/emacs/trunk/src/eval.c:358 #31 0x000000010011dabc in funcall_lambda (fun=140734799800320, nargs=140734799800320, arg_vector=0x7fff5fbfe800) at eval.c:3210 #32 0x000000010011b034 in Ffuncall (nargs=4412514885, args=0x1037d42d2) at eval.c:3035 #33 0x000000010011d506 in apply1 (fn=Cannot access memory at address 0x0 ) at eval.c:2722 #34 0x0000000100116755 in Fcall_interactively (function=140734799800848, record_flag=140734799800848, keys=140734799800848) at callint.c:379 #35 0x000000010011af73 in Ffuncall (nargs=4353508050, args=0x10011b108) at eval.c:2993 #36 0x000000010011def6 in call3 (fn=4, arg1=0, arg2=140734799800496, arg3=4296006988) at eval.c:2786 #37 0x00000001000b4b15 in command_loop_1 () at keyboard.c:1571 #38 0x000000010011e723 in internal_condition_case (bfun=0x1000b44d0 , handlers=4320201482, hfun=0x1000b5a60 ) at eval.c:1499 #39 0x00000001000b44ae in command_loop_2 (ignore=4320271674) at keyboard.c:1159 #40 0x000000010011e828 in internal_catch (tag=4320271674, func=0x1000b4470 , arg=4320271674) at eval.c:1256 #41 0x00000001000b5fc0 in command_loop [inlined] () at /usr/local/emacs/trunk/src/keyboard.c:1138 #42 0x00000001000b5fc0 in recursive_edit_1 () at keyboard.c:758 #43 0x00000001000a5ddc in Frecursive_edit () at keyboard.c:822 #44 0x00000001000a2924 in main (argc=25230234, argv=0x7fff5fbff0a0) at emacs.c:1709 Lisp Backtrace: "byte-code" (0x5fbfd850) "byte-code" (0x5fbfdb10) "vm-read-index-file" (0x5fbfde58) "byte-code" (0x5fbfdf10) "vm-read-index-file-maybe" (0x5fbfe258) "byte-code" (0x5fbfe340) "vm" (0x5fbfe650) "vm-my-open-folder-RMAIL" (0x5fbfe8b0) "call-interactively" (0x5fbfeaa8) (gdb) ------------------------------------------------------------------------