From: Aaron Jensen <aaronjensen@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 55687@debbugs.gnu.org, acm@muc.de
Subject: bug#55687: 29.0.50; make-frame chid frame crash/regression from dfa3e6f424
Date: Sat, 28 May 2022 16:11:03 -0400 [thread overview]
Message-ID: <CAHyO48wRzxX3QW66=rVpZyG4CfqBbQjaa3SRx92ge=sSTYzPQQ@mail.gmail.com> (raw)
In-Reply-To: <83a6b2mapb.fsf@gnu.org>
On Sat, May 28, 2022 at 2:29 AM Eli Zaretskii <eliz@gnu.org> wrote:
>
> The patch Stefan posted earlier in bug#55684 fixes this problem as
> well, AFAICT.
I can confirm that this fixes one of the issues I reported, but not this one:
(make-frame `((parent-frame . ,(selected-frame))))
I don't know if there's something else invalid about this, but it
crashes Emacs, at least on macOS.
2022-05-28 16:10:15.834 Emacs[6287:10639499] -[_NSViewBackingLayer
getContext]: unrecognized selector sent to instance 0x600000339e30
2022-05-28 16:10:15.836 Emacs[6287:10639499] *** Terminating app due
to uncaught exception 'NSInvalidArgumentException', reason:
'-[_NSViewBackingLayer getContext]: unrecognized selector sent to
instance 0x600000339e30'
*** First throw call stack:
(
0 CoreFoundation 0x000000019e3e5198
__exceptionPreprocess + 240
1 libobjc.A.dylib 0x000000019e12fe04
objc_exception_throw + 60
2 CoreFoundation 0x000000019e478f40
-[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x000000019e344544
___forwarding___ + 1764
4 CoreFoundation 0x000000019e343da0
_CF_forwarding_prep_0 + 96
5 Emacs 0x0000000100453c80
-[EmacsView lockFocus] + 36
6 Emacs 0x000000010044b3ac ns_focus + 56
7 Emacs 0x0000000100454164
ns_clear_frame_area + 156
8 Emacs 0x0000000100454074
-[EmacsView drawRect:] + 84
9 AppKit 0x00000001a1023a80
_NSViewDrawRect + 148
10 AppKit 0x00000001a175c1dc
-[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:]
+ 1308
11 AppKit 0x00000001a10231f4
-[NSView(NSLayerKitGlue)
_drawViewBackingLayer:inContext:drawingHandler:] + 688
12 AppKit 0x00000001a1022e88
-[NSView(NSLayerKitGlue) drawLayer:inContext:] + 344
13 QuartzCore 0x00000001a51fdbf4
CABackingStoreUpdate_ + 484
14 QuartzCore 0x00000001a525bee0
___ZN2CA5Layer8display_Ev_block_invoke + 64
15 QuartzCore 0x00000001a51fcbf8
-[CALayer _display] + 1948
16 AppKit 0x00000001a1022c40
-[_NSBackingLayer display] + 372
17 AppKit 0x00000001a0f9be48
-[_NSViewBackingLayer display] + 644
18 QuartzCore 0x00000001a51fbc4c
_ZN2CA5Layer17display_if_neededEPNS_11TransactionE + 780
19 QuartzCore 0x00000001a5347728
_ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 464
20 QuartzCore 0x00000001a51dd44c
_ZN2CA11Transaction6commitEv + 704
21 AppKit 0x00000001a0f1c5d4
-[NSWindow _setFrameCommon:display:fromServer:] + 3632
22 Emacs 0x000000010045640c
-[EmacsWindow setFrame:display:animate:] + 40
23 AppKit 0x00000001a0fe14cc
-[NSThemeFrame _growWindowReshapeContentAndToolbarView:withOldToolbarFrameSize:animate:]
+ 1232
24 AppKit 0x00000001a0fe0ddc
-[NSThemeFrame _reshapeContentAndToolbarView:withOldToolbarFrameSize:resizeWindow:animate:]
+ 300
25 AppKit 0x00000001a0fc16b0
-[NSThemeFrame _showHideToolbar:resizeWindow:animate:] + 284
26 AppKit 0x00000001a0fb06c0
-[NSWindow _showToolbar:animate:] + 216
27 AppKit 0x00000001a0fb05c0
-[NSToolbar _show:animate:] + 48
28 AppKit 0x00000001a0fae054
-[NSWindow setToolbar:] + 644
29 Emacs 0x00000001004551c0
-[EmacsWindow createToolbar:] + 168
30 Emacs 0x00000001004550c4
-[EmacsWindow initWithEmacsFrame:fullscreen:screen:] + 1868
31 Emacs 0x0000000100452650
-[EmacsView initFrameFromEmacs:] + 464
32 Emacs 0x0000000100460858
Fx_create_frame + 4388
33 faces-b9447c93-57cd3aa1.eln 0x000000010487e7e0
F782d6372656174652d6672616d652d776974682d6661636573_x_create_frame_with_faces_0
+ 304
34 Emacs 0x00000001003fcb3c
exec_byte_code + 3232
35 Emacs 0x00000001003b9b28
Ffuncall + 316
36 Emacs 0x00000001003fcb3c
exec_byte_code + 3232
37 Emacs 0x00000001003b9b28
Ffuncall + 316
38 frame-b40fc590-c0f95a84.eln 0x00000001045b0db8
F6d616b652d6672616d65_make_frame_0 + 1832
39 Emacs 0x00000001003b7ca8
eval_sub + 1520
40 Emacs 0x00000001003b811c Fprogn + 48
41 Emacs 0x00000001003b7dc0
eval_sub + 1800
42 Emacs 0x00000001003bbc80 Feval + 88
43 elisp-mode-90dbfe40-b5ded1c4.eln 0x0000000146cc39f0
F656c6973702d2d6576616c2d6c6173742d73657870_elisp__eval_last_sexp_0 +
320
44 Emacs 0x00000001003b9b28
Ffuncall + 316
45 elisp-mode-90dbfe40-b5ded1c4.eln 0x0000000146cc3f10
F6576616c2d6c6173742d73657870_eval_last_sexp_0 + 112
46 Emacs 0x00000001003b9b28
Ffuncall + 316
47 Emacs 0x00000001003b53dc
Ffuncall_interactively + 68
48 Emacs 0x00000001003b9b28
Ffuncall + 316
49 Emacs 0x00000001003b6498
Fcall_interactively + 4260
50 simple-fab5b0cf-be7a6de0.eln 0x00000001047d0810
F636f6d6d616e642d65786563757465_command_execute_0 + 800
51 Emacs 0x00000001003b9b28
Ffuncall + 316
52 Emacs 0x000000010033dcec
command_loop_1 + 988
53 Emacs 0x00000001003ba6f0
internal_condition_case + 96
54 Emacs 0x000000010033d8fc
command_loop_2 + 52
55 Emacs 0x00000001003ba16c
internal_catch + 88
56 Emacs 0x0000000100480690
command_loop.cold.1 + 80
57 Emacs 0x000000010033d28c
record_auto_save + 0
58 Emacs 0x000000010033d144
recursive_edit_1 + 148
59 Emacs 0x000000010033d3b0
Frecursive_edit + 268
60 Emacs 0x000000010033c6e4 main + 7164
61 dyld 0x0000000100bf508c start + 520
)
libc++abi: terminating with uncaught exception of type NSException
next prev parent reply other threads:[~2022-05-28 20:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-28 3:40 bug#55687: 29.0.50; make-frame chid frame crash/regression from dfa3e6f424 Aaron Jensen
2022-05-28 6:29 ` Eli Zaretskii
2022-05-28 20:11 ` Aaron Jensen [this message]
2022-05-29 5:36 ` Eli Zaretskii
2022-05-29 12:52 ` Aaron Jensen
2022-05-29 16:08 ` Alan Third
2022-05-29 17:46 ` Aaron Jensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHyO48wRzxX3QW66=rVpZyG4CfqBbQjaa3SRx92ge=sSTYzPQQ@mail.gmail.com' \
--to=aaronjensen@gmail.com \
--cc=55687@debbugs.gnu.org \
--cc=acm@muc.de \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).