Subject: Re: bug#15946: 24.3; Mac OS X, Mavericks, distnoted process

From: Matthew Leach <[email-masked]>
Date: Tue, 14 Jan 2014 22:59:01 +0000

Jan Djärv <[email-masked]> writes:

> They are not all like that, somewhere in there is the real leak.  You
> need to save all output, and put it somewhere it can be read.  If it
> is large, better not send it to the list.  But if you are doing this,
> do it on a more recent version than 24.3.

Trunk Emacs seems okay, I get a much smaller output from leaks. There
are some leaks in there that I think are worth a look though, see
attached.

I just downloaded Emacs for OS X does and it defiantly has a problem with
leaking, a freshly started Emacs already generates over a MB of output
with leaks.

-- 
Matt

Process:         Emacs [21591]
Path:            /Users/matthew/Development/emacs/build/nextstep/Emacs.app/Contents/MacOS/Emacs
Load Address:    0x100000000
Identifier:      org.gnu.Emacs
Version:         Version 24.3.50 (9.0)
Code Type:       X86-64
Parent Process:  launchd [158]

Date/Time:       2014-01-14 22:46:37.788 +0000
OS Version:      Mac OS X 10.9.1 (13B42)
Report Version:  7

leaks Report Version:  2.0
Process 21591: 69442 nodes malloced for 37557 KB
Process 21591: 13 leaks for 17264 total leaked bytes.
Leak: 0x13124d800  size=16384  zone: MallocHelperZone_0x10081a000
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x000b0007 0x00000003 0x00030008 0x00000000 	................
	0x00000000 0x00000000 0x00000020 0x0000003a 	........ ...:...
	0x00000125 0x00000000 0x0d565875 0x00000001 	%.......uXV.....
	0x0010000a 0x00000004 0x00008008 0x0000002f 	............/...
	0x00000000 0x00000000 0x0000004e 0x53256e3c 	........N...<n%S
	0x00000126 0x00000000 0x0d565875 0x00000001 	&.......uXV.....
	0x0010000a 0x00000004 0x13c48008 0x4900002f 	............/..I
	...
Leak: 0x6000000b48e0  size=96  zone: DefaultMallocZone_0x10084a000   NSMenuItem  ObjC  AppKit
	0x7f6407a8 0x00007fff 0x00283250 0x00006000 	..d.....P2(..`..
	0x00652a20 0x00006000 0x005170b0 0x00000001 	 *e..`...pQ.....
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x00000000 0x00000000 0x001eda7a 0x00000001 	........z.......
	0x0996fd90 0x00000001 0x00000010 0x00000001 	................
Leak: 0x6000000b4c40  size=96  zone: DefaultMallocZone_0x10084a000   NSMenuItem  ObjC  AppKit
	0x7f6407a8 0x00007fff 0x00283250 0x00006000 	..d.....P2(..`..
	0x00656c20 0x00006000 0x005170b0 0x00000001 	 le..`...pQ.....
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x00000000 0x00000000 0x001eda7a 0x00000001 	........z.......
	0x00000000 0x00000000 0x00000010 0x00000101 	................
Leak: 0x6000000b58a0  size=96  zone: DefaultMallocZone_0x10084a000   NSMenuItem  ObjC  AppKit
	0x7f6407a8 0x00007fff 0x00283250 0x00006000 	..d.....P2(..`..
	0x7f6565c8 0x00007fff 0x7f6565c8 0x00007fff 	.ee......ee.....
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x00000000 0x00000000 0x00000010 0x00000301 	................
Leak: 0x6000000b65c0  size=96  zone: DefaultMallocZone_0x10084a000   NSMenuItem  ObjC  AppKit
	0x7f6407a8 0x00007fff 0x00283250 0x00006000 	..d.....P2(..`..
	0x0064f5d0 0x00006000 0x005170b0 0x00000001 	..d..`...pQ.....
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x00000000 0x00000000 0x001eda7a 0x00000001 	........z.......
	0x0996fd50 0x00000001 0x00000010 0x00000001 	P...............
Leak: 0x6000000d4ac0  size=112  zone: DefaultMallocZone_0x10084a000   NSCarbonMenuImpl  ObjC  AppKit
	0x7f63c068 0x00007fff 0x00283250 0x00006000 	h.c.....P2(..`..
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x00000000 0x00000000 0x80000000 0xffffffff 	................
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x00000000 0x00000000 0x00000000 0x00000000 	................
Leak: 0x60000023b820  size=32  zone: DefaultMallocZone_0x10084a000
	0x000b4c40 0x00006000 0x000b58a0 0x00006000 	@L...`...X...`..
	0x000b65c0 0x00006000 0x000b48e0 0x00006000 	.e...`...H...`..
Leak: 0x600000283250  size=80  zone: DefaultMallocZone_0x10084a000   EmacsMenu  ObjC  Emacs
	0x001fead0 0x00000001 0x00000000 0x00000000 	................
	0x00656c80 0x00006000 0x00653410 0x00006000 	.le..`...4e..`..
	0x00284650 0x00006000 0x00000001 0x00000000 	PF(..`..........
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x00100000 0x00000000 0x00000000 0x00000000 	................
Leak: 0x600000284650  size=80  zone: DefaultMallocZone_0x10084a000   _NSMenuImpl  ObjC  AppKit
	0x7f6406b8 0x00007fff 0x000d4ac0 0x00006000 	..d......J...`..
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x00000000 0x00000000 0x00000000 0x00000000 	................
	0x00000000 0x00000000 0x00000000 0x00000000 	................
Leak: 0x60000064f5d0  size=48  zone: DefaultMallocZone_0x10084a000   __NSCFString  ObjC  CoreFoundation  "Turn Off minor mode"
Leak: 0x600000653410  size=48  zone: DefaultMallocZone_0x10084a000   __NSArrayM  ObjC  CoreFoundation  item count: 4
Leak: 0x600000656c20  size=48  zone: DefaultMallocZone_0x10084a000   __NSCFString  ObjC  CoreFoundation  " from font-lock.el"
Leak: 0x600000656c80  size=48  zone: DefaultMallocZone_0x10084a000   __NSCFString  ObjC  CoreFoundation  " from font-lock.el"