From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.bugs Subject: bug#17751: 24.4.50; More memory leaks under OS X Mavericks Date: Wed, 11 Jun 2014 20:05:34 +0200 Message-ID: <53989A6E.2030504@swipnet.se> References: <4E76EFA4-1364-44C7-BBEC-7B8AA30675C7@sanityinc.com> <5397F2E0.8040604@swipnet.se> <5397F4C1.1050504@swipnet.se> <5398020E.1060304@gmx.at> <3DA27776-640F-4138-844C-7A32EA467DA4@sanityinc.com> <539891F9.4080600@swipnet.se> <099A5827-C02A-40E6-AA0B-2836CCE9A907@sanityinc.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1402509985 15221 80.91.229.3 (11 Jun 2014 18:06:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Jun 2014 18:06:25 +0000 (UTC) Cc: 17751@debbugs.gnu.org To: Steve Purcell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 11 20:06:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wumuf-0003JZ-Ib for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Jun 2014 20:06:17 +0200 Original-Received: from localhost ([::1]:48878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wumuf-0000kn-32 for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Jun 2014 14:06:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WumuV-0000dZ-NA for bug-gnu-emacs@gnu.org; Wed, 11 Jun 2014 14:06:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WumuQ-0000kw-Dv for bug-gnu-emacs@gnu.org; Wed, 11 Jun 2014 14:06:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WumuQ-0000kj-6l for bug-gnu-emacs@gnu.org; Wed, 11 Jun 2014 14:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WumuP-0006Wy-SC for bug-gnu-emacs@gnu.org; Wed, 11 Jun 2014 14:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Jan D." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Jun 2014 18:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17751 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 17751-submit@debbugs.gnu.org id=B17751.140250994825085 (code B ref 17751); Wed, 11 Jun 2014 18:06:01 +0000 Original-Received: (at 17751) by debbugs.gnu.org; 11 Jun 2014 18:05:48 +0000 Original-Received: from localhost ([127.0.0.1]:44512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WumuB-0006WW-UU for submit@debbugs.gnu.org; Wed, 11 Jun 2014 14:05:48 -0400 Original-Received: from mailfe02.swip.net ([212.247.154.33]:54476 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wumu8-0006WE-7I for 17751@debbugs.gnu.org; Wed, 11 Jun 2014 14:05:45 -0400 X-T2-Spam-Status: No, hits=0.0 required=5.0 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe02.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 509058293; Wed, 11 Jun 2014 20:05:37 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <099A5827-C02A-40E6-AA0B-2836CCE9A907@sanityinc.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:90263 Archived-At: 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. 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. >> >> >> >>