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 19:29:29 +0200 Message-ID: <539891F9.4080600@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> 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 1402507827 20466 80.91.229.3 (11 Jun 2014 17:30:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Jun 2014 17:30:27 +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 19:30: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 1WumLs-0003lO-Jt for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Jun 2014 19:30:20 +0200 Original-Received: from localhost ([::1]:48799 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WumLs-0007jv-5k for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Jun 2014 13:30:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WumLi-0007c2-6a for bug-gnu-emacs@gnu.org; Wed, 11 Jun 2014 13:30:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WumLb-0004zT-M0 for bug-gnu-emacs@gnu.org; Wed, 11 Jun 2014 13:30:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WumLb-0004zO-IA for bug-gnu-emacs@gnu.org; Wed, 11 Jun 2014 13:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WumLa-0005O4-I7 for bug-gnu-emacs@gnu.org; Wed, 11 Jun 2014 13:30:02 -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 17:30:02 +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.140250778420656 (code B ref 17751); Wed, 11 Jun 2014 17:30:02 +0000 Original-Received: (at 17751) by debbugs.gnu.org; 11 Jun 2014 17:29:44 +0000 Original-Received: from localhost ([127.0.0.1]:44497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WumLE-0005My-39 for submit@debbugs.gnu.org; Wed, 11 Jun 2014 13:29:44 -0400 Original-Received: from mailfe08.swip.net ([212.247.154.225]:43073 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WumL9-0005Mg-4e for 17751@debbugs.gnu.org; Wed, 11 Jun 2014 13:29:39 -0400 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe08.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 509684285; Wed, 11 Jun 2014 19:29:28 +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: <3DA27776-640F-4138-844C-7A32EA467DA4@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:90261 Archived-At: 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.