Skip to content

Kitty crashes on macOS Tahoe when full screen and when reconnecting monitor #8983

Closed

Description

@lrvdijk

Describe the bug
Kitty crashes on macOS 26 Tahoe when running full screen and when I reconnect my MacBook to an external monitor.

To Reproduce
Steps to reproduce the behavior:

  1. Have MacBook lid closed and connected to external monitor
  2. Start Kitty, enter full screen
  3. Disconnect MacBook from monitor
  4. Open MacBook Pro lid
  5. Be presented with a MacOs crash report of Kitty
MacOs crash report details
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process:             kitty [25238]
Path:                /Applications/kitty.app/Contents/MacOS/kitty
Identifier:          net.kovidgoyal.kitty
Version:             0.42.2 (0.42.2)
Code Type:           ARM-64 (Native)
Role:                Background
Parent Process:      launchd [1]
Coalition:           net.kovidgoyal.kitty [2091]
User ID:             501

Date/Time:           2025-09-17 10:08:17.6199 -0400
Launch Time:         2025-09-15 11:22:35.9666 -0400
Hardware Model:      Mac16,8
OS Version:          macOS 26.0 (25A353)
Release Type:        User

Crash Reporter Key:  9FA8134C-33D9-643A-7A1C-747C696E23D3
Incident Identifier: 22E841E8-447F-4549-93A8-A43ECD3C87C2

Sleep/Wake UUID:       FE2E70E9-90DB-4F37-A283-803ADCB3CC4F

Time Awake Since Boot: 370000 seconds
Time Since Wake:       3 seconds

System Integrity Protection: enabled

Triggered by Thread: 0

Exception Type:    EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000100002800
Exception Codes:   0x0000000000000001, 0x0000000100002800

Termination Reason:  Namespace SIGNAL, Code 11, Segmentation fault: 11
Terminating Process: exc handler [25238]


VM Region Info: 0x100002800 is not in any region.  Bytes before following region: 15308800
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      100e9c000-100ec0000    [  144K] r-x/r-x SM=COW  /Applications/kitty.app/Contents/MacOS/kitty

Thread 0 Crashed:
0   libsystem_platform.dylib      	       0x18daf2394 _platform_memmove + 52
1   AppKit                        	       0x192e8ba88 -[NSSoftwareSurface frontBuffer] + 576
2   AppKit                        	       0x192e8a510 -[NSCGLSurface flushRect:] + 512
3   AppKit                        	       0x192e8a260 NSCGLSurfaceFlush + 132
4   GLEngine                      	       0x1f29f8e40 glSwap_Exec + 256
5   OpenGL                        	       0x1f28026f8 CGLFlushDrawable + 64
6   AppKit                        	       0x1920a8e68 -[NSOpenGLContext flushBuffer] + 28
7   kitty.fast_data_types.so      	       0x105090244 0x105000000 + 590404
8   CoreFoundation                	       0x18db7e574 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
9   CoreFoundation                	       0x18dbe70c4 ___CFXRegistrationPost_block_invoke + 92
10  CoreFoundation                	       0x18dbe7008 _CFXRegistrationPost + 436
11  CoreFoundation                	       0x18db5d08c _CFXNotificationPost + 740
12  Foundation                    	       0x18fd663e0 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
13  AppKit                        	       0x192c04cdc -[NSWindow _setFrameCommon:display:fromServer:] + 2708
14  AppKit                        	       0x192e70d14 -[_NSFullScreenContentController reshapeContentForTileContentFrame:fromFrame:] + 688
15  AppKit                        	       0x192f6d394 -[_NSFullScreenSpace updateTileShapeAndReshapeContentsUsingTileFrame:ackServer:] + 200
16  AppKit                        	       0x192f6b07c __32+[_NSFullScreenSpace initialize]_block_invoke.9 + 132
17  AppKit                        	       0x1927b670c __47+[NSCGSSpace addTileResizeNotificationHandler:]_block_invoke + 232
18  CoreFoundation                	       0x18db7e560 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 128
19  CoreFoundation                	       0x18dbe70c4 ___CFXRegistrationPost_block_invoke + 92
20  CoreFoundation                	       0x18dbe7008 _CFXRegistrationPost + 436
21  CoreFoundation                	       0x18db5d08c _CFXNotificationPost + 740
22  Foundation                    	       0x18fd663e0 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
23  SkyLight                      	       0x194580ec0 post_coordinated_distributed_notification(CGSNotificationType, void*, unsigned int, void*) + 784
24  SkyLight                      	       0x19447a950 (anonymous namespace)::Callout::operator()(CGSNotificationType, void*, unsigned long) const + 100
25  SkyLight                      	       0x1942685e0 CGSPostLocalNotification + 184
26  SkyLight                      	       0x1942681bc (anonymous namespace)::notify_datagram_handler(unsigned int, CGSDatagramType, void*, unsigned long, void*) + 116
27  SkyLight                      	       0x1946a7e18 CGSDatagramReadStream::dispatchMainQueueDatagrams() + 284
28  SkyLight                      	       0x1946a7cdc invocation function for block in CGSDatagramReadStream::mainQueueWakeup() + 36
29  CoreFoundation                	       0x18db876e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28
30  CoreFoundation                	       0x18db87624 __CFRunLoopDoBlocks + 396
31  CoreFoundation                	       0x18db86a68 __CFRunLoopRun + 2356
32  CoreFoundation                	       0x18dc44898 _CFRunLoopRunSpecificWithOptions + 532
33  HIToolbox                     	       0x19a583730 RunCurrentEventLoopInMode + 316
34  HIToolbox                     	       0x19a5869d0 ReceiveNextEventCommon + 488
35  HIToolbox                     	       0x19a7101f4 _BlockUntilNextEventMatchingListInMode + 48
36  AppKit                        	       0x19245e308 _DPSBlockUntilNextEventMatchingListInMode + 236
37  AppKit                        	       0x191f74edc _DPSNextEvent + 588
38  AppKit                        	       0x1929c7a04 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
39  AppKit                        	       0x1929c7710 -[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:] + 72
40  AppKit                        	       0x191f6d720 -[NSApplication run] + 368
41  kitty.glfw-cocoa.so           	       0x105807c1c glfwRunMainLoop + 112
42  kitty.fast_data_types.so      	       0x10500b388 0x105000000 + 45960
43  Python                        	       0x1021ba404 method_vectorcall_NOARGS + 120
44  Python                        	       0x1022ebe9c _PyEval_EvalFrameDefault + 52788
45  Python                        	       0x1021a7de4 _PyObject_FastCallDictTstate + 96
46  Python                        	       0x10223d09c slot_tp_call + 200
47  Python                        	       0x1021a790c _PyObject_MakeTpCall + 128
48  Python                        	       0x1022ec018 _PyEval_EvalFrameDefault + 53168
49  Python                        	       0x1022de1a0 PyEval_EvalCode + 296
50  Python                        	       0x1022d9a00 builtin_exec + 408
51  Python                        	       0x1022131c0 cfunction_vectorcall_FASTCALL_KEYWORDS + 92
52  Python                        	       0x1022ebe9c _PyEval_EvalFrameDefault + 52788
53  Python                        	       0x10239a29c pymain_run_module + 276
54  Python                        	       0x102399a64 pymain_run_python + 872
55  Python                        	       0x1023996b8 Py_RunMain + 24
56  kitty                         	       0x100e9f898 main + 6188
57  dyld                          	       0x18d729d54 start + 7184

Thread 1:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	       0x18daa5c34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18dab8028 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x18daae98c mach_msg_overwrite + 484
3   libsystem_kernel.dylib        	       0x18daa5fb4 mach_msg + 24
4   CoreFoundation                	       0x18db87c80 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                	       0x18db865d8 __CFRunLoopRun + 1188
6   CoreFoundation                	       0x18dc44898 _CFRunLoopRunSpecificWithOptions + 532
7   AppKit                        	       0x192004a68 _NSEventThread + 184
8   libsystem_pthread.dylib       	       0x18dae8c08 _pthread_start + 136
9   libsystem_pthread.dylib       	       0x18dae3ba8 thread_start + 8

Thread 2:: KittyChildMon
0   libsystem_kernel.dylib        	       0x18daae6c0 poll + 8
1   kitty.fast_data_types.so      	       0x105010e20 0x105000000 + 69152
2   libsystem_pthread.dylib       	       0x18dae8c08 _pthread_start + 136
3   libsystem_pthread.dylib       	       0x18dae3ba8 thread_start + 8

Thread 3:

Thread 4:

Thread 5:

Thread 6:

Thread 7:


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x00000001597cc000   x1: 0x0000000100002800   x2: 0x0000000000e10000   x3: 0x00000001597cc020
    x4: 0xffffffffa6836800   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x0000000000002800   x9: 0x000000000000059f  x10: 0x0000000000002800  x11: 0x0000000000000004
   x12: 0x0000000000000004  x13: 0x0000000000000000  x14: 0x0000000208129c00  x15: 0x0000000000d263eb
   x16: 0x000000018daf2360  x17: 0x00000001fbac8d70  x18: 0x0000000000000000  x19: 0x0000600002452b80
   x20: 0x0000000000000004  x21: 0x0000000000000a00  x22: 0x00000000000005a0  x23: 0x00006000026867c0
   x24: 0x00000001f40cd000  x25: 0x0000000000041400  x26: 0x0000000000000000  x27: 0x0000009700000096
   x28: 0x000000016ef5b7b8   fp: 0x000000016ef5b450   lr: 0x0000000192e8ba88
    sp: 0x000000016ef5b380   pc: 0x000000018daf2394 cpsr: 0x20000000
   far: 0x0000000100002800  esr: 0x92000007 (Data Abort) byte read Translation fault

Binary Images:
       0x100e9c000 -        0x100ebffff net.kovidgoyal.kitty (0.42.2) <bac7ba43-384c-3b6c-b9fb-8d1e902f3ed5> /Applications/kitty.app/Contents/MacOS/kitty
       0x100f04000 -        0x100f0bfff libxxhash.0.dylib (*) <c4b227a6-7790-37f4-bd07-c839f8b362a1> /Applications/kitty.app/Contents/Frameworks/libxxhash.0.dylib
       0x10210c000 -        0x102517fff org.python.python (3.12.3, (c) 2001-2023 Python Software Foundation.) <c5022193-cd44-3470-b934-aa6893e9af8e> /Applications/kitty.app/Contents/Frameworks/Python.framework/Versions/3.12/Python
       0x10108c000 -        0x101093fff _json.so (*) <b1109e8e-813d-3d98-b219-961e678d79f8> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/_json.so
       0x1010a4000 -        0x1010abfff zlib.so (*) <77939a33-3175-3388-a1b9-f2109099018b> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/zlib.so
       0x10105c000 -        0x101077fff libz.1.dylib (*) <e08b9664-3f8a-3db3-a6cc-499fb910b453> /Applications/kitty.app/Contents/Frameworks/libz.1.dylib
       0x1010e4000 -        0x1010e7fff _bz2.so (*) <e7cab55c-b46b-359e-98ae-4fce25afbb36> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/_bz2.so
       0x1010bc000 -        0x1010c3fff _lzma.so (*) <ee3e6860-3544-36fb-8e66-0ffaf0240b08> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/_lzma.so
       0x105000000 -        0x105137fff kitty.fast_data_types.so (*) <adcf2dd9-3b0d-3e40-89e7-07313d0a65d5> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/kitty.fast_data_types.so
       0x103c90000 -        0x103eebfff libharfbuzz.0.dylib (*) <dae889c4-38f8-37ef-8978-a36904183f3e> /Applications/kitty.app/Contents/Frameworks/libharfbuzz.0.dylib
       0x1010f8000 -        0x101133fff libpng16.16.dylib (*) <a3d162db-2a70-3290-a798-8f36d87cac5e> /Applications/kitty.app/Contents/Frameworks/libpng16.16.dylib
       0x101700000 -        0x101763fff liblcms2.2.dylib (*) <373b1e81-b221-37b3-a3c2-8ca6667c12cc> /Applications/kitty.app/Contents/Frameworks/liblcms2.2.dylib
       0x1060cc000 -        0x1064f7fff libcrypto.3.dylib (*) <bad71e00-4a31-3571-be2b-7ae87993ea31> /Applications/kitty.app/Contents/Frameworks/libcrypto.3.dylib
       0x1012dc000 -        0x1012dffff fcntl.so (*) <818ca3ae-e06d-3e0d-8a4c-9a4272cfa011> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/fcntl.so
       0x1012b4000 -        0x1012bffff math.so (*) <6eb8f10b-8832-34ff-946c-7dcdbf834f30> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/math.so
       0x1017ac000 -        0x1017b3fff _struct.so (*) <a359cb0b-a37b-39e7-9687-6c15605b56e3> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/_struct.so
       0x1017c4000 -        0x1017cbfff binascii.so (*) <17970090-ec44-3776-ae73-80739cd2fce2> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/binascii.so
       0x10177c000 -        0x10178bfff _socket.so (*) <7f0d7245-6f6b-3c51-a2ef-48cd2cd8d130> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/_socket.so
       0x1017dc000 -        0x1017e3fff select.so (*) <822f1148-41d8-39a1-b4e8-500843c9ba0e> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/select.so
       0x103a34000 -        0x103a3ffff array.so (*) <bfce4d6b-b548-3dd6-a059-37169e4a7b33> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/array.so
       0x103a50000 -        0x103a53fff _posixsubprocess.so (*) <e466ee87-913b-3924-a25c-eb873778937a> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/_posixsubprocess.so
       0x103b64000 -        0x103b67fff _opcode.so (*) <ab3eed31-2a20-39df-a765-c2d1d96dfec1> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/_opcode.so
       0x103b78000 -        0x103b7bfff _bisect.so (*) <2a9e655d-8b26-3040-9b3f-64a3b61810a6> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/_bisect.so
       0x103b8c000 -        0x103b8ffff _random.so (*) <627df143-a27f-3f99-90af-60b3c4ac8e16> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/_random.so
       0x103ba0000 -        0x103ba7fff _sha2.so (*) <da994d60-319f-3db6-a0be-2468de6e6a1b> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/_sha2.so
       0x1039fc000 -        0x103a0ffff _ctypes.so (*) <70060674-7096-36cd-995f-34bd4caf99ff> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/_ctypes.so
       0x105800000 -        0x105847fff kitty.glfw-cocoa.so (*) <05d78c0a-ef59-33ef-b1eb-273c6773ac9b> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/kitty.glfw-cocoa.so
       0x103fe8000 -        0x103ff3fff libobjc-trampolines.dylib (*) <580e4b29-8304-342d-a21c-2a869364dc35> /usr/lib/libobjc-trampolines.dylib
       0x10d200000 -        0x10da23fff com.apple.AGXMetalG16X (340.26.3) <d52e0d2b-7794-3255-804f-fb08045cb0e2> /System/Library/Extensions/AGXMetalG16X.bundle/Contents/MacOS/AGXMetalG16X
       0x11a4c8000 -        0x11a52bfff com.apple.AppleMetalOpenGLRenderer (1.0) <4bf0f6e1-f003-3809-a271-1b65f86f3aeb> /System/Library/Extensions/AppleMetalOpenGLRenderer.bundle/Contents/MacOS/AppleMetalOpenGLRenderer
       0x11b170000 -        0x11b177fff _hashlib.so (*) <25358de0-3b79-3d30-a5dc-3e00427439ac> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/_hashlib.so
       0x11b220000 -        0x11b227fff _blake2.so (*) <709d241f-5775-3814-be9e-bef7c17cdbc6> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/_blake2.so
       0x11b1f0000 -        0x11b203fff _datetime.so (*) <9d747a67-0f38-3eb4-b77e-7406f1cbfcad> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/_datetime.so
       0x11b39c000 -        0x11b3b3fff _ssl.so (*) <2c271028-8cf4-37b4-bb39-30590240994d> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/_ssl.so
       0x11b648000 -        0x11b72ffff libssl.3.dylib (*) <6e183f2f-3bf0-3cad-bbaf-21af9ef6d3f4> /Applications/kitty.app/Contents/Frameworks/libssl.3.dylib
       0x11b360000 -        0x11b363fff _scproxy.so (*) <95093aba-a8df-3ad2-b60f-db95ef7d9f1f> /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions/_scproxy.so
       0x18daef000 -        0x18daf73bf libsystem_platform.dylib (*) <36396b66-54eb-30fa-8e3b-e71ae63da30c> /usr/lib/system/libsystem_platform.dylib
       0x191f55000 -        0x193650d9f com.apple.AppKit (6.9) <6d84c7a3-ee98-3daf-ac66-cd95a902ba84> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x1f29df000 -        0x1f2b3fdc7 GLEngine (*) <43c73f17-7ece-323e-bb97-92ad6e2a0960> /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLEngine.bundle/GLEngine
       0x1f27f5000 -        0x1f2805397 com.apple.opengl (22.0.12) <4e6549fe-9fd7-3b4b-a622-fd59fa4e3e8b> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
       0x18db28000 -        0x18e074f7f com.apple.CoreFoundation (6.9) <edb39786-80b1-3bff-b6c3-e33f2e3ca867> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x18f36e000 -        0x1902fa31f com.apple.Foundation (6.9) <f61e71c3-480f-3691-b656-e1281f60a3e3> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
       0x19425e000 -        0x1947ea57f com.apple.SkyLight (1.600.0) <d0ce7ae7-7855-30eb-b2a9-9549b81f4742> /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight
       0x19a4c2000 -        0x19a7c46ff com.apple.HIToolbox (2.1.1) <f369023f-1a24-3f3f-9056-6f5248071e8c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
       0x18d721000 -        0x18d7bff73 dyld (*) <abfd3247-50ac-3c8e-b72a-83710166e982> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x18daa5000 -        0x18dae145f libsystem_kernel.dylib (*) <2eb73bf1-8c71-3e1f-a160-6da83dc82606> /usr/lib/system/libsystem_kernel.dylib
       0x18dae2000 -        0x18daeeabb libsystem_pthread.dylib (*) <5d31d65c-2ecf-36da-84f5-ba4caab06adb> /usr/lib/system/libsystem_pthread.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1.8G resident=0K(0%) swapped_out_or_unallocated=1.8G(100%)
Writable regions: Total=2.4G written=3681K(0%) resident=881K(0%) swapped_out=2800K(0%) unallocated=2.4G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               512K        4 
Activity Tracing                   256K        1 
AttributeGraph Data               1024K        1 
CG image                           528K       23 
ColorSync                          752K       33 
CoreAnimation                     15.6M       92 
CoreGraphics                        80K        5 
CoreUI image data                 1088K       11 
Foundation                          32K        2 
Kernel Alloc Once                   32K        1 
MALLOC                             2.3G       93 
MALLOC guard page                  384K       24 
MALLOC_LARGE (reserved)           15.0M        1         reserved VM address space (unallocated)
OpenGL GLSL                        256K        3 
STACK GUARD                       56.1M        8 
Stack                             11.7M        8 
VM_ALLOCATE                       13.1M       46 
__AUTH                            5740K      638 
__AUTH_CONST                      87.8M     1025 
__CTF                               824        1 
__DATA                            35.7M     1009 
__DATA_CONST                      34.0M     1066 
__DATA_DIRTY                      8788K      889 
__FONT_DATA                        2352        1 
__GLSLBUILTINS                    5174K        1 
__INFO_FILTER                         8        1 
__LINKEDIT                       599.5M       37 
__OBJC_RO                         78.1M        1 
__OBJC_RW                         2561K        1 
__TEXT                             1.2G     1084 
__TEXT (graphics)                 1040K        4 
__TPRO_CONST                       128K        2 
dyld private memory                128K        1 
mapped file                      316.8M       42 
page table in kernel               881K        1 
shared memory                     1456K       18 
===========                     =======  ======= 
TOTAL                              4.8G     6178 
TOTAL, minus reserved VM space     4.7G     6178 


-----------
Full Report
-----------

{"app_name":"kitty","timestamp":"2025-09-17 10:08:22.00 -0400","app_version":"0.42.2","slice_uuid":"bac7ba43-384c-3b6c-b9fb-8d1e902f3ed5","build_version":"0.42.2","platform":1,"bundleID":"net.kovidgoyal.kitty","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 26.0 (25A353)","roots_installed":0,"name":"kitty","incident_id":"22E841E8-447F-4549-93A8-A43ECD3C87C2"}
{
  "uptime" : 370000,
  "procRole" : "Background",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "Mac16,8",
  "coalitionID" : 2091,
  "osVersion" : {
    "train" : "macOS 26.0",
    "build" : "25A353",
    "releaseType" : "User"
  },
  "captureTime" : "2025-09-17 10:08:17.6199 -0400",
  "codeSigningMonitor" : 2,
  "incident" : "22E841E8-447F-4549-93A8-A43ECD3C87C2",
  "pid" : 25238,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2025-09-15 11:22:35.9666 -0400",
  "procStartAbsTime" : 6147417772157,
  "procExitAbsTime" : 9085600871961,
  "procName" : "kitty",
  "procPath" : "\/Applications\/kitty.app\/Contents\/MacOS\/kitty",
  "bundleInfo" : {"CFBundleShortVersionString":"0.42.2","CFBundleVersion":"0.42.2","CFBundleIdentifier":"net.kovidgoyal.kitty"},
  "storeInfo" : {"deviceIdentifierForVendor":"FF8CE972-548B-5F7D-920C-F4BC327084F6","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "net.kovidgoyal.kitty",
  "crashReporterKey" : "9FA8134C-33D9-643A-7A1C-747C696E23D3",
  "developerMode" : 1,
  "codeSigningID" : "net.kovidgoyal.kitty",
  "codeSigningTeamID" : "NTY7FVCEKP",
  "codeSigningFlags" : 570503953,
  "codeSigningValidationCategory" : 6,
  "codeSigningTrustLevel" : 4294967295,
  "codeSigningAuxiliaryInfo" : 0,
  "instructionByteStream" : {"beforePC":"4wMAql8AAfHDDABUJAAAy58AAusjBgBUXxBA8QMDAFRjgACRY+h7kg==","atPC":"IgxArGUAAMshAAWLIARArCGAAJFCAAXLAgwArEIAAfHpAABUYAQArA=="},
  "bootSessionUUID" : "FDC50FA4-1B4D-4CBF-9F7F-C3BC86A8D90F",
  "wakeTime" : 3,
  "sleepWakeUUID" : "FE2E70E9-90DB-4F37-A283-803ADCB3CC4F",
  "sip" : "enabled",
  "vmRegionInfo" : "0x100002800 is not in any region.  Bytes before following region: 15308800\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      100e9c000-100ec0000    [  144K] r-x\/r-x SM=COW  \/Applications\/kitty.app\/Contents\/MacOS\/kitty",
  "exception" : {"codes":"0x0000000000000001, 0x0000000100002800","rawCodes":[1,4294977536],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000100002800"},
  "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":25238},
  "vmregioninfo" : "0x100002800 is not in any region.  Bytes before following region: 15308800\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      100e9c000-100ec0000    [  144K] r-x\/r-x SM=COW  \/Applications\/kitty.app\/Contents\/MacOS\/kitty",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":3865648,"threadState":{"x":[{"value":5796315136},{"value":4294977536},{"value":14745600},{"value":5796315168},{"value":18446744072208214016},{"value":0},{"value":0},{"value":0},{"value":10240},{"value":1439},{"value":10240},{"value":4},{"value":4},{"value":0},{"value":8725371904,"objc-selector":"🤯"},{"value":13788139},{"value":6672032608,"symbolLocation":0,"symbol":"_platform_memmove"},{"value":8517356912},{"value":0},{"value":105553154354048},{"value":4},{"value":2560},{"value":1440},{"value":105553156663232},{"value":8389447680},{"value":267264},{"value":0},{"value":648540061846},{"value":6156564408}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6759692936},"cpsr":{"value":536870912},"fp":{"value":6156563536},"sp":{"value":6156563328},"esr":{"value":2449473543,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":6672032660,"matchesCrashFrame":1},"far":{"value":4294977536}},"frames":[{"imageOffset":13204,"symbol":"_platform_memmove","symbolLocation":52,"imageIndex":36},{"imageOffset":15952520,"symbol":"-[NSSoftwareSurface frontBuffer]","symbolLocation":576,"imageIndex":37},{"imageOffset":15947024,"symbol":"-[NSCGLSurface flushRect:]","symbolLocation":512,"imageIndex":37},{"imageOffset":15946336,"symbol":"NSCGLSurfaceFlush","symbolLocation":132,"imageIndex":37},{"imageOffset":106048,"symbol":"glSwap_Exec","symbolLocation":256,"imageIndex":38},{"imageOffset":55032,"symbol":"CGLFlushDrawable","symbolLocation":64,"imageIndex":39},{"imageOffset":1392232,"symbol":"-[NSOpenGLContext flushBuffer]","symbolLocation":28,"imageIndex":37},{"imageOffset":590404,"imageIndex":8},{"imageOffset":353652,"symbol":"__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__","symbolLocation":148,"imageIndex":40},{"imageOffset":782532,"symbol":"___CFXRegistrationPost_block_invoke","symbolLocation":92,"imageIndex":40},{"imageOffset":782344,"symbol":"_CFXRegistrationPost","symbolLocation":436,"imageIndex":40},{"imageOffset":217228,"symbol":"_CFXNotificationPost","symbolLocation":740,"imageIndex":40},{"imageOffset":10453984,"symbol":"-[NSNotificationCenter postNotificationName:object:userInfo:]","symbolLocation":88,"imageIndex":41},{"imageOffset":13303004,"symbol":"-[NSWindow _setFrameCommon:display:fromServer:]","symbolLocation":2708,"imageIndex":37},{"imageOffset":15842580,"symbol":"-[_NSFullScreenContentController reshapeContentForTileContentFrame:fromFrame:]","symbolLocation":688,"imageIndex":37},{"imageOffset":16876436,"symbol":"-[_NSFullScreenSpace updateTileShapeAndReshapeContentsUsingTileFrame:ackServer:]","symbolLocation":200,"imageIndex":37},{"imageOffset":16867452,"symbol":"__32+[_NSFullScreenSpace initialize]_block_invoke.9","symbolLocation":132,"imageIndex":37},{"imageOffset":8787724,"symbol":"__47+[NSCGSSpace addTileResizeNotificationHandler:]_block_invoke","symbolLocation":232,"imageIndex":37},{"imageOffset":353632,"symbol":"__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__","symbolLocation":128,"imageIndex":40},{"imageOffset":782532,"symbol":"___CFXRegistrationPost_block_invoke","symbolLocation":92,"imageIndex":40},{"imageOffset":782344,"symbol":"_CFXRegistrationPost","symbolLocation":436,"imageIndex":40},{"imageOffset":217228,"symbol":"_CFXNotificationPost","symbolLocation":740,"imageIndex":40},{"imageOffset":10453984,"symbol":"-[NSNotificationCenter postNotificationName:object:userInfo:]","symbolLocation":88,"imageIndex":41},{"imageOffset":3288768,"symbol":"post_coordinated_distributed_notification(CGSNotificationType, void*, unsigned int, void*)","symbolLocation":784,"imageIndex":42},{"imageOffset":2214224,"symbol":"(anonymous namespace)::Callout::operator()(CGSNotificationType, void*, unsigned long) const","symbolLocation":100,"imageIndex":42},{"imageOffset":42464,"symbol":"CGSPostLocalNotification","symbolLocation":184,"imageIndex":42},{"imageOffset":41404,"symbol":"(anonymous namespace)::notify_datagram_handler(unsigned int, CGSDatagramType, void*, unsigned long, void*)","symbolLocation":116,"imageIndex":42},{"imageOffset":4496920,"symbol":"CGSDatagramReadStream::dispatchMainQueueDatagrams()","symbolLocation":284,"imageIndex":42},{"imageOffset":4496604,"symbol":"invocation function for block in CGSDatagramReadStream::mainQueueWakeup()","symbolLocation":36,"imageIndex":42},{"imageOffset":390884,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__","symbolLocation":28,"imageIndex":40},{"imageOffset":390692,"symbol":"__CFRunLoopDoBlocks","symbolLocation":396,"imageIndex":40},{"imageOffset":387688,"symbol":"__CFRunLoopRun","symbolLocation":2356,"imageIndex":40},{"imageOffset":1165464,"symbol":"_CFRunLoopRunSpecificWithOptions","symbolLocation":532,"imageIndex":40},{"imageOffset":792368,"symbol":"RunCurrentEventLoopInMode","symbolLocation":316,"imageIndex":43},{"imageOffset":805328,"symbol":"ReceiveNextEventCommon","symbolLocation":488,"imageIndex":43},{"imageOffset":2417140,"symbol":"_BlockUntilNextEventMatchingListInMode","symbolLocation":48,"imageIndex":43},{"imageOffset":5280520,"symbol":"_DPSBlockUntilNextEventMatchingListInMode","symbolLocation":236,"imageIndex":37},{"imageOffset":130780,"symbol":"_DPSNextEvent","symbolLocation":588,"imageIndex":37},{"imageOffset":10955268,"symbol":"-[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":688,"imageIndex":37},{"imageOffset":10954512,"symbol":"-[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:]","symbolLocation":72,"imageIndex":37},{"imageOffset":100128,"symbol":"-[NSApplication run]","symbolLocation":368,"imageIndex":37},{"imageOffset":31772,"symbol":"glfwRunMainLoop","symbolLocation":112,"imageIndex":26},{"imageOffset":45960,"imageIndex":8},{"imageOffset":713732,"symbol":"method_vectorcall_NOARGS","symbolLocation":120,"imageIndex":2},{"imageOffset":1965724,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":52788,"imageIndex":2},{"imageOffset":638436,"symbol":"_PyObject_FastCallDictTstate","symbolLocation":96,"imageIndex":2},{"imageOffset":1249436,"symbol":"slot_tp_call","symbolLocation":200,"imageIndex":2},{"imageOffset":637196,"symbol":"_PyObject_MakeTpCall","symbolLocation":128,"imageIndex":2},{"imageOffset":1966104,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":53168,"imageIndex":2},{"imageOffset":1909152,"symbol":"PyEval_EvalCode","symbolLocation":296,"imageIndex":2},{"imageOffset":1890816,"symbol":"builtin_exec","symbolLocation":408,"imageIndex":2},{"imageOffset":1077696,"symbol":"cfunction_vectorcall_FASTCALL_KEYWORDS","symbolLocation":92,"imageIndex":2},{"imageOffset":1965724,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":52788,"imageIndex":2},{"imageOffset":2679452,"symbol":"pymain_run_module","symbolLocation":276,"imageIndex":2},{"imageOffset":2677348,"symbol":"pymain_run_python","symbolLocation":872,"imageIndex":2},{"imageOffset":2676408,"symbol":"Py_RunMain","symbolLocation":24,"imageIndex":2},{"imageOffset":14488,"symbol":"main","symbolLocation":6188,"imageIndex":0},{"imageOffset":36180,"symbol":"start","symbolLocation":7184,"imageIndex":44}]},{"id":3865731,"name":"com.apple.NSEventThread","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":129755256979456},{"value":0},{"value":129755256979456},{"value":2},{"value":4294967295},{"value":0},{"value":17179869184},{"value":0},{"value":2},{"value":0},{"value":0},{"value":30211},{"value":0},{"value":18446744073709551569},{"value":8517363472},{"value":0},{"value":4294967295},{"value":2},{"value":129755256979456},{"value":0},{"value":129755256979456},{"value":6158868616},{"value":8589934592},{"value":21592279046},{"value":18446744073709550527},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6671794216},"cpsr":{"value":0},"fp":{"value":6158868464},"sp":{"value":6158868384},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6671719476},"far":{"value":0}},"frames":[{"imageOffset":3124,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":46},{"imageOffset":77864,"symbol":"mach_msg2_internal","symbolLocation":76,"imageIndex":46},{"imageOffset":39308,"symbol":"mach_msg_overwrite","symbolLocation":484,"imageIndex":46},{"imageOffset":4020,"symbol":"mach_msg","symbolLocation":24,"imageIndex":46},{"imageOffset":392320,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":40},{"imageOffset":386520,"symbol":"__CFRunLoopRun","symbolLocation":1188,"imageIndex":40},{"imageOffset":1165464,"symbol":"_CFRunLoopRunSpecificWithOptions","symbolLocation":532,"imageIndex":40},{"imageOffset":719464,"symbol":"_NSEventThread","symbolLocation":184,"imageIndex":37},{"imageOffset":27656,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":47},{"imageOffset":7080,"symbol":"thread_start","symbolLocation":8,"imageIndex":47}]},{"id":3865768,"name":"KittyChildMon","threadState":{"x":[{"value":4},{"value":0},{"value":4294967295},{"value":0},{"value":12448},{"value":0},{"value":0},{"value":0},{"value":1},{"value":0},{"value":0},{"value":2},{"value":0},{"value":0},{"value":10752},{"value":256},{"value":230},{"value":8517361608},{"value":0},{"value":4387154960},{"value":4385046528},{"value":4380278784},{"value":1},{"value":4380197040},{"value":4815974640},{"value":4380192924},{"value":4380192768},{"value":1050120},{"value":4380197008}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4378922528},"cpsr":{"value":1610612736},"fp":{"value":6160019392},"sp":{"value":6160019248},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6671754944},"far":{"value":0}},"frames":[{"imageOffset":38592,"symbol":"poll","symbolLocation":8,"imageIndex":46},{"imageOffset":69152,"imageIndex":8},{"imageOffset":27656,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":47},{"imageOffset":7080,"symbol":"thread_start","symbolLocation":8,"imageIndex":47}]},{"id":5572703,"frames":[],"threadState":{"x":[{"value":6157725696},{"value":57203},{"value":6157189120},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":0},"fp":{"value":0},"sp":{"value":6157725696},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6671973268},"far":{"value":0}}},{"id":5610310,"frames":[],"threadState":{"x":[{"value":6159446016},{"value":78059},{"value":6158909440},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":0},"fp":{"value":0},"sp":{"value":6159446016},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6671973268},"far":{"value":0}}},{"id":5627710,"frames":[],"threadState":{"x":[{"value":6157152256},{"value":75143},{"value":6156615680},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":0},"fp":{"value":0},"sp":{"value":6157152256},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6671973268},"far":{"value":0}}},{"id":5627809,"frames":[],"threadState":{"x":[{"value":6161739776},{"value":66243},{"value":6161203200},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":0},"fp":{"value":0},"sp":{"value":6161739776},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6671973268},"far":{"value":0}}},{"id":5632460,"frames":[],"threadState":{"x":[{"value":6158299136},{"value":0},{"value":6157762560},{"value":0},{"value":278532},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":0},"fp":{"value":0},"sp":{"value":6158299136},"esr":{"value":0},"pc":{"value":6671973268},"far":{"value":0}}}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4310286336,
    "CFBundleShortVersionString" : "0.42.2",
    "CFBundleIdentifier" : "net.kovidgoyal.kitty",
    "size" : 147456,
    "uuid" : "bac7ba43-384c-3b6c-b9fb-8d1e902f3ed5",
    "path" : "\/Applications\/kitty.app\/Contents\/MacOS\/kitty",
    "name" : "kitty",
    "CFBundleVersion" : "0.42.2"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4310712320,
    "size" : 32768,
    "uuid" : "c4b227a6-7790-37f4-bd07-c839f8b362a1",
    "path" : "\/Applications\/kitty.app\/Contents\/Frameworks\/libxxhash.0.dylib",
    "name" : "libxxhash.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4329619456,
    "CFBundleShortVersionString" : "3.12.3, (c) 2001-2023 Python Software Foundation.",
    "CFBundleIdentifier" : "org.python.python",
    "size" : 4243456,
    "uuid" : "c5022193-cd44-3470-b934-aa6893e9af8e",
    "path" : "\/Applications\/kitty.app\/Contents\/Frameworks\/Python.framework\/Versions\/3.12\/Python",
    "name" : "Python",
    "CFBundleVersion" : "3.12.3"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4312317952,
    "size" : 32768,
    "uuid" : "b1109e8e-813d-3d98-b219-961e678d79f8",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/_json.so",
    "name" : "_json.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4312416256,
    "size" : 32768,
    "uuid" : "77939a33-3175-3388-a1b9-f2109099018b",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/zlib.so",
    "name" : "zlib.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4312121344,
    "size" : 114688,
    "uuid" : "e08b9664-3f8a-3db3-a6cc-499fb910b453",
    "path" : "\/Applications\/kitty.app\/Contents\/Frameworks\/libz.1.dylib",
    "name" : "libz.1.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4312678400,
    "size" : 16384,
    "uuid" : "e7cab55c-b46b-359e-98ae-4fce25afbb36",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/_bz2.so",
    "name" : "_bz2.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4312514560,
    "size" : 32768,
    "uuid" : "ee3e6860-3544-36fb-8e66-0ffaf0240b08",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/_lzma.so",
    "name" : "_lzma.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4378853376,
    "size" : 1277952,
    "uuid" : "adcf2dd9-3b0d-3e40-89e7-07313d0a65d5",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/kitty.fast_data_types.so",
    "name" : "kitty.fast_data_types.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4358471680,
    "size" : 2473984,
    "uuid" : "dae889c4-38f8-37ef-8978-a36904183f3e",
    "path" : "\/Applications\/kitty.app\/Contents\/Frameworks\/libharfbuzz.0.dylib",
    "name" : "libharfbuzz.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4312760320,
    "size" : 245760,
    "uuid" : "a3d162db-2a70-3290-a798-8f36d87cac5e",
    "path" : "\/Applications\/kitty.app\/Contents\/Frameworks\/libpng16.16.dylib",
    "name" : "libpng16.16.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4319084544,
    "size" : 409600,
    "uuid" : "373b1e81-b221-37b3-a3c2-8ca6667c12cc",
    "path" : "\/Applications\/kitty.app\/Contents\/Frameworks\/liblcms2.2.dylib",
    "name" : "liblcms2.2.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4396466176,
    "size" : 4374528,
    "uuid" : "bad71e00-4a31-3571-be2b-7ae87993ea31",
    "path" : "\/Applications\/kitty.app\/Contents\/Frameworks\/libcrypto.3.dylib",
    "name" : "libcrypto.3.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4314742784,
    "size" : 16384,
    "uuid" : "818ca3ae-e06d-3e0d-8a4c-9a4272cfa011",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/fcntl.so",
    "name" : "fcntl.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4314578944,
    "size" : 49152,
    "uuid" : "6eb8f10b-8832-34ff-946c-7dcdbf834f30",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/math.so",
    "name" : "math.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4319789056,
    "size" : 32768,
    "uuid" : "a359cb0b-a37b-39e7-9687-6c15605b56e3",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/_struct.so",
    "name" : "_struct.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4319887360,
    "size" : 32768,
    "uuid" : "17970090-ec44-3776-ae73-80739cd2fce2",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/binascii.so",
    "name" : "binascii.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4319592448,
    "size" : 65536,
    "uuid" : "7f0d7245-6f6b-3c51-a2ef-48cd2cd8d130",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/_socket.so",
    "name" : "_socket.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4319985664,
    "size" : 32768,
    "uuid" : "822f1148-41d8-39a1-b4e8-500843c9ba0e",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/select.so",
    "name" : "select.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4355997696,
    "size" : 49152,
    "uuid" : "bfce4d6b-b548-3dd6-a059-37169e4a7b33",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/array.so",
    "name" : "array.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4356112384,
    "size" : 16384,
    "uuid" : "e466ee87-913b-3924-a25c-eb873778937a",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/_posixsubprocess.so",
    "name" : "_posixsubprocess.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4357242880,
    "size" : 16384,
    "uuid" : "ab3eed31-2a20-39df-a765-c2d1d96dfec1",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/_opcode.so",
    "name" : "_opcode.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4357324800,
    "size" : 16384,
    "uuid" : "2a9e655d-8b26-3040-9b3f-64a3b61810a6",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/_bisect.so",
    "name" : "_bisect.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4357406720,
    "size" : 16384,
    "uuid" : "627df143-a27f-3f99-90af-60b3c4ac8e16",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/_random.so",
    "name" : "_random.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4357488640,
    "size" : 32768,
    "uuid" : "da994d60-319f-3db6-a0be-2468de6e6a1b",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/_sha2.so",
    "name" : "_sha2.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4355768320,
    "size" : 81920,
    "uuid" : "70060674-7096-36cd-995f-34bd4caf99ff",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/_ctypes.so",
    "name" : "_ctypes.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4387241984,
    "size" : 294912,
    "uuid" : "05d78c0a-ef59-33ef-b1eb-273c6773ac9b",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/kitty.glfw-cocoa.so",
    "name" : "kitty.glfw-cocoa.so"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4361977856,
    "size" : 49152,
    "uuid" : "580e4b29-8304-342d-a21c-2a869364dc35",
    "path" : "\/usr\/lib\/libobjc-trampolines.dylib",
    "name" : "libobjc-trampolines.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4515168256,
    "CFBundleShortVersionString" : "340.26.3",
    "CFBundleIdentifier" : "com.apple.AGXMetalG16X",
    "size" : 8536064,
    "uuid" : "d52e0d2b-7794-3255-804f-fb08045cb0e2",
    "path" : "\/System\/Library\/Extensions\/AGXMetalG16X.bundle\/Contents\/MacOS\/AGXMetalG16X",
    "name" : "AGXMetalG16X",
    "CFBundleVersion" : "340.26.3"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4736188416,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.AppleMetalOpenGLRenderer",
    "size" : 409600,
    "uuid" : "4bf0f6e1-f003-3809-a271-1b65f86f3aeb",
    "path" : "\/System\/Library\/Extensions\/AppleMetalOpenGLRenderer.bundle\/Contents\/MacOS\/AppleMetalOpenGLRenderer",
    "name" : "AppleMetalOpenGLRenderer",
    "CFBundleVersion" : "1"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4749459456,
    "size" : 32768,
    "uuid" : "25358de0-3b79-3d30-a5dc-3e00427439ac",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/_hashlib.so",
    "name" : "_hashlib.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4750180352,
    "size" : 32768,
    "uuid" : "709d241f-5775-3814-be9e-bef7c17cdbc6",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/_blake2.so",
    "name" : "_blake2.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4749983744,
    "size" : 81920,
    "uuid" : "9d747a67-0f38-3eb4-b77e-7406f1cbfcad",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/_datetime.so",
    "name" : "_datetime.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4751736832,
    "size" : 98304,
    "uuid" : "2c271028-8cf4-37b4-bb39-30590240994d",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/_ssl.so",
    "name" : "_ssl.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4754538496,
    "size" : 950272,
    "uuid" : "6e183f2f-3bf0-3cad-bbaf-21af9ef6d3f4",
    "path" : "\/Applications\/kitty.app\/Contents\/Frameworks\/libssl.3.dylib",
    "name" : "libssl.3.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4751491072,
    "size" : 16384,
    "uuid" : "95093aba-a8df-3ad2-b60f-db95ef7d9f1f",
    "path" : "\/Applications\/kitty.app\/Contents\/Resources\/Python\/lib\/kitty-extensions\/_scproxy.so",
    "name" : "_scproxy.so"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6672019456,
    "size" : 33728,
    "uuid" : "36396b66-54eb-30fa-8e3b-e71ae63da30c",
    "path" : "\/usr\/lib\/system\/libsystem_platform.dylib",
    "name" : "libsystem_platform.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6743740416,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 24100256,
    "uuid" : "6d84c7a3-ee98-3daf-ac66-cd95a902ba84",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2685.10.108"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 8365404160,
    "size" : 1445320,
    "uuid" : "43c73f17-7ece-323e-bb97-92ad6e2a0960",
    "path" : "\/System\/Library\/Frameworks\/OpenGL.framework\/Versions\/A\/Resources\/GLEngine.bundle\/GLEngine",
    "name" : "GLEngine"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 8363397120,
    "CFBundleShortVersionString" : "22.0.12",
    "CFBundleIdentifier" : "com.apple.opengl",
    "size" : 66456,
    "uuid" : "4e6549fe-9fd7-3b4b-a622-fd59fa4e3e8b",
    "path" : "\/System\/Library\/Frameworks\/OpenGL.framework\/Versions\/A\/OpenGL",
    "name" : "OpenGL",
    "CFBundleVersion" : "22.0.12"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6672252928,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5558144,
    "uuid" : "edb39786-80b1-3bff-b6c3-e33f2e3ca867",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "4040.1.401"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6697705472,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 16302880,
    "uuid" : "f61e71c3-480f-3691-b656-e1281f60a3e3",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "4040.1.401"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6780477440,
    "CFBundleShortVersionString" : "1.600.0",
    "CFBundleIdentifier" : "com.apple.SkyLight",
    "size" : 5817728,
    "uuid" : "d0ce7ae7-7855-30eb-b2a9-9549b81f4742",
    "path" : "\/System\/Library\/PrivateFrameworks\/SkyLight.framework\/Versions\/A\/SkyLight",
    "name" : "SkyLight"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6883647488,
    "CFBundleShortVersionString" : "2.1.1",
    "CFBundleIdentifier" : "com.apple.HIToolbox",
    "size" : 3155712,
    "uuid" : "f369023f-1a24-3f3f-9056-6f5248071e8c",
    "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
    "name" : "HIToolbox"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6668029952,
    "size" : 651124,
    "uuid" : "abfd3247-50ac-3c8e-b72a-83710166e982",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6671716352,
    "size" : 246880,
    "uuid" : "2eb73bf1-8c71-3e1f-a160-6da83dc82606",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6671966208,
    "size" : 51900,
    "uuid" : "5d31d65c-2ecf-36da-84f5-ba4caab06adb",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  }
],
  "sharedCache" : {
  "base" : 6666960896,
  "size" : 5557583872,
  "uuid" : "213255eb-4b9b-3f85-ac94-b29ab6c7e329"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.8G resident=0K(0%) swapped_out_or_unallocated=1.8G(100%)\nWritable regions: Total=2.4G written=3681K(0%) resident=881K(0%) swapped_out=2800K(0%) unallocated=2.4G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               512K        4 \nActivity Tracing                   256K        1 \nAttributeGraph Data               1024K        1 \nCG image                           528K       23 \nColorSync                          752K       33 \nCoreAnimation                     15.6M       92 \nCoreGraphics                        80K        5 \nCoreUI image data                 1088K       11 \nFoundation                          32K        2 \nKernel Alloc Once                   32K        1 \nMALLOC                             2.3G       93 \nMALLOC guard page                  384K       24 \nMALLOC_LARGE (reserved)           15.0M        1         reserved VM address space (unallocated)\nOpenGL GLSL                        256K        3 \nSTACK GUARD                       56.1M        8 \nStack                             11.7M        8 \nVM_ALLOCATE                       13.1M       46 \n__AUTH                            5740K      638 \n__AUTH_CONST                      87.8M     1025 \n__CTF                               824        1 \n__DATA                            35.7M     1009 \n__DATA_CONST                      34.0M     1066 \n__DATA_DIRTY                      8788K      889 \n__FONT_DATA                        2352        1 \n__GLSLBUILTINS                    5174K        1 \n__INFO_FILTER                         8        1 \n__LINKEDIT                       599.5M       37 \n__OBJC_RO                         78.1M        1 \n__OBJC_RW                         2561K        1 \n__TEXT                             1.2G     1084 \n__TEXT (graphics)                 1040K        4 \n__TPRO_CONST                       128K        2 \ndyld private memory                128K        1 \nmapped file                      316.8M       42 \npage table in kernel               881K        1 \nshared memory                     1456K       18 \n===========                     =======  ======= \nTOTAL                              4.8G     6178 \nTOTAL, minus reserved VM space     4.7G     6178 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "a1132764de1b6319a2963302b9846a06dca14b72",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "65a8173205d942272410674b",
      "factorPackIds" : [
        "65d39fa4cb0e2417d11ce5f6"
      ],
      "deploymentId" : 240000001
    },
    {
      "rolloutId" : "67648e5334a82511f4acf879",
      "factorPackIds" : [

      ],
      "deploymentId" : 240000008
    }
  ],
  "experiments" : [

  ]
}
}

Model: Mac16,8, BootROM 13822.1.2, proc 14:10:4 processors, 24 GB, SMC 
Graphics: Apple M4 Pro, Apple M4 Pro, Built-In
Display: HP Z27, 5120 x 2880 (5K/UHD+ - Ultra High Definition Plus), Main, MirrorOff, Online
Memory Module: LPDDR5, Micron
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4388), wl0: Jul 23 2025 02:15:41 version 23.41.4.0.41.51.197 FWID 01-94e410f5
IO80211_driverkit-1525.88 "IO80211_driverkit-1525.88" Aug  6 2025 21:19:03
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

Environment details

kitty 0.42.2 (b1334fdc19) created by Kovid Goyal
Darwin Lucass-MacBook-Pro.local 25.0.0 Darwin Kernel Version 25.0.0: Mon Aug 25 21:17:54 PDT 2025; root:xnu-12377.1.9~3/RELEASE_ARM64_T6041 arm64
ProductName:		macOS ProductVersion:		26.0 BuildVersion:		25A353
OpenGL: '4.1 Metal - 90.5' Detected version: 4.1
Frozen: True
Fonts:
  medium: Menlo-Regular: /System/Library/Fonts/Menlo.ttc
          Features: ()
    bold: Menlo-Bold: /System/Library/Fonts/Menlo.ttc
          Features: ()
  italic: Menlo-Italic: /System/Library/Fonts/Menlo.ttc
          Features: ()
      bi: Menlo-BoldItalic: /System/Library/Fonts/Menlo.ttc
          Features: ()
Paths:
  kitty: /Applications/kitty.app/Contents/MacOS/kitty
  base dir: /Applications/kitty.app/Contents/Resources/kitty
  extensions dir: /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions
  system shell: /bin/zsh
System color scheme: dark. Applied color theme type: none
Loaded config files:
  /Users/lucas/.config/kitty/kitty.conf

Config options different from defaults:
font_size               12.5
macos_option_as_alt     2
modify_font:
    cell_height 115%
Changed shortcuts:
	cmd+k →  clear_terminal_and_scrollback
	ctrl+cmd+, →  reload_config
	ctrl+cmd+l →  clear_screen
	opt+cmd+k →  clear_scrollback
	opt+cmd+r →  reset_terminal
	shift+cmd+/ →  open_kitty_website
Colors:
	active_tab_background   #1f1f28   
	active_tab_foreground   #c8c093   
	background              #1f1f28   
	color0                  #16161d   
	color1                  #c34043   
	color10                 #98bb6c   
	color11                 #e6c384   
	color12                 #7fb4ca   
	color13                 #938aa9   
	color14                 #7aa89f   
	color15                 #dcd7ba   
	color16                 #ffa066   
	color17                 #ff5d62   
	color2                  #76946a   
	color3                  #c0a36e   
	color4                  #7e9cd8   
	color5                  #957fb8   
	color6                  #6a9589   
	color7                  #c8c093   
	color8                  #727169   
	color9                  #e82424   
	cursor                  #c8c093   
	foreground              #dcd7ba   
	inactive_tab_background #1f1f28   
	inactive_tab_foreground #727169   
	selection_background    #2d4f67   
	selection_foreground    #c8c093   
	url_color               #72a7bc   

Important environment variables seen by the kitty process:
	PATH                                /Applications/kitty.app/Contents/MacOS:/usr/bin:/bin:/usr/sbin:/sbin
	LANG                                en_US.UTF-8
	SHELL                               /bin/zsh
	USER                                lucas

Activity

  1. kovidgoyal commented on Sep 17, 2025

    @kovidgoyal
    Owner

    Is this specific to Tahoe? The crash report is inside Apple libraries so
    this is almost certainly a Tahoe regression. Sadly I dont have an
    external monitor to replicate with, is there anyway to replicate without
    one? And can you try the kitty nightly build as there were some relevant
    changes there.

  2. lrvdijk commented on Sep 17, 2025

    @lrvdijk
    Author

    Thanks for the quick response! Yes, I did not experience this issue on the previous macOS release, so it is likely Tahoe specific.

    I just tried the nightly build, but the issue persists. I will try to see if I can find another way to replicate it, but so far unsuccessful.

  3. pavelsivanovs commented on Sep 17, 2025

    @pavelsivanovs

    Reporting the same issue.

  4. kovidgoyal commented on Sep 17, 2025

    @kovidgoyal
    Owner

    Can you do a debug build and post the crash report, that might give me enough information to try to come up with a workaround. https://sw.kovidgoyal.net/kitty/build/

  5. seb-afk commented on Sep 18, 2025

    @seb-afk

    I can reproduce the issue on a MacBook Air 2020 M1 running Tahoe 26.0 (25A354), using both the debug build and version 0.42.2.

    Steps to reproduce (same as OP)

    1. Connect the MacBook to an external display with the lid closed.
    2. Open Kitty in full screen mode.
    3. Disconnect the monitor (MacBook enters sleep mode).
    4. Reconnect the monitor and wake the MacBook (or open the lid).

    Result

    Kitty crashes with:

    [1] 17092 segmentation fault kitty/launcher/kitty

    • With the debug build, I only see the segmentation fault error (no crash report generated or I cannot find it(?)).
    • With version 0.42.2, a crash report is produced (attached).

    Does this help?

    kitty-crash.txt

    Thanks a lot for the great software!

  6. kovidgoyal commented on Sep 18, 2025

    @kovidgoyal
    Owner

    Look in console.app for the crash report from the debug build, I need
    the report from a debug build to see exactly what code path in kitty is
    involved to try to guess what the bug in Tahoe is.

  7. seb-afk commented on Sep 18, 2025

    @seb-afk

    I've checked but under Crash Reports nothing shows up for me.

    In system.log it says: Sep 18 19:54:55 alba login[91025]: DEAD_PROCESS: 91025 ttys004.

    From the Console -> All Messages I got this:

    kitty-captured-logs.txt

    Does this help?

  8. kovidgoyal commented on Sep 18, 2025

    @kovidgoyal
    Owner

    Build with sanitizer and run in a terminal then the crash report will be
    printed to the terminal.

    ./dev.sh build --debug --sanitize

  9. seb-afk commented on Sep 18, 2025

    @seb-afk
  10. kovidgoyal commented on Sep 19, 2025

    @kovidgoyal
    Owner

    OK, it's happening in the resize handler, I guessed as much but its good
    to be sure. I can probably intuit a workaround for it, maybe some kind
    of re-init of NSWindow OpenGL surface, since the crash is occurring when
    cocoa tries to read the frontBuffer. If I had to guess, when the monitor
    is changed, the GPU driver's state is becoming invalid.

    Will have to go spelunking in the Apple Cocoa docs (which are truly
    horrible). Would be nice if Apple fixed the bug in Tahoe, but from past
    experience there is zero chance of that, so...

  11. kovidgoyal commented on Sep 19, 2025

    @kovidgoyal
    Owner

    First step:

    Apply the following patch to current master and see if Cocoa calls
    screenParametersDidChange before windowDidResize

    If so we can reset the context object there, if not, it's going to be
    more involved.

    diff --git a/glfw/cocoa_window.m b/glfw/cocoa_window.m
    index f632e9d6f..1fb1ac81d 100644
    --- a/glfw/cocoa_window.m
    +++ b/glfw/cocoa_window.m
    @@ -548,6 +548,7 @@ - (BOOL)windowShouldClose:(id)sender
    
     - (void)windowDidResize:(NSNotification *)notification
     {
    +    NSLog(@"windowDidResize called");
         (void)notification;
         if (window->context.client != GLFW_NO_API)
             [window->context.nsgl.object update];
    @@ -1638,6 +1639,7 @@ - (instancetype)initWithGlfwWindow:(NSRect)contentRect
     }
    
     - (void)screenParametersDidChange:(NSNotification *)notification {
    +    NSLog(@"screenParametersDidChange called: %@ %d", notification, glfw_window != NULL);
         if (!glfw_window || !glfw_window->ns.layer_shell.is_active) return;
         _glfwPlatformSetLayerShellConfig(glfw_window, NULL);
     }
  12. kovidgoyal commented on Sep 19, 2025

    @kovidgoyal
    Owner

    Please test the fix.

  13. seb-afk commented on Sep 19, 2025

    @seb-afk

    Seems to work for me, thanks!

  14. 8 remaining items

  15. spreiter commented on Oct 2, 2025

    @spreiter
    • I am not using any different window manager.
    • I disabled some applications that appear as an overlay and hidden most of the time.
    • I disabled automatic hiding of the dock.
    • Updated macOS to 26.0.1.

    Still the same problem and out of ideas.

    One option, I could think of:
    Instead of using a gap, detect the lid opening? Is it possible? However this sounds like some ugly workaround as well.

  16. kovidgoyal commented on Oct 2, 2025

    @kovidgoyal
    Owner

    See if this fixes it for you:
    270c598

  17. spreiter commented on Oct 2, 2025

    @spreiter

    Sadly no.

    In line 618, I added !window->ns.maximized && to the if clause. This helped and got me the following output

    [14.297] Front most application changed to: com.apple.loginwindow pid: 400
    [24.782] windowDidResize() called, is_screen_change: 0
    [25.306] windowDidResize() called, is_screen_change: 0
    [25.822] windowDidResize() called, is_screen_change: 1
    Polling for monitors: 1 found
    [25.843] windowDidResize() called, is_screen_change: 1
    [25.867] windowDidResize() called, is_screen_change: 0
    Polling for monitors: 1 found
    [26.369] Front most application changed to: com.apple.Terminal pid: 4334
    [33.563] OSWindow 1 occlusion state changed, occluded: 0
    Polling for monitors: 1 found
    [34.723] OSWindow 1 occlusion state changed, occluded: 1
    [35.239] Front most application changed to: com.apple.Terminal pid: 4334
    Polling for monitors: 1 found
    

    Apparently it is called multiple times. But since there is the message about the loginwindow, I wonder, whether it might be possible to set a flag at that time and have a veto period afterwards ignore the next few events. However there may not always be 5 events..

    Additionally, I manually locked the screen before closing the lid. Now it crashed again, but only once after the second event call. Can not reproduce it anymore...

    If there is anything else I can try, let me know. I am happy to help.

    PS: Next time starting kitty, I see the following error message. I guess this is related to the session feature. But this does not happen every time.

    /bin/date: option requires an argument -- r
    usage: date [-jnRu] [-I[date|hours|minutes|seconds|ns]] [-f input_fmt]
                [ -z output_zone ] [-r filename|seconds] [-v[+|-]val[y|m|w|d|H|M|S]]
                [[[[mm]dd]HH]MM[[cc]yy][.SS] | new_date] [+output_fmt]
    Restored session: 
    
  18. kovidgoyal commented on Oct 2, 2025

    @kovidgoyal
    Owner

    skipping random numbersof events is too messy and can impact live redraw functionality during an actual resize, skipping one is ok. I'm afraid I dont see a good way to fix this, sorry.

  19. Walther commented on Oct 6, 2025

    @Walther

    Consistent repro:

    1. MBP in "clamshell mode" - lid closed, connected to an external monitor via usb-c
    2. kitty open in a fullscreen window (on the external monitor)
    3. unplug the usb-c cable (with or without going to Lock Screen first)
    4. re-plug the cable after a brief moment, log back in
    5. kitty has crashed (zsh: segmentation fault when run with kitty --config=NONE from Terminal.app)

    Notably, you don't even have to open the lid. Guess: maybe the OS resizes the windows during the external monitor disconnect/connect, regardless of whether you end up using the internal display at all?


    macOS Tahoe 26.0.1 (25A362)
    kitty 0.43.1 via Homebrew

    EDIT: with the debug output

    kitty --config=NONE --debug-rendering
    Polling for monitors: 1 found
    [0.157] system color-scheme changed to: dark is_initial_value: 0
    [0.197] GL version string: '4.1 Metal - 90.5' Detected version: 4.1
    [0.230] Window Chrome state:
    	background: Catalog color: System windowBackgroundColor
    	appearance: <nil> color_space: sRGB IEC61966-2.1
    	blur: 0 has_shadow: 1 resizable: 1 decorations: full (1)
    	titlebar_transparent: 0 titlebar_color: <nil> title_visibility: 1 hidden: 0 buttons_hidden: 0
    [0.238] OS Window created
    [0.249] Child launched
    [0.292] OSWindow 1 occlusion state changed, occluded: 0
    [1.007] windowDidResize() called, is_screen_change: 0
    [1.022] SIGWINCH sent to child in window: 1 with size: (135, 429, 6006, 3375)
    [1.061] OSWindow 1 occlusion state changed, occluded: 1
    Polling for monitors: 1 found
    [1.587] OSWindow 1 occlusion state changed, occluded: 0
    [1.598] No render frame received in 0.25 seconds, re-requesting
    [4.039] windowDidResize() called, is_screen_change: 0
    [4.546] No render frame received in 0.25 seconds, re-requesting
    zsh: segmentation fault  kitty --config=NONE --debug-rendering
    
  20. kovidgoyal commented on Oct 6, 2025

    @kovidgoyal
    Owner

    Doesnt crash for me with those steps, though on my macbook i dont have
    to log back in after disconnceting the external monitor.

  21. kovidgoyal commented on Oct 7, 2025

    @kovidgoyal
    Owner

    It occurs to me that both your crashes are related to the loginwindow, for some reason when loginwindow becomes frontmost it causes multiple resize events to be sent to kitty. Try turning off require password after display is turned off in the lock screen section of system settings and see if it still happens to you.

  22. kovidgoyal commented on Oct 7, 2025

    @kovidgoyal
    Owner

    And I had a minor brainwave, see if this fixes it: d3c5cb1

  23. Walther commented on Oct 7, 2025

    @Walther

    Built from source at 224ccb1, works beautifully! Could not make it crash despite multiple monitor connect/disconnect cycles, lid open/close cycles, lock screens and so on. Thank you for all the hard work! 🧡

  24. spreiter commented on Oct 7, 2025

    @spreiter

    First tests look promising on my side as well 👍

    Thanks for all your efforts!

  25. kovidgoyal commented on Oct 7, 2025

    @kovidgoyal
    Owner

    Phew! 😅

  26. underley commented on Oct 29, 2025

    @underley

    The bug is back. Kitty 0.43.1, MacOS Tahoe 26.0.1 (25A362)

  27. underley commented on Oct 29, 2025

    @underley
  28. spreiter commented on Oct 29, 2025

    @spreiter

    Hi @underley ,
    the commit d3c5cb1 helped for me, but I had to compile it manually. Version 0.43.1 does not include it and 0.43.2 is not yet released. I am currently running on 224ccb1 since some time.

  29. added a commit that references this issue on Jul 8, 2026
    740a14c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions