unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
To: Steve Purcell <steve@sanityinc.com>
Cc: 17751@debbugs.gnu.org
Subject: bug#17751: 24.4.50; More memory leaks under OS X Mavericks
Date: Wed, 11 Jun 2014 20:05:34 +0200	[thread overview]
Message-ID: <53989A6E.2030504@swipnet.se> (raw)
In-Reply-To: <099A5827-C02A-40E6-AA0B-2836CCE9A907@sanityinc.com>

Steve Purcell skrev 2014-06-11 19:37:
> Yes! That would make sense. Let me compile locally and repeat the experiment...
>

I checked in a change in trunk where I made the check at runtime.
Also, another (but unrelated to distnoted) leak was plugged.

	Jan D.

>
> On 11 Jun 2014, at 18:29, Jan D. <jan.h.d@swipnet.se> wrote:
>
>> Steve Purcell skrev 2014-06-11 18:40:
>>> Okay, done. I fired up Emacs with MallocStackLogging enabled, sent it some input events via mouse & keyboard, turned off blink-cursor-mode then ran garbage-collect. Finally I captured the leaks output, which reported 2MB leaked:
>>>
>>> https://dl.dropboxusercontent.com/u/3739665/leaks.txt.gz
>>>
>>
>> Are you still using nightlies from emacsformacosx.com?
>> This:
>>
>>         Call stack: [thread 0x7fff76a9b310]: | start | main | Frecursive_edit | recursive_edit_1 | internal_catch | command_loop_2 | internal_condition_case | command_loop_1 | read_key_sequence | read_char | detect_input_pending_run_timers | gobble_input | ns_read_socket | -[NSApplication run] | -[NSApplication _installMemoryPressureDispatchSources] | dispatch_source_create | _os_object_alloc_realized | class_createInstance | calloc | malloc_zone_calloc
>> Leak: 0x10080b650  size=16  zone: DefaultMallocZone_0x1006cb000
>>
>> shows that Emacs is not built on OSX 10.9 where it is run.
>> This is an OSX bug with 10.9 that we have worked around, but only if Emacs is built on 10.9.  I guess that is your problem right there.
>>
>> I could try to make it a runtime check instead.
>>
>> 	Jan D.
>>
>>
>>
>>






  parent reply	other threads:[~2014-06-11 18:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-10 20:55 bug#17751: 24.4.50; More memory leaks under OS X Mavericks Steve Purcell
2014-06-11  3:57 ` Dmitry Antipov
2014-06-11  5:04 ` Jan Djärv
2014-06-11  6:10   ` Jan D.
2014-06-11  6:18     ` Jan D.
2014-06-11  7:12       ` Steve Purcell
2014-06-11  7:15       ` martin rudalics
2014-06-11 16:40         ` Steve Purcell
2014-06-11 17:29           ` Jan D.
     [not found]             ` <099A5827-C02A-40E6-AA0B-2836CCE9A907@sanityinc.com>
2014-06-11 18:05               ` Jan D. [this message]
2015-12-26 15:27                 ` Lars Ingebrigtsen
2014-06-11 17:22         ` Jan D.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53989A6E.2030504@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=17751@debbugs.gnu.org \
    --cc=steve@sanityinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).