From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#65817: 30.0.50; Abort with NSInvalidArgumentException on macOS Big Sur Date: Fri, 08 Sep 2023 09:01:06 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14526"; mail-complaints-to="usenet@ciao.gmane.io" To: 65817@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 08 09:02:32 2023 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 1qeVVg-0003cx-Fd for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Sep 2023 09:02:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeVVI-0005tN-6v; Fri, 08 Sep 2023 03:02:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeVVA-0005sg-ML for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 03:02:04 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeVVA-0007hY-AD for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 03:02:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qeVVC-0006Rh-1m for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 03:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Sep 2023 07:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65817 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.169415648924737 (code B ref -1); Fri, 08 Sep 2023 07:02:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Sep 2023 07:01:29 +0000 Original-Received: from localhost ([127.0.0.1]:42047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeVUf-0006Qu-5M for submit@debbugs.gnu.org; Fri, 08 Sep 2023 03:01:29 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:40496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeVUY-0006Qd-Lf for submit@debbugs.gnu.org; Fri, 08 Sep 2023 03:01:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeVUR-0005kW-1e for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 03:01:15 -0400 Original-Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeVUO-0007bv-Kb for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 03:01:14 -0400 Original-Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-99357737980so210997366b.2 for ; Fri, 08 Sep 2023 00:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694156469; x=1694761269; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=bBE/ZYMkGgxpd/Ljc/IZhPLVpqhWvCuuNbQLoI36hNU=; b=reTU5/Uuu1e1cCUcy11ABQp9tBPvFIlUZZm4DAR7hfxLkd8v2Hb4IEQzBi4VF4t/LE 5OnGPbzPkUhSjfEEOEFPfX8UgakLHaFXiSh97o5yEzqTqwVLbjTKEve8bDHEtLFj8pny v2WEyo7PWYfzpmrSv9N2780hojabvMvimncbl9LplM4kamprsdfAPmp9bYfHzscyPHqn JFg2EKl70SOYNP+e8BPkvGK7g2wwfUdBbjyTPqVNG0AOrOZEmX+2T7eA7HEwr8VEjvMb ccE+bVxftzwiH/i8I/awfLIDYP4KRe79+jIDtZZy7ySHzaeiGdnqoet6+yAaRyG99HDU twBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694156469; x=1694761269; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=bBE/ZYMkGgxpd/Ljc/IZhPLVpqhWvCuuNbQLoI36hNU=; b=UgF1cJpxFa5S/HdJvRKYM8F3t9CcSte+/v8WatIeuiz9izIHNbPhyGyf1CDoguS7/V AK/PGjSPVzbvmGN8PuKPWbbLpUdRdtqqCoTYosyDCh49JhsUYvVC4LUQAFAdY1qsfm5m IclOSSjTMbcrqWMq5ZmTNzTrT60sLPlwdkSgF5EqExN9quTdvZ1MtzC/ahzdH/JDi2Rc 7HnBf8v6ujhlBqfTBuTe+K305RChrCPVY8e2r976AyhQ4GS9CPrPNaWgdT1aVAKfD1Sw rcp7yOTJObQ0B0YyBiKPTSH6i8bD+yBki1LpQ2RyQ3wXWAmNJrUzbGryp6f3ErIcHgR/ xctg== X-Gm-Message-State: AOJu0YxxMpbvWCQn0d3ISDP6fqd6CnObdTpGKA7dP3a9SlOUlLO+UPDR jQgs5ufbtCi8GQpPB/Jonxuce22tmMfmag== X-Google-Smtp-Source: AGHT+IGaBpoKNtBtCXATg1tvmR/4NLQofQubYtzLNfS+5bdTM+NI0V/2g1ZOOP+wkmteEsMBxXhUcA== X-Received: by 2002:a17:906:5198:b0:9a5:b1cd:bdf2 with SMTP id y24-20020a170906519800b009a5b1cdbdf2mr1138790ejk.51.1694156469169; Fri, 08 Sep 2023 00:01:09 -0700 (PDT) Original-Received: from Pro.fritz.box (p4fe3aaa8.dip0.t-ipconnect.de. [79.227.170.168]) by smtp.gmail.com with ESMTPSA id y5-20020a1709064b0500b009a0955a7ad0sm595507eju.128.2023.09.08.00.01.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Sep 2023 00:01:08 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x632.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269730 Archived-At: In GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin20.6.0, NS appkit-2022.70 Version 11.7.9 (Build 20G1426)) of 2023-09-08 built on Pro.fritz.box Repository revision: dd818ed821f7a9a35253e39374ee5f0aaae669bb Repository branch: master Windowing system distributor 'Apple', version 10.3.2022 System Description: macOS 11.7.9 This is a 10 year old Mac. I can't reproduce it at will. Below is what was printed to the terminal, then Emacs aborted. emacs[29331:353519] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_NSViewBackingLayer getContext]: unrecognized selector sent to instance 0x11cc693a0' *** First throw call stack: ( 0 CoreFoundation 0x00007fff2076fbdb __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007fff204a8d92 objc_exception_throw + 48 2 CoreFoundation 0x00007fff207f270d -[NSObject(NSObject) __retain_OA] + 0 3 CoreFoundation 0x00007fff206d7c2b ___forwarding___ + 1448 4 CoreFoundation 0x00007fff206d75f8 _CF_forwarding_prep_0 + 120 5 emacs 0x000000010033d481 -[EmacsView lockFocus] + 49 6 emacs 0x000000010032ee27 ns_focus + 87 7 emacs 0x000000010033df80 ns_clear_frame_area + 400 8 emacs 0x000000010033dda1 -[EmacsView drawRect:] + 321 9 AppKit 0x00007fff2306ddab _NSViewDrawRect + 139 10 AppKit 0x00007fff2379fcdf -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 2115 11 AppKit 0x00007fff2306d3c5 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 967 12 QuartzCore 0x00007fff26e89271 CABackingStoreUpdate_ + 219 13 QuartzCore 0x00007fff26ef084d ___ZN2CA5Layer8display_Ev_block_invoke + 53 14 QuartzCore 0x00007fff26e88787 -[CALayer _display] + 2247 15 AppKit 0x00007fff2306cf35 -[_NSBackingLayer display] + 475 16 AppKit 0x00007fff22fd8022 -[_NSViewBackingLayer display] + 555 17 QuartzCore 0x00007fff26e876f3 _ZN2CA5Layer17display_if_neededEPNS_11TransactionE + 863 18 QuartzCore 0x00007fff26fd2bee _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 666 19 QuartzCore 0x00007fff26e68b6f _ZN2CA11Transaction6commitEv + 713 20 AppKit 0x00007fff22f500a5 NSPerformVisuallyAtomicChange + 154 21 AppKit 0x00007fff2314c06f -[NSWindow addChildWindow:ordered:] + 640 22 emacs 0x000000010033fe08 -[EmacsWindow setParentChildRelationships] + 696 23 emacs 0x000000010033f2ad -[EmacsWindow initWithEmacsFrame:fullscreen:screen:] + 1485 24 emacs 0x000000010033ecd0 -[EmacsWindow initWithEmacsFrame:] + 48 25 emacs 0x000000010033ace5 -[EmacsView initFrameFromEmacs:] + 1045 26 emacs 0x00000001003579a1 Fx_create_frame + 7937