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.bugs Subject: bug#43973: 28.0.50; [NS] Two crashes on macOS Date: Sat, 24 Oct 2020 17:59:54 +0100 Message-ID: <20201024165954.GC59267@breton.holly.idiocy.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8742"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43973@debbugs.gnu.org To: Win Treese Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 24 19:01:21 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kWMuu-00029b-NO for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Oct 2020 19:01:20 +0200 Original-Received: from localhost ([::1]:51814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWMut-0006iW-LD for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Oct 2020 13:01:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWMub-0006gB-VR for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2020 13:01:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51727) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWMub-0005ct-Ls for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2020 13:01:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kWMub-0004fe-Kc for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2020 13:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Oct 2020 17:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43973 X-GNU-PR-Package: emacs Original-Received: via spool by 43973-submit@debbugs.gnu.org id=B43973.160355880917871 (code B ref 43973); Sat, 24 Oct 2020 17:01:01 +0000 Original-Received: (at 43973) by debbugs.gnu.org; 24 Oct 2020 17:00:09 +0000 Original-Received: from localhost ([127.0.0.1]:35040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWMtl-0004eA-8O for submit@debbugs.gnu.org; Sat, 24 Oct 2020 13:00:09 -0400 Original-Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]:40680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWMtj-0004c2-4h for 43973@debbugs.gnu.org; Sat, 24 Oct 2020 13:00:08 -0400 Original-Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15]) by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id 60E243C5; Sat, 24 Oct 2020 19:00:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1603558800; s=20200222-6h9o; d=idiocy.org; i=alan@idiocy.org; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To; l=897; bh=DIyspIoAFkSdKISsyAZICz2kNamgoufuA1I5TNbBHS8=; b=fdvXWCPsNC7/05xSrobriKjHyp3YzyrlWezltDzvM3b5j5WgllBdGlsTrfAt1vwH yR2insxAf/sIdzNIIDsCCdqE/qakDg2xanHaSgrMs3CW0aOl8p3s9YB6m0FKNDSuGkY EjhCYQUKh6nKXvB2wIecaYmzLcsQrwd67iP3FgvdqAlsnywwvNmdyojM+cPwH9KRTZu X381XLOKHp2Wgpt74iDhqOYyjWAChb/3MR8sFcGMDE5zDc8bQKlomoWfQ1QmLePuNFR QT8EqES4o+czQZyP5u+UpmeKtKXQ29VYkbYAnDnWnBvn+QJ+vY2jCypccmCQkXTHQfY Ju1acuvMeQ== Original-Received: by smtp.mailfence.com with ESMTPA ; Sat, 24 Oct 2020 18:59:56 +0200 (CEST) Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id D4BA120263AAA2; Sat, 24 Oct 2020 17:59:54 +0100 (BST) Mail-Followup-To: Alan Third , Win Treese , 43973@debbugs.gnu.org Content-Disposition: inline In-Reply-To: X-ContactOffice-Account: com:241649512 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191436 Archived-At: On Fri, Oct 23, 2020 at 09:37:43PM -0400, Win Treese wrote: > I got curious about what was going on with this bug after looking at > other alloc/dealloc problems on the Mac, and I’m wondering if there > is an initialization problem in setTranform: > > The code is: > > - (void)setTransform: (double[3][3]) m > { > transform = [[NSAffineTransform transform] retain]; > NSAffineTransformStruct tm > = { m[0][0], m[0][1], m[1][0], m[1][1], m[2][0], m[2][1]}; > [transform setTransformStruct:tm]; > } > > It seems to create a new NSAffineTransform object with the existing > value of transform. No, [NSAffineTransform transform] is a call to the class method "transform", it's not actually a reference to the variable transform, although I can see why that is confusing. https://developer.apple.com/documentation/foundation/nsaffinetransform?language=objc -- Alan Third