From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Win Treese Newsgroups: gmane.emacs.bugs Subject: bug#43973: 28.0.50; [NS] Two crashes on macOS Date: Fri, 23 Oct 2020 21:37:43 -0400 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21044"; mail-complaints-to="usenet@ciao.gmane.io" To: 43973@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 24 03:38:11 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 1kW8VW-0005PE-Vi for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Oct 2020 03:38:10 +0200 Original-Received: from localhost ([::1]:56452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kW8VV-00024f-Gr for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Oct 2020 21:38:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kW8VO-00024M-JS for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2020 21:38:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47223) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kW8VO-0008HU-9w for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2020 21:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kW8VO-0006QF-6w for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2020 21:38:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Win Treese Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Oct 2020 01:38:02 +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.160350347524671 (code B ref 43973); Sat, 24 Oct 2020 01:38:02 +0000 Original-Received: (at 43973) by debbugs.gnu.org; 24 Oct 2020 01:37:55 +0000 Original-Received: from localhost ([127.0.0.1]:58769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW8VG-0006Pr-SM for submit@debbugs.gnu.org; Fri, 23 Oct 2020 21:37:55 -0400 Original-Received: from forward1-smtp.messagingengine.com ([66.111.4.223]:60081) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW8VF-0006Pd-2A for 43973@debbugs.gnu.org; Fri, 23 Oct 2020 21:37:53 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailforward.nyi.internal (Postfix) with ESMTP id AFB5C1940084 for <43973@debbugs.gnu.org>; Fri, 23 Oct 2020 21:37:47 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 23 Oct 2020 21:37:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=nT87hM 6ykkdoCSUi6KZHktR3msp29yaDwtTkzVkrq3U=; b=RoVfvLGtcazMivkOoP9xoP Cjkm8HGynVLeR3Pv8dl1OeP5VUePKTYQXhsRhNoOx/kVeNc8RN5XoXiB1Cbv/77A YgWegazrlzye8c8zDKSQ8Fv92tb/97qot5R5A3qg+5k3QaNAUZ6U6HqFIt4HTnKF xR7YO7nX9KqNyUhpafL0T8MnFnj9SSmN9Jt+XwLOjbcgJdNxkhxQT3bkaeWFjqos tPAN6H+Hs6r8mQl/6dRAYt9etXLkVDvWuA5aJjXNYNKGqvItcCeeDBE7RhVykAFI 9//OQT86DlGIQggxIFsh0KQc9xNOM+Qe03SwlBPZznwAvg0L5hEyjvVvwnYmf9gA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrkedugdeglecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephfgtgfgguffkfffvofesthhqmhdthh dtjeenucfhrhhomhephghinhcuvfhrvggvshgvuceothhrvggvshgvsegrtghmrdhorhhg qeenucggtffrrghtthgvrhhnpeejgfevhfetgffgteehieegteeikeekheegfefhheehhe ffleeuhfdtfffghfdvheenucfkphepudehuddrvddtfedrheekrddutdehnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhrvggvshgvsegrtg hmrdhorhhg X-ME-Proxy: Original-Received: from cirocco.treese.org (pool-151-203-58-105.bstnma.fios.verizon.net [151.203.58.105]) by mail.messagingengine.com (Postfix) with ESMTPA id 3D14A328005A for <43973@debbugs.gnu.org>; Fri, 23 Oct 2020 21:37:47 -0400 (EDT) X-Mao-Original-Outgoing-Id: 625196263.092028-b735a07f77d0f63b272b865d6fa42920 X-Mailer: Apple Mail (2.3445.104.17) 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:191405 Archived-At: I got curious about what was going on with this bug after looking at = other alloc/dealloc problems on the Mac, and I=E2=80=99m wondering if = there is an initialization problem in setTranform: The code is: - (void)setTransform: (double[3][3]) m { transform =3D [[NSAffineTransform transform] retain]; NSAffineTransformStruct tm =3D { 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. I imagine that would be NULL the first time through. = When the deallocation happens (the [transform dealloc] mentioned earlier = in the thread, I think the following might happen: [transform dealloc] essentially calls [NSAffineTransform dealloc], which = then tries to dealloc the object it was initialized with, which was = null, and it crashes there. Could that be what=E2=80=99s going on? - Win