From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Emacs 28 on OSX: emacsclient.c:1415: warning: implicit declaration of function 'openat' Date: Sat, 23 Apr 2022 23:13:11 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17304"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Mattias =?iso-8859-1?Q?Engdeg=E5rd?= , emacs-devel@gnu.org To: Keith David Bershatsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 24 00:14:18 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1niO1B-0004Ly-NR for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Apr 2022 00:14:17 +0200 Original-Received: from localhost ([::1]:39028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niO1A-00048l-8s for ged-emacs-devel@m.gmane-mx.org; Sat, 23 Apr 2022 18:14:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niO0H-0003Ie-34 for emacs-devel@gnu.org; Sat, 23 Apr 2022 18:13:22 -0400 Original-Received: from outbound.soverin.net ([2a01:4f8:fff0:65::8:228]:32985) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niO0E-0007K5-UN for emacs-devel@gnu.org; Sat, 23 Apr 2022 18:13:20 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id B065A8B4; Sat, 23 Apr 2022 22:13:14 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1650751994; bh=mFSejdpUc9KQT4jz23NIoiHJaUtDlE127ZMUNUrCDCw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=npnSbmYsN0w8q7eNzNMBCtdbdj/v7Ava539ATMTMuMp64Hdi1T0c+muCiOqMBLUrP DMOzXcfzLKwdAKLcp1bSSo6w90R5clZDptHzbqUppytl8Z1UwKDCjMlNbSOi36T8LL zYadxUuOsaEitLJpSur8+fIY0mP9c564a5rMg1dtoE0f0cYrzPJFwWPPmg3oiGmH1d devMTWGPlhJy7ZinZMbIyUz8V4pba9hhoyZFRSJZo6Vsnrs3YmABN+TfXAw7FgrASM lsrszl1MJZJ7pFRHFhCIF/XDKOUSxxjGq3cEC4BSKGpf441f/oc7Wahuf+3bpXYK1Z kG3lUDOaQcWDQ== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95) (envelope-from ) id 1niO07-000liI-Mj; Sat, 23 Apr 2022 23:13:11 +0100 Mail-Followup-To: Alan Third , Keith David Bershatsky , Po Lu , Mattias =?iso-8859-1?Q?Engdeg=E5rd?= , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=2a01:4f8:fff0:65::8:228; envelope-from=alan@idiocy.org; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:288821 Archived-At: On Fri, Apr 22, 2022 at 02:29:34PM -0700, Keith David Bershatsky wrote: > I observed a lot of leaking messages when building Emacs master branch on OSX 10.6.8, and the initial output of gdb is as follows. Is this anything that needs to be addressed? > > Starting program: /Users/HOME/Desktop/emacs/nextstep/Emacs.app/Contents/MacOS/Emacs > 2022-04-22 14:24:31.450 Emacs[15180:60f] *** __NSAutoreleaseNoPool(): Object 0x100918460 of class NSPathStore2 autoreleased with no pool in place - just leaking > 2022-04-22 14:24:31.453 Emacs[15180:60f] *** __NSAutoreleaseNoPool(): Object 0x10091c290 of class NSPathStore2 autoreleased with no pool in place - just leaking > 2022-04-22 14:24:31.454 Emacs[15180:60f] *** __NSAutoreleaseNoPool(): Object 0x1009185f0 of class NSCFString autoreleased with no pool in place - just leaking > 2022-04-22 14:24:31.454 Emacs[15180:60f] *** __NSAutoreleaseNoPool(): Object 0x10091cc40 of class NSCFArray autoreleased with no pool in place - just leaking > 2022-04-22 14:24:31.454 Emacs[15180:60f] *** __NSAutoreleaseNoPool(): Object 0x10091cd30 of class NSPathStore2 autoreleased with no pool in place - just leaking > 2022-04-22 14:24:31.455 Emacs[15180:60f] *** __NSAutoreleaseNoPool(): Object 0x10091ce90 of class NSCFData autoreleased with no pool in place - just leaking To be honest, I'm unsure as I don't know where in the code those leaks are occurring. I guess it's maybe possible to put a breakpoint on __NSAutoreleaseNoPool and then get a backtrace when it's caught, but I don't see these messages here so I suspect you'd have to do that work. Do the messages continue as you use Emacs or are they just at startup? -- Alan Third