all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dmitry@gutov.dev>
To: Eli Zaretskii <eliz@gnu.org>
Cc: alan@idiocy.org, 71866@debbugs.gnu.org
Subject: bug#71866: 30.0.50; [macOS] Cursor hiding char behind it with certain theme customization
Date: Mon, 22 Jul 2024 02:58:33 +0300	[thread overview]
Message-ID: <7ae61592-8319-4b1a-b973-4015ff1db569@gutov.dev> (raw)
In-Reply-To: <86ttgibxqv.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 5006 bytes --]

On 21/07/2024 17:55, Eli Zaretskii wrote:
>> Date: Sun, 21 Jul 2024 16:50:18 +0300
>> Cc: 71866@debbugs.gnu.org
>> From: Dmitry Gutov <dmitry@gutov.dev>
>>
>>>     . The two frames are arranged in a way that the cursor in the
>>>       left-most frame is not really visible when the right-most frame
>>>       partially obscures it.  So it's hard to tell at all times what
>>>       kind of cursor (or no cursor) is shown in that frame.  Could you
>>>       please repeat the experiment after moving the right-most frame a
>>>       bit to the right, so as not to obscure the cursor of the other
>>>       frame?  IOW, I'd like to be able to see cursors in both frames
>>>       regardless of which frame is selected/has focus.
>>
>> I can repeat the experiment, but in my testing the problem only occurs
>> in (all) frames other than the first/original one, regardless of their
>> positioning.
> 
> I believe you.  But I want to see both cursors, because they are
> usually redrawn in tandem.

No problem.

>>>     . Sometimes an Emacs frame shows its window as selected (judging by
>>>       the way the mode line is displayed), but the 3 colored circles at
>>>       the top left corner of the frame are shown in gray.  What does
>>>       this mean, in Emacs terms, and how is that different from the
>>>       situation where both the mode line is shown as active and the
>>>       circles are shown in red/yellow/green colors?
>>
>> It seems to me a consequence of our having a breakpoint inside a
>> function that updates how the frame looks (which includes its contents,
>> the "selected" status and etc) - when I switch the focus away manually
>> to a different program in the middle of that (to handle the breakpoint),
>> probably that created a de-synchronization that never happens in other
>> circumstances.
> 
> If you are sure that this happens only when Emacs is stopped at a
> breakpoint, this aspect of the issue can be disregarded.

Seems so to me. You could see the way Emacs behaves without breakpoints 
at the beginning of the previous video.

>>>     . What exactly are you doing with keyboard or mouse in the first
>>>       part, where you quickly alternate the frames?  All I see is
>>>       the initial mouse click inside the left-most frame, but the
>>>       subsequent changes seemingly happen "by themselves", without any
>>>       visible trigger.
>>
>> That's 'other-frame', bound to 'M-`'.
> 
> OK.
> 
>>>     . The backtrace indicates that ns_draw_window_cursor is called from
>>>       windowDidResignKey, which AFAIU is called when the focus changes.
>>>       For some reason, display_and_set_cursor, which calls
>>>       ns_draw_window_cursor, decided that cursor type should be
>>>       NO_CURSOR, although gui_update_cursor was called with
>>>       cursor_on_p=true, and the question is why?  You don't show any
>>>       other backtraces, although in the video I clearly see them, and
>>>       they use other values of cursor type.  In addition, I don't know
>>>       which window passed to ns_draw_window_cursor (the 'w' argument)
>>>       belongs to which frame, and without that, it is very hard to
>>>       interpret the data of the debugging session, because I need to
>>>       compare the calls with what I see in the Emacs frames.
>>
>> Would you like to see all the other backtraces, or some specific ones?
> 
> All of the backtraces from all the calls produced by a single M-`
> press.  It is best to have only the backtraces that happen when the
> problem with the cursor is visible, if you can easily arrange for
> that.

Yup, done that, see below.

>> In the former case, that will be a lot of text to sort through.
> 
> Yes, but it is imperative to see all the calls.

Very good, see this longer video where I also print the backtrace every 
time the breakpoint is hit (and then sometimes scroll up to make its top 
visible). Also attached is the text log with all 12 backtraces together.

https://streamable.com/4a1vb2

The video will be up for 24 hours at this free hosting, but I can 
reupload it later as well if somebody asks.

>>> IOW, the important question is: was the problematic display, where no
>>> cursor is shown, caused by an incorrect call to ns_draw_window_cursor,
>>> or was it caused by some other factor?  The data and the video you
>>> presented does not allow to answer this questions.  Adding the missing
>>> details I mentioned will probably help answer them.
>>
>> ...and whether that all is a red herring, caused by our breakpoints,
>> whereas the code reading to the original problem might reside somewhere
>> else. ;-(
> 
> Could be, but in general ns_draw_window_cursor is AFAIK the only way
> of redrawing the cursor, so I think we are on a good track here.

Here's hoping.

> Eventually, if and when we find the call which causes this incomplete
> redraw, you will need to step through the code and see what happens
> there.  When we get there, I will try to explain the main ideas of the
> code.

Sounds great!

[-- Attachment #2: emacs-lldb-bt-3-list.txt --]
[-- Type: text/plain, Size: 60848 bytes --]

2024-07-22 01:52:55.096460+0300 emacs[7616:3253530] [CursorUI] -[TUINSCursorUIController activate:]: EmacsView doesn't conform to NSTextInputClient protocol.
Process 7616 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e0166d0, glyph_row=0x000000011e91fd00, x=28, y=42, cursor_type=FILLED_BOX_CURSOR, cursor_width=1, on_p=true, active_p=true) at nsterm.m:3045:25
   3042	  if (!on_p)
   3043	    return;
   3044
-> 3045	  w->phys_cursor_type = cursor_type;
   3046	  w->phys_cursor_on_p = on_p;
   3047
   3048	  if (cursor_type == NO_CURSOR)
Target 0: (emacs) stopped.
(lldb) 1
error: '1' is not a valid command.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
  * frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e0166d0, glyph_row=0x000000011e91fd00, x=28, y=42, cursor_type=FILLED_BOX_CURSOR, cursor_width=1, on_p=true, active_p=true) at nsterm.m:3045:25
    frame #1: 0x000000010007035c emacs`display_and_set_cursor(w=0x000000011e0166d0, on=true, hpos=4, vpos=3, x=28, y=42) at xdisp.c:34205:5
    frame #2: 0x0000000100070d24 emacs`update_window_cursor(w=0x000000011e0166d0, on=true) at xdisp.c:34240:7
    frame #3: 0x0000000100070b1c emacs`update_cursor_in_window_tree(w=0x000000011e0166d0, on_p=true) at xdisp.c:34258:2
    frame #4: 0x0000000100070aa0 emacs`gui_update_cursor(f=0x000000011e016480, on_p=true) at xdisp.c:34272:3
    frame #5: 0x0000000100344638 emacs`ns_frame_rehighlight(frame=0x000000011e016480) at nsterm.m:1486:11
    frame #6: 0x0000000100344468 emacs`-[EmacsView windowDidBecomeKey](self=0x000000011b1114a0, _cmd="windowDidBecomeKey") at nsterm.m:7935:3
    frame #7: 0x00000001003443a8 emacs`-[EmacsView windowDidBecomeKey:](self=0x000000011b1114a0, _cmd="windowDidBecomeKey:", notification=@"NSWindowDidBecomeKeyNotification") at nsterm.m:7918:3
    frame #8: 0x0000000184db3144 CoreFoundation`__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
    frame #9: 0x0000000184e473d8 CoreFoundation`___CFXRegistrationPost_block_invoke + 88
    frame #10: 0x0000000184e47320 CoreFoundation`_CFXRegistrationPost + 440
    frame #11: 0x0000000184d81678 CoreFoundation`_CFXNotificationPost + 768
    frame #12: 0x0000000185e9e4e4 Foundation`-[NSNotificationCenter postNotificationName:object:userInfo:] + 88
    frame #13: 0x000000018877062c AppKit`-[NSWindow becomeKeyWindow] + 844
    frame #14: 0x000000018871751c AppKit`-[NSWindow _changeKeyAndMainLimitedOK:] + 748
    frame #15: 0x00000001887171f0 AppKit`-[NSWindow makeKeyWindow] + 172
    frame #16: 0x0000000188716fa8 AppKit`-[NSWindow _makeKeyRegardlessOfVisibility] + 56
    frame #17: 0x000000018870f6a0 AppKit`-[NSWindow makeKeyAndOrderFront:] + 24
    frame #18: 0x0000000100349c10 emacs`-[EmacsWindow makeKeyAndOrderFront:](self=0x000000011b1118e0, _cmd="makeKeyAndOrderFront:", sender=0x000000013a61f360) at nsterm.m:9485:5
    frame #19: 0x00000001003378ec emacs`ns_raise_frame(f=0x000000011e016480, make_key=YES) at nsterm.m:1411:9
    frame #20: 0x0000000100350434 emacs`ns_frame_raise_lower(f=0x000000011e016480, raise=true) at nsterm.m:1444:5
    frame #21: 0x000000010001ebb0 emacs`Fraise_frame(frame=0x000000011e016485) at frame.c:3023:5
    frame #22: 0x000000010024c8a0 emacs`funcall_subr(subr=0x0000000100945bb0, numargs=1, args=0x0000000130100140) at eval.c:3161:15
    frame #23: 0x00000001002b2db0 emacs`exec_byte_code(fun=0x00000001024f73d5, args_template=513, nargs=1, args=0x0000000130100108) at bytecode.c:812:14
    frame #24: 0x000000010024cc58 emacs`funcall_lambda(fun=0x0000000101b2a80d, nargs=1, arg_vector=0x000000016fdfd790) at eval.c:3252:9
    frame #25: 0x000000010024c5ec emacs`funcall_general(fun=0x0000000101b2a80d, numargs=1, args=0x000000016fdfd790) at eval.c:3044:12
    frame #26: 0x0000000100245e8c emacs`Ffuncall(nargs=2, args=0x000000016fdfd788) at eval.c:3093:21
    frame #27: 0x000000010023fb20 emacs`Ffuncall_interactively(nargs=2, args=0x000000016fdfd788) at callint.c:250:32
    frame #28: 0x000000010024ca88 emacs`funcall_subr(subr=0x0000000100950f80, numargs=2, args=0x000000016fdfd788) at eval.c:3184:9
    frame #29: 0x000000010024c5a4 emacs`funcall_general(fun=0x0000000100950f85, numargs=2, args=0x000000016fdfd788) at eval.c:3040:12
    frame #30: 0x0000000100245e8c emacs`Ffuncall(nargs=3, args=0x000000016fdfd780) at eval.c:3093:21
    frame #31: 0x0000000100241d40 emacs`Fcall_interactively(function=0x000000000114a1f8, record_flag=0x0000000000000000, keys=0x00000001024ea055) at callint.c:789:21
    frame #32: 0x000000010024c8f0 emacs`funcall_subr(subr=0x0000000100950f48, numargs=3, args=0x0000000130100060) at eval.c:3165:15
    frame #33: 0x00000001002b2db0 emacs`exec_byte_code(fun=0x0000000102505935, args_template=1025, nargs=1, args=0x000000016fdfebe8) at bytecode.c:812:14
    frame #34: 0x000000010024cc58 emacs`funcall_lambda(fun=0x0000000102505935, nargs=1, arg_vector=0x000000016fdfebe0) at eval.c:3252:9
    frame #35: 0x000000010024c5ec emacs`funcall_general(fun=0x0000000102505935, numargs=1, args=0x000000016fdfebe0) at eval.c:3044:12
    frame #36: 0x0000000100245e8c emacs`Ffuncall(nargs=2, args=0x000000016fdfebd8) at eval.c:3093:21
    frame #37: 0x000000010015d28c emacs`command_loop_1 at keyboard.c:1550:13
    frame #38: 0x000000010024923c emacs`internal_condition_case(bfun=(emacs`command_loop_1 at keyboard.c:1324), handlers=0x0000000000000090, hfun=(emacs`cmd_error at keyboard.c:970)) at eval.c:1613:25
    frame #39: 0x000000010015c8c4 emacs`command_loop_2(handlers=0x0000000000000090) at keyboard.c:1168:11
    frame #40: 0x00000001002484d4 emacs`internal_catch(tag=0x0000000000011220, func=(emacs`command_loop_2 at keyboard.c:1164), arg=0x0000000000000090) at eval.c:1292:25
    frame #41: 0x000000010015bc10 emacs`command_loop at keyboard.c:1146:2
    frame #42: 0x000000010015b9fc emacs`recursive_edit_1 at keyboard.c:754:9
    frame #43: 0x000000010015bee8 emacs`Frecursive_edit at keyboard.c:837:3
    frame #44: 0x0000000100158ac8 emacs`main(argc=4, argv=0x000000016fdff4b0) at emacs.c:2624:3
    frame #45: 0x00000001849560e0 dyld`start + 2360
(lldb) c
Process 7616 resuming
Process 7616 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e016978, glyph_row=0x000000011e81f000, x=0, y=0, cursor_type=NO_CURSOR, cursor_width=0, on_p=true, active_p=false) at nsterm.m:3045:25
   3042	  if (!on_p)
   3043	    return;
   3044
-> 3045	  w->phys_cursor_type = cursor_type;
   3046	  w->phys_cursor_on_p = on_p;
   3047
   3048	  if (cursor_type == NO_CURSOR)
Target 0: (emacs) stopped.
(lldb) 2
error: '2' is not a valid command.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
  * frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e016978, glyph_row=0x000000011e81f000, x=0, y=0, cursor_type=NO_CURSOR, cursor_width=0, on_p=true, active_p=false) at nsterm.m:3045:25
    frame #1: 0x000000010007035c emacs`display_and_set_cursor(w=0x000000011e016978, on=true, hpos=0, vpos=0, x=0, y=0) at xdisp.c:34205:5
    frame #2: 0x0000000100070d24 emacs`update_window_cursor(w=0x000000011e016978, on=true) at xdisp.c:34240:7
    frame #3: 0x0000000100070b1c emacs`update_cursor_in_window_tree(w=0x000000011e016978, on_p=true) at xdisp.c:34258:2
    frame #4: 0x0000000100070aa0 emacs`gui_update_cursor(f=0x000000011e016480, on_p=true) at xdisp.c:34272:3
    frame #5: 0x0000000100344638 emacs`ns_frame_rehighlight(frame=0x000000011e016480) at nsterm.m:1486:11
    frame #6: 0x0000000100344468 emacs`-[EmacsView windowDidBecomeKey](self=0x000000011b1114a0, _cmd="windowDidBecomeKey") at nsterm.m:7935:3
    frame #7: 0x00000001003443a8 emacs`-[EmacsView windowDidBecomeKey:](self=0x000000011b1114a0, _cmd="windowDidBecomeKey:", notification=@"NSWindowDidBecomeKeyNotification") at nsterm.m:7918:3
    frame #8: 0x0000000184db3144 CoreFoundation`__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
    frame #9: 0x0000000184e473d8 CoreFoundation`___CFXRegistrationPost_block_invoke + 88
    frame #10: 0x0000000184e47320 CoreFoundation`_CFXRegistrationPost + 440
    frame #11: 0x0000000184d81678 CoreFoundation`_CFXNotificationPost + 768
    frame #12: 0x0000000185e9e4e4 Foundation`-[NSNotificationCenter postNotificationName:object:userInfo:] + 88
    frame #13: 0x000000018877062c AppKit`-[NSWindow becomeKeyWindow] + 844
    frame #14: 0x000000018871751c AppKit`-[NSWindow _changeKeyAndMainLimitedOK:] + 748
    frame #15: 0x00000001887171f0 AppKit`-[NSWindow makeKeyWindow] + 172
    frame #16: 0x0000000188716fa8 AppKit`-[NSWindow _makeKeyRegardlessOfVisibility] + 56
    frame #17: 0x000000018870f6a0 AppKit`-[NSWindow makeKeyAndOrderFront:] + 24
    frame #18: 0x0000000100349c10 emacs`-[EmacsWindow makeKeyAndOrderFront:](self=0x000000011b1118e0, _cmd="makeKeyAndOrderFront:", sender=0x000000013a61f360) at nsterm.m:9485:5
    frame #19: 0x00000001003378ec emacs`ns_raise_frame(f=0x000000011e016480, make_key=YES) at nsterm.m:1411:9
    frame #20: 0x0000000100350434 emacs`ns_frame_raise_lower(f=0x000000011e016480, raise=true) at nsterm.m:1444:5
    frame #21: 0x000000010001ebb0 emacs`Fraise_frame(frame=0x000000011e016485) at frame.c:3023:5
    frame #22: 0x000000010024c8a0 emacs`funcall_subr(subr=0x0000000100945bb0, numargs=1, args=0x0000000130100140) at eval.c:3161:15
    frame #23: 0x00000001002b2db0 emacs`exec_byte_code(fun=0x00000001024f73d5, args_template=513, nargs=1, args=0x0000000130100108) at bytecode.c:812:14
    frame #24: 0x000000010024cc58 emacs`funcall_lambda(fun=0x0000000101b2a80d, nargs=1, arg_vector=0x000000016fdfd790) at eval.c:3252:9
    frame #25: 0x000000010024c5ec emacs`funcall_general(fun=0x0000000101b2a80d, numargs=1, args=0x000000016fdfd790) at eval.c:3044:12
    frame #26: 0x0000000100245e8c emacs`Ffuncall(nargs=2, args=0x000000016fdfd788) at eval.c:3093:21
    frame #27: 0x000000010023fb20 emacs`Ffuncall_interactively(nargs=2, args=0x000000016fdfd788) at callint.c:250:32
    frame #28: 0x000000010024ca88 emacs`funcall_subr(subr=0x0000000100950f80, numargs=2, args=0x000000016fdfd788) at eval.c:3184:9
    frame #29: 0x000000010024c5a4 emacs`funcall_general(fun=0x0000000100950f85, numargs=2, args=0x000000016fdfd788) at eval.c:3040:12
    frame #30: 0x0000000100245e8c emacs`Ffuncall(nargs=3, args=0x000000016fdfd780) at eval.c:3093:21
    frame #31: 0x0000000100241d40 emacs`Fcall_interactively(function=0x000000000114a1f8, record_flag=0x0000000000000000, keys=0x00000001024ea055) at callint.c:789:21
    frame #32: 0x000000010024c8f0 emacs`funcall_subr(subr=0x0000000100950f48, numargs=3, args=0x0000000130100060) at eval.c:3165:15
    frame #33: 0x00000001002b2db0 emacs`exec_byte_code(fun=0x0000000102505935, args_template=1025, nargs=1, args=0x000000016fdfebe8) at bytecode.c:812:14
    frame #34: 0x000000010024cc58 emacs`funcall_lambda(fun=0x0000000102505935, nargs=1, arg_vector=0x000000016fdfebe0) at eval.c:3252:9
    frame #35: 0x000000010024c5ec emacs`funcall_general(fun=0x0000000102505935, numargs=1, args=0x000000016fdfebe0) at eval.c:3044:12
    frame #36: 0x0000000100245e8c emacs`Ffuncall(nargs=2, args=0x000000016fdfebd8) at eval.c:3093:21
    frame #37: 0x000000010015d28c emacs`command_loop_1 at keyboard.c:1550:13
    frame #38: 0x000000010024923c emacs`internal_condition_case(bfun=(emacs`command_loop_1 at keyboard.c:1324), handlers=0x0000000000000090, hfun=(emacs`cmd_error at keyboard.c:970)) at eval.c:1613:25
    frame #39: 0x000000010015c8c4 emacs`command_loop_2(handlers=0x0000000000000090) at keyboard.c:1168:11
    frame #40: 0x00000001002484d4 emacs`internal_catch(tag=0x0000000000011220, func=(emacs`command_loop_2 at keyboard.c:1164), arg=0x0000000000000090) at eval.c:1292:25
    frame #41: 0x000000010015bc10 emacs`command_loop at keyboard.c:1146:2
    frame #42: 0x000000010015b9fc emacs`recursive_edit_1 at keyboard.c:754:9
    frame #43: 0x000000010015bee8 emacs`Frecursive_edit at keyboard.c:837:3
    frame #44: 0x0000000100158ac8 emacs`main(argc=4, argv=0x000000016fdff4b0) at emacs.c:2624:3
    frame #45: 0x00000001849560e0 dyld`start + 2360
(lldb) c
Process 7616 resuming
2024-07-22 01:53:24.789888+0300 emacs[7616:3253530] [CursorUI] -[TUINSCursorUIController activate:]: EmacsView doesn't conform to NSTextInputClient protocol.
Process 7616 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e0166d0, glyph_row=0x000000011e91fd00, x=28, y=42, cursor_type=HOLLOW_BOX_CURSOR, cursor_width=1, on_p=true, active_p=false) at nsterm.m:3045:25
   3042	  if (!on_p)
   3043	    return;
   3044
-> 3045	  w->phys_cursor_type = cursor_type;
   3046	  w->phys_cursor_on_p = on_p;
   3047
   3048	  if (cursor_type == NO_CURSOR)
Target 0: (emacs) stopped.
(lldb) 3
error: '3' is not a valid command.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
  * frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e0166d0, glyph_row=0x000000011e91fd00, x=28, y=42, cursor_type=HOLLOW_BOX_CURSOR, cursor_width=1, on_p=true, active_p=false) at nsterm.m:3045:25
    frame #1: 0x000000010007035c emacs`display_and_set_cursor(w=0x000000011e0166d0, on=true, hpos=4, vpos=3, x=28, y=42) at xdisp.c:34205:5
    frame #2: 0x0000000100070d24 emacs`update_window_cursor(w=0x000000011e0166d0, on=true) at xdisp.c:34240:7
    frame #3: 0x0000000100070b1c emacs`update_cursor_in_window_tree(w=0x000000011e0166d0, on_p=true) at xdisp.c:34258:2
    frame #4: 0x0000000100070aa0 emacs`gui_update_cursor(f=0x000000011e016480, on_p=true) at xdisp.c:34272:3
    frame #5: 0x0000000100344770 emacs`-[EmacsView windowDidResignKey:](self=0x000000011b1114a0, _cmd="windowDidResignKey:", notification=@"NSWindowDidResignKeyNotification") at nsterm.m:7960:7
    frame #6: 0x0000000184db3144 CoreFoundation`__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
    frame #7: 0x0000000184e473d8 CoreFoundation`___CFXRegistrationPost_block_invoke + 88
    frame #8: 0x0000000184e47320 CoreFoundation`_CFXRegistrationPost + 440
    frame #9: 0x0000000184d81678 CoreFoundation`_CFXNotificationPost + 768
    frame #10: 0x0000000185e9e4e4 Foundation`-[NSNotificationCenter postNotificationName:object:userInfo:] + 88
    frame #11: 0x00000001887776fc AppKit`-[NSWindow resignKeyWindow] + 640
    frame #12: 0x00000001887773e4 AppKit`_NXEndKeyAndMain + 128
    frame #13: 0x00000001887764ec AppKit`-[NSApplication _handleDeactivateEvent:] + 724
    frame #14: 0x0000000188e106b8 AppKit`-[NSApplication(NSEventRouting) sendEvent:] + 1236
    frame #15: 0x000000010033bcd8 emacs`-[EmacsApp sendEvent:](self=0x000000013a61f360, _cmd="sendEvent:", theEvent=0x0000600000c44a80) at nsterm.m:6073:3
    frame #16: 0x0000000188a5e89c AppKit`-[NSApplication _handleEvent:] + 60
    frame #17: 0x000000018860f0c0 AppKit`-[NSApplication run] + 512
    frame #18: 0x000000010033b838 emacs`-[EmacsApp run](self=0x000000013a61f360, _cmd="run") at nsterm.m:5942:7
    frame #19: 0x00000001003560b0 emacs`ns_read_socket_1(terminal=0x000000012a834c10, hold_quit=0x000000016fdfcae0, no_release=NO) at nsterm.m:4816:11
    frame #20: 0x000000010034fa18 emacs`ns_read_socket(terminal=0x000000012a834c10, hold_quit=0x000000016fdfcae0) at nsterm.m:4834:10
    frame #21: 0x000000010016a6dc emacs`gobble_input at keyboard.c:7919:17
    frame #22: 0x000000010016ae10 emacs`handle_async_input at keyboard.c:8158:19
    frame #23: 0x000000010016adf0 emacs`process_pending_signals at keyboard.c:8172:3
    frame #24: 0x000000010016ae9c emacs`unblock_input_to(level=0) at keyboard.c:8187:2
    frame #25: 0x00000001001683a8 emacs`unblock_input at keyboard.c:8206:3
    frame #26: 0x000000010033791c emacs`ns_raise_frame(f=0x000000011e016480, make_key=YES) at nsterm.m:1415:3
    frame #27: 0x0000000100350434 emacs`ns_frame_raise_lower(f=0x000000011e016480, raise=true) at nsterm.m:1444:5
    frame #28: 0x000000010001ebb0 emacs`Fraise_frame(frame=0x000000011e016485) at frame.c:3023:5
    frame #29: 0x000000010024c8a0 emacs`funcall_subr(subr=0x0000000100945bb0, numargs=1, args=0x0000000130100140) at eval.c:3161:15
    frame #30: 0x00000001002b2db0 emacs`exec_byte_code(fun=0x00000001024f73d5, args_template=513, nargs=1, args=0x0000000130100108) at bytecode.c:812:14
    frame #31: 0x000000010024cc58 emacs`funcall_lambda(fun=0x0000000101b2a80d, nargs=1, arg_vector=0x000000016fdfd790) at eval.c:3252:9
    frame #32: 0x000000010024c5ec emacs`funcall_general(fun=0x0000000101b2a80d, numargs=1, args=0x000000016fdfd790) at eval.c:3044:12
    frame #33: 0x0000000100245e8c emacs`Ffuncall(nargs=2, args=0x000000016fdfd788) at eval.c:3093:21
    frame #34: 0x000000010023fb20 emacs`Ffuncall_interactively(nargs=2, args=0x000000016fdfd788) at callint.c:250:32
    frame #35: 0x000000010024ca88 emacs`funcall_subr(subr=0x0000000100950f80, numargs=2, args=0x000000016fdfd788) at eval.c:3184:9
    frame #36: 0x000000010024c5a4 emacs`funcall_general(fun=0x0000000100950f85, numargs=2, args=0x000000016fdfd788) at eval.c:3040:12
    frame #37: 0x0000000100245e8c emacs`Ffuncall(nargs=3, args=0x000000016fdfd780) at eval.c:3093:21
    frame #38: 0x0000000100241d40 emacs`Fcall_interactively(function=0x000000000114a1f8, record_flag=0x0000000000000000, keys=0x00000001024ea055) at callint.c:789:21
    frame #39: 0x000000010024c8f0 emacs`funcall_subr(subr=0x0000000100950f48, numargs=3, args=0x0000000130100060) at eval.c:3165:15
    frame #40: 0x00000001002b2db0 emacs`exec_byte_code(fun=0x0000000102505935, args_template=1025, nargs=1, args=0x000000016fdfebe8) at bytecode.c:812:14
    frame #41: 0x000000010024cc58 emacs`funcall_lambda(fun=0x0000000102505935, nargs=1, arg_vector=0x000000016fdfebe0) at eval.c:3252:9
    frame #42: 0x000000010024c5ec emacs`funcall_general(fun=0x0000000102505935, numargs=1, args=0x000000016fdfebe0) at eval.c:3044:12
    frame #43: 0x0000000100245e8c emacs`Ffuncall(nargs=2, args=0x000000016fdfebd8) at eval.c:3093:21
    frame #44: 0x000000010015d28c emacs`command_loop_1 at keyboard.c:1550:13
    frame #45: 0x000000010024923c emacs`internal_condition_case(bfun=(emacs`command_loop_1 at keyboard.c:1324), handlers=0x0000000000000090, hfun=(emacs`cmd_error at keyboard.c:970)) at eval.c:1613:25
    frame #46: 0x000000010015c8c4 emacs`command_loop_2(handlers=0x0000000000000090) at keyboard.c:1168:11
    frame #47: 0x00000001002484d4 emacs`internal_catch(tag=0x0000000000011220, func=(emacs`command_loop_2 at keyboard.c:1164), arg=0x0000000000000090) at eval.c:1292:25
    frame #48: 0x000000010015bc10 emacs`command_loop at keyboard.c:1146:2
    frame #49: 0x000000010015b9fc emacs`recursive_edit_1 at keyboard.c:754:9
    frame #50: 0x000000010015bee8 emacs`Frecursive_edit at keyboard.c:837:3
    frame #51: 0x0000000100158ac8 emacs`main(argc=4, argv=0x000000016fdff4b0) at emacs.c:2624:3
    frame #52: 0x00000001849560e0 dyld`start + 2360
(lldb) c
Process 7616 resuming
Process 7616 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e016978, glyph_row=0x000000011e81f000, x=0, y=0, cursor_type=NO_CURSOR, cursor_width=0, on_p=true, active_p=false) at nsterm.m:3045:25
   3042	  if (!on_p)
   3043	    return;
   3044
-> 3045	  w->phys_cursor_type = cursor_type;
   3046	  w->phys_cursor_on_p = on_p;
   3047
   3048	  if (cursor_type == NO_CURSOR)
Target 0: (emacs) stopped.
(lldb) 4
error: '4' is not a valid command.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
  * frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e016978, glyph_row=0x000000011e81f000, x=0, y=0, cursor_type=NO_CURSOR, cursor_width=0, on_p=true, active_p=false) at nsterm.m:3045:25
    frame #1: 0x000000010007035c emacs`display_and_set_cursor(w=0x000000011e016978, on=true, hpos=0, vpos=0, x=0, y=0) at xdisp.c:34205:5
    frame #2: 0x0000000100070d24 emacs`update_window_cursor(w=0x000000011e016978, on=true) at xdisp.c:34240:7
    frame #3: 0x0000000100070b1c emacs`update_cursor_in_window_tree(w=0x000000011e016978, on_p=true) at xdisp.c:34258:2
    frame #4: 0x0000000100070aa0 emacs`gui_update_cursor(f=0x000000011e016480, on_p=true) at xdisp.c:34272:3
    frame #5: 0x0000000100344770 emacs`-[EmacsView windowDidResignKey:](self=0x000000011b1114a0, _cmd="windowDidResignKey:", notification=@"NSWindowDidResignKeyNotification") at nsterm.m:7960:7
    frame #6: 0x0000000184db3144 CoreFoundation`__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
    frame #7: 0x0000000184e473d8 CoreFoundation`___CFXRegistrationPost_block_invoke + 88
    frame #8: 0x0000000184e47320 CoreFoundation`_CFXRegistrationPost + 440
    frame #9: 0x0000000184d81678 CoreFoundation`_CFXNotificationPost + 768
    frame #10: 0x0000000185e9e4e4 Foundation`-[NSNotificationCenter postNotificationName:object:userInfo:] + 88
    frame #11: 0x00000001887776fc AppKit`-[NSWindow resignKeyWindow] + 640
    frame #12: 0x00000001887773e4 AppKit`_NXEndKeyAndMain + 128
    frame #13: 0x00000001887764ec AppKit`-[NSApplication _handleDeactivateEvent:] + 724
    frame #14: 0x0000000188e106b8 AppKit`-[NSApplication(NSEventRouting) sendEvent:] + 1236
    frame #15: 0x000000010033bcd8 emacs`-[EmacsApp sendEvent:](self=0x000000013a61f360, _cmd="sendEvent:", theEvent=0x0000600000c44a80) at nsterm.m:6073:3
    frame #16: 0x0000000188a5e89c AppKit`-[NSApplication _handleEvent:] + 60
    frame #17: 0x000000018860f0c0 AppKit`-[NSApplication run] + 512
    frame #18: 0x000000010033b838 emacs`-[EmacsApp run](self=0x000000013a61f360, _cmd="run") at nsterm.m:5942:7
    frame #19: 0x00000001003560b0 emacs`ns_read_socket_1(terminal=0x000000012a834c10, hold_quit=0x000000016fdfcae0, no_release=NO) at nsterm.m:4816:11
    frame #20: 0x000000010034fa18 emacs`ns_read_socket(terminal=0x000000012a834c10, hold_quit=0x000000016fdfcae0) at nsterm.m:4834:10
    frame #21: 0x000000010016a6dc emacs`gobble_input at keyboard.c:7919:17
    frame #22: 0x000000010016ae10 emacs`handle_async_input at keyboard.c:8158:19
    frame #23: 0x000000010016adf0 emacs`process_pending_signals at keyboard.c:8172:3
    frame #24: 0x000000010016ae9c emacs`unblock_input_to(level=0) at keyboard.c:8187:2
    frame #25: 0x00000001001683a8 emacs`unblock_input at keyboard.c:8206:3
    frame #26: 0x000000010033791c emacs`ns_raise_frame(f=0x000000011e016480, make_key=YES) at nsterm.m:1415:3
    frame #27: 0x0000000100350434 emacs`ns_frame_raise_lower(f=0x000000011e016480, raise=true) at nsterm.m:1444:5
    frame #28: 0x000000010001ebb0 emacs`Fraise_frame(frame=0x000000011e016485) at frame.c:3023:5
    frame #29: 0x000000010024c8a0 emacs`funcall_subr(subr=0x0000000100945bb0, numargs=1, args=0x0000000130100140) at eval.c:3161:15
    frame #30: 0x00000001002b2db0 emacs`exec_byte_code(fun=0x00000001024f73d5, args_template=513, nargs=1, args=0x0000000130100108) at bytecode.c:812:14
    frame #31: 0x000000010024cc58 emacs`funcall_lambda(fun=0x0000000101b2a80d, nargs=1, arg_vector=0x000000016fdfd790) at eval.c:3252:9
    frame #32: 0x000000010024c5ec emacs`funcall_general(fun=0x0000000101b2a80d, numargs=1, args=0x000000016fdfd790) at eval.c:3044:12
    frame #33: 0x0000000100245e8c emacs`Ffuncall(nargs=2, args=0x000000016fdfd788) at eval.c:3093:21
    frame #34: 0x000000010023fb20 emacs`Ffuncall_interactively(nargs=2, args=0x000000016fdfd788) at callint.c:250:32
    frame #35: 0x000000010024ca88 emacs`funcall_subr(subr=0x0000000100950f80, numargs=2, args=0x000000016fdfd788) at eval.c:3184:9
    frame #36: 0x000000010024c5a4 emacs`funcall_general(fun=0x0000000100950f85, numargs=2, args=0x000000016fdfd788) at eval.c:3040:12
    frame #37: 0x0000000100245e8c emacs`Ffuncall(nargs=3, args=0x000000016fdfd780) at eval.c:3093:21
    frame #38: 0x0000000100241d40 emacs`Fcall_interactively(function=0x000000000114a1f8, record_flag=0x0000000000000000, keys=0x00000001024ea055) at callint.c:789:21
    frame #39: 0x000000010024c8f0 emacs`funcall_subr(subr=0x0000000100950f48, numargs=3, args=0x0000000130100060) at eval.c:3165:15
    frame #40: 0x00000001002b2db0 emacs`exec_byte_code(fun=0x0000000102505935, args_template=1025, nargs=1, args=0x000000016fdfebe8) at bytecode.c:812:14
    frame #41: 0x000000010024cc58 emacs`funcall_lambda(fun=0x0000000102505935, nargs=1, arg_vector=0x000000016fdfebe0) at eval.c:3252:9
    frame #42: 0x000000010024c5ec emacs`funcall_general(fun=0x0000000102505935, numargs=1, args=0x000000016fdfebe0) at eval.c:3044:12
    frame #43: 0x0000000100245e8c emacs`Ffuncall(nargs=2, args=0x000000016fdfebd8) at eval.c:3093:21
    frame #44: 0x000000010015d28c emacs`command_loop_1 at keyboard.c:1550:13
    frame #45: 0x000000010024923c emacs`internal_condition_case(bfun=(emacs`command_loop_1 at keyboard.c:1324), handlers=0x0000000000000090, hfun=(emacs`cmd_error at keyboard.c:970)) at eval.c:1613:25
    frame #46: 0x000000010015c8c4 emacs`command_loop_2(handlers=0x0000000000000090) at keyboard.c:1168:11
    frame #47: 0x00000001002484d4 emacs`internal_catch(tag=0x0000000000011220, func=(emacs`command_loop_2 at keyboard.c:1164), arg=0x0000000000000090) at eval.c:1292:25
    frame #48: 0x000000010015bc10 emacs`command_loop at keyboard.c:1146:2
    frame #49: 0x000000010015b9fc emacs`recursive_edit_1 at keyboard.c:754:9
    frame #50: 0x000000010015bee8 emacs`Frecursive_edit at keyboard.c:837:3
    frame #51: 0x0000000100158ac8 emacs`main(argc=4, argv=0x000000016fdff4b0) at emacs.c:2624:3
    frame #52: 0x00000001849560e0 dyld`start + 2360
(lldb) c
Process 7616 resuming
Process 7616 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e0166d0, glyph_row=0x000000011e91fd00, x=28, y=42, cursor_type=HOLLOW_BOX_CURSOR, cursor_width=1, on_p=true, active_p=false) at nsterm.m:3045:25
   3042	  if (!on_p)
   3043	    return;
   3044
-> 3045	  w->phys_cursor_type = cursor_type;
   3046	  w->phys_cursor_on_p = on_p;
   3047
   3048	  if (cursor_type == NO_CURSOR)
Target 0: (emacs) stopped.
(lldb) 5
error: '5' is not a valid command.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
  * frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e0166d0, glyph_row=0x000000011e91fd00, x=28, y=42, cursor_type=HOLLOW_BOX_CURSOR, cursor_width=1, on_p=true, active_p=false) at nsterm.m:3045:25
    frame #1: 0x000000010007035c emacs`display_and_set_cursor(w=0x000000011e0166d0, on=true, hpos=4, vpos=3, x=28, y=42) at xdisp.c:34205:5
    frame #2: 0x000000010000740c emacs`gui_update_window_end(w=0x000000011e0166d0, cursor_on_p=true, mouse_face_overwritten_p=false) at dispnew.c:3941:2
    frame #3: 0x000000010000603c emacs`update_window(w=0x000000011e0166d0, force_p=true) at dispnew.c:3869:7
    frame #4: 0x00000001000061c0 emacs`update_window_tree(w=0x000000011e0166d0, force_p=true) at dispnew.c:3491:14
    frame #5: 0x00000001000053a0 emacs`update_frame(f=0x000000011e016480, force_p=true, inhibit_hairy_id_p=false) at dispnew.c:3326:18
    frame #6: 0x000000010004f424 emacs`redisplay_internal at xdisp.c:17480:16
    frame #7: 0x0000000100055ef8 emacs`redisplay at xdisp.c:16575:3
    frame #8: 0x0000000100161e74 emacs`read_char(commandflag=1, map=0x000000013004cd23, prev_event=0x0000000000000000, used_mouse_menu=0x000000016fdfe807, end_time=0x0000000000000000) at keyboard.c:2678:6
    frame #9: 0x000000010015ea30 emacs`read_key_sequence(keybuf=0x000000016fdfebe8, prompt=0x0000000000000000, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at keyboard.c:10743:12
    frame #10: 0x000000010015cdf8 emacs`command_loop_1 at keyboard.c:1429:15
    frame #11: 0x000000010024923c emacs`internal_condition_case(bfun=(emacs`command_loop_1 at keyboard.c:1324), handlers=0x0000000000000090, hfun=(emacs`cmd_error at keyboard.c:970)) at eval.c:1613:25
    frame #12: 0x000000010015c8c4 emacs`command_loop_2(handlers=0x0000000000000090) at keyboard.c:1168:11
    frame #13: 0x00000001002484d4 emacs`internal_catch(tag=0x0000000000011220, func=(emacs`command_loop_2 at keyboard.c:1164), arg=0x0000000000000090) at eval.c:1292:25
    frame #14: 0x000000010015bc10 emacs`command_loop at keyboard.c:1146:2
    frame #15: 0x000000010015b9fc emacs`recursive_edit_1 at keyboard.c:754:9
    frame #16: 0x000000010015bee8 emacs`Frecursive_edit at keyboard.c:837:3
    frame #17: 0x0000000100158ac8 emacs`main(argc=4, argv=0x000000016fdff4b0) at emacs.c:2624:3
    frame #18: 0x00000001849560e0 dyld`start + 2360
(lldb) c
Process 7616 resuming
Process 7616 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e0166d0, glyph_row=0x000000011e91fd00, x=28, y=42, cursor_type=HOLLOW_BOX_CURSOR, cursor_width=1, on_p=true, active_p=false) at nsterm.m:3045:25
   3042	  if (!on_p)
   3043	    return;
   3044
-> 3045	  w->phys_cursor_type = cursor_type;
   3046	  w->phys_cursor_on_p = on_p;
   3047
   3048	  if (cursor_type == NO_CURSOR)
Target 0: (emacs) stopped.
(lldb) 6
error: '6' is not a valid command.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
  * frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e0166d0, glyph_row=0x000000011e91fd00, x=28, y=42, cursor_type=HOLLOW_BOX_CURSOR, cursor_width=1, on_p=true, active_p=false) at nsterm.m:3045:25
    frame #1: 0x000000010007035c emacs`display_and_set_cursor(w=0x000000011e0166d0, on=true, hpos=4, vpos=3, x=28, y=42) at xdisp.c:34205:5
    frame #2: 0x000000010000740c emacs`gui_update_window_end(w=0x000000011e0166d0, cursor_on_p=true, mouse_face_overwritten_p=false) at dispnew.c:3941:2
    frame #3: 0x000000010000603c emacs`update_window(w=0x000000011e0166d0, force_p=true) at dispnew.c:3869:7
    frame #4: 0x00000001000061c0 emacs`update_window_tree(w=0x000000011e0166d0, force_p=true) at dispnew.c:3491:14
    frame #5: 0x00000001000053a0 emacs`update_frame(f=0x000000011e016480, force_p=true, inhibit_hairy_id_p=false) at dispnew.c:3326:18
    frame #6: 0x000000010004f424 emacs`redisplay_internal at xdisp.c:17480:16
    frame #7: 0x0000000100055ef8 emacs`redisplay at xdisp.c:16575:3
    frame #8: 0x0000000100161e74 emacs`read_char(commandflag=1, map=0x000000013004cd23, prev_event=0x0000000000000000, used_mouse_menu=0x000000016fdfe807, end_time=0x0000000000000000) at keyboard.c:2678:6
    frame #9: 0x000000010015ea30 emacs`read_key_sequence(keybuf=0x000000016fdfebe8, prompt=0x0000000000000000, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at keyboard.c:10743:12
    frame #10: 0x000000010015cdf8 emacs`command_loop_1 at keyboard.c:1429:15
    frame #11: 0x000000010024923c emacs`internal_condition_case(bfun=(emacs`command_loop_1 at keyboard.c:1324), handlers=0x0000000000000090, hfun=(emacs`cmd_error at keyboard.c:970)) at eval.c:1613:25
    frame #12: 0x000000010015c8c4 emacs`command_loop_2(handlers=0x0000000000000090) at keyboard.c:1168:11
    frame #13: 0x00000001002484d4 emacs`internal_catch(tag=0x0000000000011220, func=(emacs`command_loop_2 at keyboard.c:1164), arg=0x0000000000000090) at eval.c:1292:25
    frame #14: 0x000000010015bc10 emacs`command_loop at keyboard.c:1146:2
    frame #15: 0x000000010015b9fc emacs`recursive_edit_1 at keyboard.c:754:9
    frame #16: 0x000000010015bee8 emacs`Frecursive_edit at keyboard.c:837:3
    frame #17: 0x0000000100158ac8 emacs`main(argc=4, argv=0x000000016fdff4b0) at emacs.c:2624:3
    frame #18: 0x00000001849560e0 dyld`start + 2360
(lldb) c
Process 7616 resuming
Process 7616 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e0166d0, glyph_row=0x000000011e91fd00, x=28, y=42, cursor_type=FILLED_BOX_CURSOR, cursor_width=1, on_p=true, active_p=true) at nsterm.m:3045:25
   3042	  if (!on_p)
   3043	    return;
   3044
-> 3045	  w->phys_cursor_type = cursor_type;
   3046	  w->phys_cursor_on_p = on_p;
   3047
   3048	  if (cursor_type == NO_CURSOR)
Target 0: (emacs) stopped.
(lldb) 7
error: '7' is not a valid command.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
  * frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e0166d0, glyph_row=0x000000011e91fd00, x=28, y=42, cursor_type=FILLED_BOX_CURSOR, cursor_width=1, on_p=true, active_p=true) at nsterm.m:3045:25
    frame #1: 0x000000010007035c emacs`display_and_set_cursor(w=0x000000011e0166d0, on=true, hpos=4, vpos=3, x=28, y=42) at xdisp.c:34205:5
    frame #2: 0x0000000100070d24 emacs`update_window_cursor(w=0x000000011e0166d0, on=true) at xdisp.c:34240:7
    frame #3: 0x0000000100070b1c emacs`update_cursor_in_window_tree(w=0x000000011e0166d0, on_p=true) at xdisp.c:34258:2
    frame #4: 0x0000000100070aa0 emacs`gui_update_cursor(f=0x000000011e016480, on_p=true) at xdisp.c:34272:3
    frame #5: 0x0000000100344638 emacs`ns_frame_rehighlight(frame=0x000000011e016480) at nsterm.m:1486:11
    frame #6: 0x0000000100344468 emacs`-[EmacsView windowDidBecomeKey](self=0x000000011b1114a0, _cmd="windowDidBecomeKey") at nsterm.m:7935:3
    frame #7: 0x00000001003443a8 emacs`-[EmacsView windowDidBecomeKey:](self=0x000000011b1114a0, _cmd="windowDidBecomeKey:", notification=@"NSWindowDidBecomeKeyNotification") at nsterm.m:7918:3
    frame #8: 0x0000000184db3144 CoreFoundation`__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
    frame #9: 0x0000000184e473d8 CoreFoundation`___CFXRegistrationPost_block_invoke + 88
    frame #10: 0x0000000184e47320 CoreFoundation`_CFXRegistrationPost + 440
    frame #11: 0x0000000184d81678 CoreFoundation`_CFXNotificationPost + 768
    frame #12: 0x0000000185e9e4e4 Foundation`-[NSNotificationCenter postNotificationName:object:userInfo:] + 88
    frame #13: 0x000000018877062c AppKit`-[NSWindow becomeKeyWindow] + 844
    frame #14: 0x000000018876f55c AppKit`_NXShowKeyAndMain + 132
    frame #15: 0x000000018876d924 AppKit`-[NSApplication _handleActivatedEvent:] + 1332
    frame #16: 0x0000000188e108d8 AppKit`-[NSApplication(NSEventRouting) sendEvent:] + 1780
    frame #17: 0x000000010033bcd8 emacs`-[EmacsApp sendEvent:](self=0x000000013a61f360, _cmd="sendEvent:", theEvent=0x0000600000c7c240) at nsterm.m:6073:3
    frame #18: 0x0000000188a5e89c AppKit`-[NSApplication _handleEvent:] + 60
    frame #19: 0x000000018860f0c0 AppKit`-[NSApplication run] + 512
    frame #20: 0x000000010033b838 emacs`-[EmacsApp run](self=0x000000013a61f360, _cmd="run") at nsterm.m:5942:7
    frame #21: 0x00000001003560b0 emacs`ns_read_socket_1(terminal=0x000000012a834c10, hold_quit=0x000000016fdfaf70, no_release=NO) at nsterm.m:4816:11
    frame #22: 0x000000010034fa18 emacs`ns_read_socket(terminal=0x000000012a834c10, hold_quit=0x000000016fdfaf70) at nsterm.m:4834:10
    frame #23: 0x000000010016a6dc emacs`gobble_input at keyboard.c:7919:17
    frame #24: 0x000000010016ae10 emacs`handle_async_input at keyboard.c:8158:19
    frame #25: 0x000000010016adf0 emacs`process_pending_signals at keyboard.c:8172:3
    frame #26: 0x000000010016ae9c emacs`unblock_input_to(level=0) at keyboard.c:8187:2
    frame #27: 0x00000001001683a8 emacs`unblock_input at keyboard.c:8206:3
    frame #28: 0x0000000100007504 emacs`gui_update_window_end(w=0x000000011e0166d0, cursor_on_p=true, mouse_face_overwritten_p=false) at dispnew.c:3955:7
    frame #29: 0x000000010000603c emacs`update_window(w=0x000000011e0166d0, force_p=true) at dispnew.c:3869:7
    frame #30: 0x00000001000061c0 emacs`update_window_tree(w=0x000000011e0166d0, force_p=true) at dispnew.c:3491:14
    frame #31: 0x00000001000053a0 emacs`update_frame(f=0x000000011e016480, force_p=true, inhibit_hairy_id_p=false) at dispnew.c:3326:18
    frame #32: 0x000000010004f424 emacs`redisplay_internal at xdisp.c:17480:16
    frame #33: 0x0000000100055ef8 emacs`redisplay at xdisp.c:16575:3
    frame #34: 0x0000000100161e74 emacs`read_char(commandflag=1, map=0x000000013004cd23, prev_event=0x0000000000000000, used_mouse_menu=0x000000016fdfe807, end_time=0x0000000000000000) at keyboard.c:2678:6
    frame #35: 0x000000010015ea30 emacs`read_key_sequence(keybuf=0x000000016fdfebe8, prompt=0x0000000000000000, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at keyboard.c:10743:12
    frame #36: 0x000000010015cdf8 emacs`command_loop_1 at keyboard.c:1429:15
    frame #37: 0x000000010024923c emacs`internal_condition_case(bfun=(emacs`command_loop_1 at keyboard.c:1324), handlers=0x0000000000000090, hfun=(emacs`cmd_error at keyboard.c:970)) at eval.c:1613:25
    frame #38: 0x000000010015c8c4 emacs`command_loop_2(handlers=0x0000000000000090) at keyboard.c:1168:11
    frame #39: 0x00000001002484d4 emacs`internal_catch(tag=0x0000000000011220, func=(emacs`command_loop_2 at keyboard.c:1164), arg=0x0000000000000090) at eval.c:1292:25
    frame #40: 0x000000010015bc10 emacs`command_loop at keyboard.c:1146:2
    frame #41: 0x000000010015b9fc emacs`recursive_edit_1 at keyboard.c:754:9
    frame #42: 0x000000010015bee8 emacs`Frecursive_edit at keyboard.c:837:3
    frame #43: 0x0000000100158ac8 emacs`main(argc=4, argv=0x000000016fdff4b0) at emacs.c:2624:3
    frame #44: 0x00000001849560e0 dyld`start + 2360
(lldb) c
Process 7616 resuming
Process 7616 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e016978, glyph_row=0x000000011e81f000, x=0, y=0, cursor_type=NO_CURSOR, cursor_width=0, on_p=true, active_p=false) at nsterm.m:3045:25
   3042	  if (!on_p)
   3043	    return;
   3044
-> 3045	  w->phys_cursor_type = cursor_type;
   3046	  w->phys_cursor_on_p = on_p;
   3047
   3048	  if (cursor_type == NO_CURSOR)
Target 0: (emacs) stopped.
(lldb) 8
error: '8' is not a valid command.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
  * frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e016978, glyph_row=0x000000011e81f000, x=0, y=0, cursor_type=NO_CURSOR, cursor_width=0, on_p=true, active_p=false) at nsterm.m:3045:25
    frame #1: 0x000000010007035c emacs`display_and_set_cursor(w=0x000000011e016978, on=true, hpos=0, vpos=0, x=0, y=0) at xdisp.c:34205:5
    frame #2: 0x0000000100070d24 emacs`update_window_cursor(w=0x000000011e016978, on=true) at xdisp.c:34240:7
    frame #3: 0x0000000100070b1c emacs`update_cursor_in_window_tree(w=0x000000011e016978, on_p=true) at xdisp.c:34258:2
    frame #4: 0x0000000100070aa0 emacs`gui_update_cursor(f=0x000000011e016480, on_p=true) at xdisp.c:34272:3
    frame #5: 0x0000000100344638 emacs`ns_frame_rehighlight(frame=0x000000011e016480) at nsterm.m:1486:11
    frame #6: 0x0000000100344468 emacs`-[EmacsView windowDidBecomeKey](self=0x000000011b1114a0, _cmd="windowDidBecomeKey") at nsterm.m:7935:3
    frame #7: 0x00000001003443a8 emacs`-[EmacsView windowDidBecomeKey:](self=0x000000011b1114a0, _cmd="windowDidBecomeKey:", notification=@"NSWindowDidBecomeKeyNotification") at nsterm.m:7918:3
    frame #8: 0x0000000184db3144 CoreFoundation`__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
    frame #9: 0x0000000184e473d8 CoreFoundation`___CFXRegistrationPost_block_invoke + 88
    frame #10: 0x0000000184e47320 CoreFoundation`_CFXRegistrationPost + 440
    frame #11: 0x0000000184d81678 CoreFoundation`_CFXNotificationPost + 768
    frame #12: 0x0000000185e9e4e4 Foundation`-[NSNotificationCenter postNotificationName:object:userInfo:] + 88
    frame #13: 0x000000018877062c AppKit`-[NSWindow becomeKeyWindow] + 844
    frame #14: 0x000000018876f55c AppKit`_NXShowKeyAndMain + 132
    frame #15: 0x000000018876d924 AppKit`-[NSApplication _handleActivatedEvent:] + 1332
    frame #16: 0x0000000188e108d8 AppKit`-[NSApplication(NSEventRouting) sendEvent:] + 1780
    frame #17: 0x000000010033bcd8 emacs`-[EmacsApp sendEvent:](self=0x000000013a61f360, _cmd="sendEvent:", theEvent=0x0000600000c7c240) at nsterm.m:6073:3
    frame #18: 0x0000000188a5e89c AppKit`-[NSApplication _handleEvent:] + 60
    frame #19: 0x000000018860f0c0 AppKit`-[NSApplication run] + 512
    frame #20: 0x000000010033b838 emacs`-[EmacsApp run](self=0x000000013a61f360, _cmd="run") at nsterm.m:5942:7
    frame #21: 0x00000001003560b0 emacs`ns_read_socket_1(terminal=0x000000012a834c10, hold_quit=0x000000016fdfaf70, no_release=NO) at nsterm.m:4816:11
    frame #22: 0x000000010034fa18 emacs`ns_read_socket(terminal=0x000000012a834c10, hold_quit=0x000000016fdfaf70) at nsterm.m:4834:10
    frame #23: 0x000000010016a6dc emacs`gobble_input at keyboard.c:7919:17
    frame #24: 0x000000010016ae10 emacs`handle_async_input at keyboard.c:8158:19
    frame #25: 0x000000010016adf0 emacs`process_pending_signals at keyboard.c:8172:3
    frame #26: 0x000000010016ae9c emacs`unblock_input_to(level=0) at keyboard.c:8187:2
    frame #27: 0x00000001001683a8 emacs`unblock_input at keyboard.c:8206:3
    frame #28: 0x0000000100007504 emacs`gui_update_window_end(w=0x000000011e0166d0, cursor_on_p=true, mouse_face_overwritten_p=false) at dispnew.c:3955:7
    frame #29: 0x000000010000603c emacs`update_window(w=0x000000011e0166d0, force_p=true) at dispnew.c:3869:7
    frame #30: 0x00000001000061c0 emacs`update_window_tree(w=0x000000011e0166d0, force_p=true) at dispnew.c:3491:14
    frame #31: 0x00000001000053a0 emacs`update_frame(f=0x000000011e016480, force_p=true, inhibit_hairy_id_p=false) at dispnew.c:3326:18
    frame #32: 0x000000010004f424 emacs`redisplay_internal at xdisp.c:17480:16
    frame #33: 0x0000000100055ef8 emacs`redisplay at xdisp.c:16575:3
    frame #34: 0x0000000100161e74 emacs`read_char(commandflag=1, map=0x000000013004cd23, prev_event=0x0000000000000000, used_mouse_menu=0x000000016fdfe807, end_time=0x0000000000000000) at keyboard.c:2678:6
    frame #35: 0x000000010015ea30 emacs`read_key_sequence(keybuf=0x000000016fdfebe8, prompt=0x0000000000000000, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at keyboard.c:10743:12
    frame #36: 0x000000010015cdf8 emacs`command_loop_1 at keyboard.c:1429:15
    frame #37: 0x000000010024923c emacs`internal_condition_case(bfun=(emacs`command_loop_1 at keyboard.c:1324), handlers=0x0000000000000090, hfun=(emacs`cmd_error at keyboard.c:970)) at eval.c:1613:25
    frame #38: 0x000000010015c8c4 emacs`command_loop_2(handlers=0x0000000000000090) at keyboard.c:1168:11
    frame #39: 0x00000001002484d4 emacs`internal_catch(tag=0x0000000000011220, func=(emacs`command_loop_2 at keyboard.c:1164), arg=0x0000000000000090) at eval.c:1292:25
    frame #40: 0x000000010015bc10 emacs`command_loop at keyboard.c:1146:2
    frame #41: 0x000000010015b9fc emacs`recursive_edit_1 at keyboard.c:754:9
    frame #42: 0x000000010015bee8 emacs`Frecursive_edit at keyboard.c:837:3
    frame #43: 0x0000000100158ac8 emacs`main(argc=4, argv=0x000000016fdff4b0) at emacs.c:2624:3
    frame #44: 0x00000001849560e0 dyld`start + 2360
(lldb) c
Process 7616 resuming
2024-07-22 01:54:26.708313+0300 emacs[7616:3253530] [CursorUI] -[TUINSCursorUIController activate:]: EmacsView doesn't conform to NSTextInputClient protocol.
Process 7616 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e0166d0, glyph_row=0x000000011e91fd00, x=28, y=42, cursor_type=HOLLOW_BOX_CURSOR, cursor_width=1, on_p=true, active_p=false) at nsterm.m:3045:25
   3042	  if (!on_p)
   3043	    return;
   3044
-> 3045	  w->phys_cursor_type = cursor_type;
   3046	  w->phys_cursor_on_p = on_p;
   3047
   3048	  if (cursor_type == NO_CURSOR)
Target 0: (emacs) stopped.
(lldb) 9
error: '9' is not a valid command.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
  * frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e0166d0, glyph_row=0x000000011e91fd00, x=28, y=42, cursor_type=HOLLOW_BOX_CURSOR, cursor_width=1, on_p=true, active_p=false) at nsterm.m:3045:25
    frame #1: 0x000000010007035c emacs`display_and_set_cursor(w=0x000000011e0166d0, on=true, hpos=4, vpos=3, x=28, y=42) at xdisp.c:34205:5
    frame #2: 0x0000000100070d24 emacs`update_window_cursor(w=0x000000011e0166d0, on=true) at xdisp.c:34240:7
    frame #3: 0x0000000100070b1c emacs`update_cursor_in_window_tree(w=0x000000011e0166d0, on_p=true) at xdisp.c:34258:2
    frame #4: 0x0000000100070aa0 emacs`gui_update_cursor(f=0x000000011e016480, on_p=true) at xdisp.c:34272:3
    frame #5: 0x0000000100344770 emacs`-[EmacsView windowDidResignKey:](self=0x000000011b1114a0, _cmd="windowDidResignKey:", notification=@"NSWindowDidResignKeyNotification") at nsterm.m:7960:7
    frame #6: 0x0000000184db3144 CoreFoundation`__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
    frame #7: 0x0000000184e473d8 CoreFoundation`___CFXRegistrationPost_block_invoke + 88
    frame #8: 0x0000000184e47320 CoreFoundation`_CFXRegistrationPost + 440
    frame #9: 0x0000000184d81678 CoreFoundation`_CFXNotificationPost + 768
    frame #10: 0x0000000185e9e4e4 Foundation`-[NSNotificationCenter postNotificationName:object:userInfo:] + 88
    frame #11: 0x00000001887776fc AppKit`-[NSWindow resignKeyWindow] + 640
    frame #12: 0x00000001887773e4 AppKit`_NXEndKeyAndMain + 128
    frame #13: 0x00000001887764ec AppKit`-[NSApplication _handleDeactivateEvent:] + 724
    frame #14: 0x0000000188e106b8 AppKit`-[NSApplication(NSEventRouting) sendEvent:] + 1236
    frame #15: 0x000000010033bcd8 emacs`-[EmacsApp sendEvent:](self=0x000000013a61f360, _cmd="sendEvent:", theEvent=0x0000600000c74540) at nsterm.m:6073:3
    frame #16: 0x0000000188a5e89c AppKit`-[NSApplication _handleEvent:] + 60
    frame #17: 0x000000018860f0c0 AppKit`-[NSApplication run] + 512
    frame #18: 0x000000010033b838 emacs`-[EmacsApp run](self=0x000000013a61f360, _cmd="run") at nsterm.m:5942:7
    frame #19: 0x00000001003560b0 emacs`ns_read_socket_1(terminal=0x000000012a834c10, hold_quit=0x000000016fdfaf70, no_release=NO) at nsterm.m:4816:11
    frame #20: 0x000000010034fa18 emacs`ns_read_socket(terminal=0x000000012a834c10, hold_quit=0x000000016fdfaf70) at nsterm.m:4834:10
    frame #21: 0x000000010016a6dc emacs`gobble_input at keyboard.c:7919:17
    frame #22: 0x000000010016ae10 emacs`handle_async_input at keyboard.c:8158:19
    frame #23: 0x000000010016adf0 emacs`process_pending_signals at keyboard.c:8172:3
    frame #24: 0x000000010016ae9c emacs`unblock_input_to(level=0) at keyboard.c:8187:2
    frame #25: 0x00000001001683a8 emacs`unblock_input at keyboard.c:8206:3
    frame #26: 0x0000000100007504 emacs`gui_update_window_end(w=0x000000011e0166d0, cursor_on_p=true, mouse_face_overwritten_p=false) at dispnew.c:3955:7
    frame #27: 0x000000010000603c emacs`update_window(w=0x000000011e0166d0, force_p=true) at dispnew.c:3869:7
    frame #28: 0x00000001000061c0 emacs`update_window_tree(w=0x000000011e0166d0, force_p=true) at dispnew.c:3491:14
    frame #29: 0x00000001000053a0 emacs`update_frame(f=0x000000011e016480, force_p=true, inhibit_hairy_id_p=false) at dispnew.c:3326:18
    frame #30: 0x000000010004f424 emacs`redisplay_internal at xdisp.c:17480:16
    frame #31: 0x0000000100055ef8 emacs`redisplay at xdisp.c:16575:3
    frame #32: 0x0000000100161e74 emacs`read_char(commandflag=1, map=0x000000013004cd23, prev_event=0x0000000000000000, used_mouse_menu=0x000000016fdfe807, end_time=0x0000000000000000) at keyboard.c:2678:6
    frame #33: 0x000000010015ea30 emacs`read_key_sequence(keybuf=0x000000016fdfebe8, prompt=0x0000000000000000, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at keyboard.c:10743:12
    frame #34: 0x000000010015cdf8 emacs`command_loop_1 at keyboard.c:1429:15
    frame #35: 0x000000010024923c emacs`internal_condition_case(bfun=(emacs`command_loop_1 at keyboard.c:1324), handlers=0x0000000000000090, hfun=(emacs`cmd_error at keyboard.c:970)) at eval.c:1613:25
    frame #36: 0x000000010015c8c4 emacs`command_loop_2(handlers=0x0000000000000090) at keyboard.c:1168:11
    frame #37: 0x00000001002484d4 emacs`internal_catch(tag=0x0000000000011220, func=(emacs`command_loop_2 at keyboard.c:1164), arg=0x0000000000000090) at eval.c:1292:25
    frame #38: 0x000000010015bc10 emacs`command_loop at keyboard.c:1146:2
    frame #39: 0x000000010015b9fc emacs`recursive_edit_1 at keyboard.c:754:9
    frame #40: 0x000000010015bee8 emacs`Frecursive_edit at keyboard.c:837:3
    frame #41: 0x0000000100158ac8 emacs`main(argc=4, argv=0x000000016fdff4b0) at emacs.c:2624:3
    frame #42: 0x00000001849560e0 dyld`start + 2360
(lldb) c
Process 7616 resuming
Process 7616 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e016978, glyph_row=0x000000011e81f000, x=0, y=0, cursor_type=NO_CURSOR, cursor_width=0, on_p=true, active_p=false) at nsterm.m:3045:25
   3042	  if (!on_p)
   3043	    return;
   3044
-> 3045	  w->phys_cursor_type = cursor_type;
   3046	  w->phys_cursor_on_p = on_p;
   3047
   3048	  if (cursor_type == NO_CURSOR)
Target 0: (emacs) stopped.
(lldb) 10
error: '10' is not a valid command.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
  * frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e016978, glyph_row=0x000000011e81f000, x=0, y=0, cursor_type=NO_CURSOR, cursor_width=0, on_p=true, active_p=false) at nsterm.m:3045:25
    frame #1: 0x000000010007035c emacs`display_and_set_cursor(w=0x000000011e016978, on=true, hpos=0, vpos=0, x=0, y=0) at xdisp.c:34205:5
    frame #2: 0x0000000100070d24 emacs`update_window_cursor(w=0x000000011e016978, on=true) at xdisp.c:34240:7
    frame #3: 0x0000000100070b1c emacs`update_cursor_in_window_tree(w=0x000000011e016978, on_p=true) at xdisp.c:34258:2
    frame #4: 0x0000000100070aa0 emacs`gui_update_cursor(f=0x000000011e016480, on_p=true) at xdisp.c:34272:3
    frame #5: 0x0000000100344770 emacs`-[EmacsView windowDidResignKey:](self=0x000000011b1114a0, _cmd="windowDidResignKey:", notification=@"NSWindowDidResignKeyNotification") at nsterm.m:7960:7
    frame #6: 0x0000000184db3144 CoreFoundation`__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
    frame #7: 0x0000000184e473d8 CoreFoundation`___CFXRegistrationPost_block_invoke + 88
    frame #8: 0x0000000184e47320 CoreFoundation`_CFXRegistrationPost + 440
    frame #9: 0x0000000184d81678 CoreFoundation`_CFXNotificationPost + 768
    frame #10: 0x0000000185e9e4e4 Foundation`-[NSNotificationCenter postNotificationName:object:userInfo:] + 88
    frame #11: 0x00000001887776fc AppKit`-[NSWindow resignKeyWindow] + 640
    frame #12: 0x00000001887773e4 AppKit`_NXEndKeyAndMain + 128
    frame #13: 0x00000001887764ec AppKit`-[NSApplication _handleDeactivateEvent:] + 724
    frame #14: 0x0000000188e106b8 AppKit`-[NSApplication(NSEventRouting) sendEvent:] + 1236
    frame #15: 0x000000010033bcd8 emacs`-[EmacsApp sendEvent:](self=0x000000013a61f360, _cmd="sendEvent:", theEvent=0x0000600000c74540) at nsterm.m:6073:3
    frame #16: 0x0000000188a5e89c AppKit`-[NSApplication _handleEvent:] + 60
    frame #17: 0x000000018860f0c0 AppKit`-[NSApplication run] + 512
    frame #18: 0x000000010033b838 emacs`-[EmacsApp run](self=0x000000013a61f360, _cmd="run") at nsterm.m:5942:7
    frame #19: 0x00000001003560b0 emacs`ns_read_socket_1(terminal=0x000000012a834c10, hold_quit=0x000000016fdfaf70, no_release=NO) at nsterm.m:4816:11
    frame #20: 0x000000010034fa18 emacs`ns_read_socket(terminal=0x000000012a834c10, hold_quit=0x000000016fdfaf70) at nsterm.m:4834:10
    frame #21: 0x000000010016a6dc emacs`gobble_input at keyboard.c:7919:17
    frame #22: 0x000000010016ae10 emacs`handle_async_input at keyboard.c:8158:19
    frame #23: 0x000000010016adf0 emacs`process_pending_signals at keyboard.c:8172:3
    frame #24: 0x000000010016ae9c emacs`unblock_input_to(level=0) at keyboard.c:8187:2
    frame #25: 0x00000001001683a8 emacs`unblock_input at keyboard.c:8206:3
    frame #26: 0x0000000100007504 emacs`gui_update_window_end(w=0x000000011e0166d0, cursor_on_p=true, mouse_face_overwritten_p=false) at dispnew.c:3955:7
    frame #27: 0x000000010000603c emacs`update_window(w=0x000000011e0166d0, force_p=true) at dispnew.c:3869:7
    frame #28: 0x00000001000061c0 emacs`update_window_tree(w=0x000000011e0166d0, force_p=true) at dispnew.c:3491:14
    frame #29: 0x00000001000053a0 emacs`update_frame(f=0x000000011e016480, force_p=true, inhibit_hairy_id_p=false) at dispnew.c:3326:18
    frame #30: 0x000000010004f424 emacs`redisplay_internal at xdisp.c:17480:16
    frame #31: 0x0000000100055ef8 emacs`redisplay at xdisp.c:16575:3
    frame #32: 0x0000000100161e74 emacs`read_char(commandflag=1, map=0x000000013004cd23, prev_event=0x0000000000000000, used_mouse_menu=0x000000016fdfe807, end_time=0x0000000000000000) at keyboard.c:2678:6
    frame #33: 0x000000010015ea30 emacs`read_key_sequence(keybuf=0x000000016fdfebe8, prompt=0x0000000000000000, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at keyboard.c:10743:12
    frame #34: 0x000000010015cdf8 emacs`command_loop_1 at keyboard.c:1429:15
    frame #35: 0x000000010024923c emacs`internal_condition_case(bfun=(emacs`command_loop_1 at keyboard.c:1324), handlers=0x0000000000000090, hfun=(emacs`cmd_error at keyboard.c:970)) at eval.c:1613:25
    frame #36: 0x000000010015c8c4 emacs`command_loop_2(handlers=0x0000000000000090) at keyboard.c:1168:11
    frame #37: 0x00000001002484d4 emacs`internal_catch(tag=0x0000000000011220, func=(emacs`command_loop_2 at keyboard.c:1164), arg=0x0000000000000090) at eval.c:1292:25
    frame #38: 0x000000010015bc10 emacs`command_loop at keyboard.c:1146:2
    frame #39: 0x000000010015b9fc emacs`recursive_edit_1 at keyboard.c:754:9
    frame #40: 0x000000010015bee8 emacs`Frecursive_edit at keyboard.c:837:3
    frame #41: 0x0000000100158ac8 emacs`main(argc=4, argv=0x000000016fdff4b0) at emacs.c:2624:3
    frame #42: 0x00000001849560e0 dyld`start + 2360
(lldb) c
Process 7616 resuming
Process 7616 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e016978, glyph_row=0x000000011e81f000, x=0, y=0, cursor_type=NO_CURSOR, cursor_width=0, on_p=true, active_p=false) at nsterm.m:3045:25
   3042	  if (!on_p)
   3043	    return;
   3044
-> 3045	  w->phys_cursor_type = cursor_type;
   3046	  w->phys_cursor_on_p = on_p;
   3047
   3048	  if (cursor_type == NO_CURSOR)
Target 0: (emacs) stopped.
(lldb) 11
error: '11' is not a valid command.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
  * frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e016978, glyph_row=0x000000011e81f000, x=0, y=0, cursor_type=NO_CURSOR, cursor_width=0, on_p=true, active_p=false) at nsterm.m:3045:25
    frame #1: 0x000000010007035c emacs`display_and_set_cursor(w=0x000000011e016978, on=true, hpos=0, vpos=0, x=0, y=0) at xdisp.c:34205:5
    frame #2: 0x000000010000740c emacs`gui_update_window_end(w=0x000000011e016978, cursor_on_p=true, mouse_face_overwritten_p=false) at dispnew.c:3941:2
    frame #3: 0x000000010000603c emacs`update_window(w=0x000000011e016978, force_p=true) at dispnew.c:3869:7
    frame #4: 0x00000001000061c0 emacs`update_window_tree(w=0x000000011e016978, force_p=true) at dispnew.c:3491:14
    frame #5: 0x00000001000053a0 emacs`update_frame(f=0x000000011e016480, force_p=true, inhibit_hairy_id_p=false) at dispnew.c:3326:18
    frame #6: 0x000000010004f424 emacs`redisplay_internal at xdisp.c:17480:16
    frame #7: 0x0000000100055ef8 emacs`redisplay at xdisp.c:16575:3
    frame #8: 0x0000000100161e74 emacs`read_char(commandflag=1, map=0x000000013004cd23, prev_event=0x0000000000000000, used_mouse_menu=0x000000016fdfe807, end_time=0x0000000000000000) at keyboard.c:2678:6
    frame #9: 0x000000010015ea30 emacs`read_key_sequence(keybuf=0x000000016fdfebe8, prompt=0x0000000000000000, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at keyboard.c:10743:12
    frame #10: 0x000000010015cdf8 emacs`command_loop_1 at keyboard.c:1429:15
    frame #11: 0x000000010024923c emacs`internal_condition_case(bfun=(emacs`command_loop_1 at keyboard.c:1324), handlers=0x0000000000000090, hfun=(emacs`cmd_error at keyboard.c:970)) at eval.c:1613:25
    frame #12: 0x000000010015c8c4 emacs`command_loop_2(handlers=0x0000000000000090) at keyboard.c:1168:11
    frame #13: 0x00000001002484d4 emacs`internal_catch(tag=0x0000000000011220, func=(emacs`command_loop_2 at keyboard.c:1164), arg=0x0000000000000090) at eval.c:1292:25
    frame #14: 0x000000010015bc10 emacs`command_loop at keyboard.c:1146:2
    frame #15: 0x000000010015b9fc emacs`recursive_edit_1 at keyboard.c:754:9
    frame #16: 0x000000010015bee8 emacs`Frecursive_edit at keyboard.c:837:3
    frame #17: 0x0000000100158ac8 emacs`main(argc=4, argv=0x000000016fdff4b0) at emacs.c:2624:3
    frame #18: 0x00000001849560e0 dyld`start + 2360
(lldb) c
Process 7616 resuming
Process 7616 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e016978, glyph_row=0x000000011e81f000, x=0, y=0, cursor_type=NO_CURSOR, cursor_width=0, on_p=true, active_p=false) at nsterm.m:3045:25
   3042	  if (!on_p)
   3043	    return;
   3044
-> 3045	  w->phys_cursor_type = cursor_type;
   3046	  w->phys_cursor_on_p = on_p;
   3047
   3048	  if (cursor_type == NO_CURSOR)
Target 0: (emacs) stopped.
(lldb) 12
error: '12' is not a valid command.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
  * frame #0: 0x0000000100354f44 emacs`ns_draw_window_cursor(w=0x000000011e016978, glyph_row=0x000000011e81f000, x=0, y=0, cursor_type=NO_CURSOR, cursor_width=0, on_p=true, active_p=false) at nsterm.m:3045:25
    frame #1: 0x000000010007035c emacs`display_and_set_cursor(w=0x000000011e016978, on=true, hpos=0, vpos=0, x=0, y=0) at xdisp.c:34205:5
    frame #2: 0x000000010000740c emacs`gui_update_window_end(w=0x000000011e016978, cursor_on_p=true, mouse_face_overwritten_p=false) at dispnew.c:3941:2
    frame #3: 0x000000010000603c emacs`update_window(w=0x000000011e016978, force_p=true) at dispnew.c:3869:7
    frame #4: 0x00000001000061c0 emacs`update_window_tree(w=0x000000011e016978, force_p=true) at dispnew.c:3491:14
    frame #5: 0x00000001000053a0 emacs`update_frame(f=0x000000011e016480, force_p=true, inhibit_hairy_id_p=false) at dispnew.c:3326:18
    frame #6: 0x000000010004f424 emacs`redisplay_internal at xdisp.c:17480:16
    frame #7: 0x0000000100055ef8 emacs`redisplay at xdisp.c:16575:3
    frame #8: 0x0000000100161e74 emacs`read_char(commandflag=1, map=0x000000013004cd23, prev_event=0x0000000000000000, used_mouse_menu=0x000000016fdfe807, end_time=0x0000000000000000) at keyboard.c:2678:6
    frame #9: 0x000000010015ea30 emacs`read_key_sequence(keybuf=0x000000016fdfebe8, prompt=0x0000000000000000, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at keyboard.c:10743:12
    frame #10: 0x000000010015cdf8 emacs`command_loop_1 at keyboard.c:1429:15
    frame #11: 0x000000010024923c emacs`internal_condition_case(bfun=(emacs`command_loop_1 at keyboard.c:1324), handlers=0x0000000000000090, hfun=(emacs`cmd_error at keyboard.c:970)) at eval.c:1613:25
    frame #12: 0x000000010015c8c4 emacs`command_loop_2(handlers=0x0000000000000090) at keyboard.c:1168:11
    frame #13: 0x00000001002484d4 emacs`internal_catch(tag=0x0000000000011220, func=(emacs`command_loop_2 at keyboard.c:1164), arg=0x0000000000000090) at eval.c:1292:25
    frame #14: 0x000000010015bc10 emacs`command_loop at keyboard.c:1146:2
    frame #15: 0x000000010015b9fc emacs`recursive_edit_1 at keyboard.c:754:9
    frame #16: 0x000000010015bee8 emacs`Frecursive_edit at keyboard.c:837:3
    frame #17: 0x0000000100158ac8 emacs`main(argc=4, argv=0x000000016fdff4b0) at emacs.c:2624:3
    frame #18: 0x00000001849560e0 dyld`start + 2360
(lldb) c
Process 7616 resuming

  reply	other threads:[~2024-07-21 23:58 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-01  3:14 bug#71866: 30.0.50; [macOS] Cursor hiding char behind it with certain theme customization Dmitry Gutov
2024-07-01 11:36 ` Eli Zaretskii
2024-07-02  1:07   ` Dmitry Gutov
2024-07-06  8:56     ` Eli Zaretskii
2024-07-09  2:37       ` Dmitry Gutov
2024-07-09 11:31         ` Eli Zaretskii
2024-07-10  2:46           ` Dmitry Gutov
2024-07-10 11:58             ` Eli Zaretskii
2024-07-19  1:57               ` Dmitry Gutov
2024-07-20  8:30                 ` Eli Zaretskii
2024-07-20 15:46                   ` Dmitry Gutov
2024-07-20 16:03                     ` Eli Zaretskii
2024-07-21  0:53                       ` Dmitry Gutov
2024-07-21  7:20                         ` Eli Zaretskii
2024-07-21  9:04                           ` Eli Zaretskii
2024-07-21 23:22                             ` Dmitry Gutov
2024-07-21 13:50                           ` Dmitry Gutov
2024-07-21 14:55                             ` Eli Zaretskii
2024-07-21 23:58                               ` Dmitry Gutov [this message]
2024-07-22 14:45                                 ` Eli Zaretskii
2024-07-22 15:27                                   ` Alan Third
2024-07-22 16:02                                     ` Alan Third
2024-07-23  1:11                                       ` Dmitry Gutov
2024-07-23 11:19                                         ` Eli Zaretskii
2024-07-24  0:48                                           ` Dmitry Gutov
2024-07-24 11:32                                             ` Eli Zaretskii
2024-07-24 14:34                                               ` Dmitry Gutov
2024-07-24 16:29                                                 ` Eli Zaretskii
2024-07-24 19:22                                                   ` Dmitry Gutov
2024-07-24 20:08                                                     ` Dmitry Gutov
2024-07-25  5:01                                                     ` Eli Zaretskii
2024-07-25 16:14                                                       ` Dmitry Gutov
2024-07-22 16:10                                     ` Eli Zaretskii
2024-07-22 19:02                                       ` Alan Third
2024-07-22 19:15                                         ` Eli Zaretskii
2024-07-22 19:47                                           ` Alan Third
2024-07-23  1:06                                   ` Dmitry Gutov
2024-07-23 11:17                                     ` Eli Zaretskii
2024-07-02 23:42 ` Stefan Kangas
2024-07-07  2:03   ` Dmitry Gutov
2024-07-09 18:22     ` Stefan Kangas
2024-07-10  2:56       ` Dmitry Gutov
2024-07-23  7:40         ` Gerd Möllmann
2024-07-24  0:56           ` Dmitry Gutov
2024-07-24  3:48             ` Gerd Möllmann
2024-07-24 19:16               ` Dmitry Gutov
2024-07-25  3:03                 ` Gerd Möllmann
2024-07-25  5:39                   ` Eli Zaretskii
2024-07-25  5:58                     ` Gerd Möllmann
2024-07-25 14:46                   ` Dmitry Gutov

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7ae61592-8319-4b1a-b973-4015ff1db569@gutov.dev \
    --to=dmitry@gutov.dev \
    --cc=71866@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.