Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native crash in CGPoint.findIn #164

Open
nikitabobko opened this issue Feb 16, 2024 · 6 comments
Open

Native crash in CGPoint.findIn #164

nikitabobko opened this issue Feb 16, 2024 · 6 comments
Labels
bug Something isn't working as expected triaged The issue makes sense to maintainers

Comments

@nikitabobko
Copy link
Owner

          I managed to pull this:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               AeroSpace [8263]
Path:                  /Applications/AeroSpace.app/Contents/MacOS/AeroSpace
Identifier:            bobko.aerospace
Version:               0.8.4-Beta (0.8.4)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2024-02-13 20:04:25.7627 +0100
OS Version:            macOS 14.3 (23D56)
Report Version:        12
Anonymous UUID:        C0B9408C-FBCD-3420-78D0-A8C6235452E9

Sleep/Wake UUID:       BABE6B69-18B8-4F91-81A4-8C0C0CF7FD25

Time Awake Since Boot: 160000 seconds
Time Since Wake:       4050 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x00000001044da750

Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process:   exc handler [8263]

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   AeroSpace                     	       0x1044da750 CGPoint.findIn(tree:virtual:) + 496
1   AeroSpace                     	       0x1044dacac moveTilingWindow(_:) + 288
2   AeroSpace                     	       0x1044db3f8 specialized movedObs(_:ax:notif:data:) + 144
3   HIServices                    	       0x18fd5c3f4 _XXMIGPostNotification + 888
4   HIServices                    	       0x18fd874a8 _XPostNotification + 360
5   HIServices                    	       0x18fd3e3b8 mshMIGPerform + 204
6   CoreFoundation                	       0x1899cff6c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 60
7   CoreFoundation                	       0x1899cfe8c __CFRunLoopDoSource1 + 520
8   CoreFoundation                	       0x1899ce858 __CFRunLoopRun + 2244
9   CoreFoundation                	       0x1899cd93c CFRunLoopRunSpecific + 608
10  HIToolbox                     	       0x193f96448 RunCurrentEventLoopInMode + 292
11  HIToolbox                     	       0x193f96284 ReceiveNextEventCommon + 648
12  HIToolbox                     	       0x193f95fdc _BlockUntilNextEventMatchingListInModeWithFilter + 76
13  AppKit                        	       0x18d1aced0 _DPSNextEvent + 660
14  AppKit                        	       0x18d997eec -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
15  AppKit                        	       0x18d1a037c -[NSApplication run] + 476
16  AppKit                        	       0x18d177640 NSApplicationMain + 880
17  SwiftUI                       	       0x1b46e3004 0x1b4609000 + 892932
18  SwiftUI                       	       0x1b4f725ec 0x1b4609000 + 9868780
19  SwiftUI                       	       0x1b53b9a18 0x1b4609000 + 14354968
20  AeroSpace                     	       0x10449ffd4 main + 36
21  dyld                          	       0x1895710e0 start + 2360

Thread 1::  Dispatch queue: com.apple.root.default-qos
0   libsystem_kernel.dylib        	       0x1898ba1c0 __accept + 8
1   AeroSpace                     	       0x104557228 Socket.acceptClientConnection(invokeDelegate:) + 456
2   AeroSpace                     	       0x104501024 closure #3 in startServer() + 180
3   AeroSpace                     	       0x1045033e0 thunk for @escaping @callee_guaranteed @Sendable () -> () + 28
4   libdispatch.dylib             	       0x18973ecb8 _dispatch_call_block_and_release + 32
5   libdispatch.dylib             	       0x189740910 _dispatch_client_callout + 20
6   libdispatch.dylib             	       0x189743a5c _dispatch_queue_override_invoke + 928
7   libdispatch.dylib             	       0x1897521f4 _dispatch_root_queue_drain + 392
8   libdispatch.dylib             	       0x189752a04 _dispatch_worker_thread2 + 156
9   libsystem_pthread.dylib       	       0x1898ee0d8 _pthread_wqthread + 228
10  libsystem_pthread.dylib       	       0x1898ece30 start_wqthread + 8

Thread 2:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	       0x1898b1874 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1898c3cf0 mach_msg2_internal + 80
2   libsystem_kernel.dylib        	       0x1898ba4b0 mach_msg_overwrite + 476
3   libsystem_kernel.dylib        	       0x1898b1bf8 mach_msg + 24
4   CoreFoundation                	       0x1899cfb84 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                	       0x1899ce44c __CFRunLoopRun + 1208
6   CoreFoundation                	       0x1899cd93c CFRunLoopRunSpecific + 608
7   AppKit                        	       0x18d2d6160 _NSEventThread + 144
8   libsystem_pthread.dylib       	       0x1898f2034 _pthread_start + 136
9   libsystem_pthread.dylib       	       0x1898ece3c thread_start + 8

Thread 3:
0   libsystem_pthread.dylib       	       0x1898ece28 start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib       	       0x1898ece28 start_wqthread + 0


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x00006000017bcc00   x1: 0x0000000400000003   x2: 0x0000000200000003   x3: 0x0000000000000003
    x4: 0x0000000400000003   x5: 0x0000000000000003   x6: 0x0000000200000003   x7: 0x0000000000000003
    x8: 0x00006000017bcc68   x9: 0x00006000017bcc60  x10: 0x00006000017bcc78  x11: 0x00006000017bcc70
   x12: 0x0000000000000000  x13: 0x00000000000007fd  x14: 0x00000000e444990f  x15: 0x000000000000010f
   x16: 0x000000019954f2ac  x17: 0x0000000000049800  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x00006000017bcc00  x21: 0x00006000008b1270  x22: 0x0000000000000003  x23: 0x0000000000000003
   x24: 0x0000000000000000  x25: 0x0000000000000006  x26: 0x0000000000000008  x27: 0x0000000104938000
   x28: 0x00006000025ff8a0   fp: 0x000000016b965070   lr: 0x00000001044da64c
    sp: 0x000000016b965000   pc: 0x00000001044da750 cpsr: 0x20001000
   far: 0x0000000000000000  esr: 0xf2000001 (Breakpoint) brk 1

Binary Images:
       0x104b48000 -        0x104b53fff libobjc-trampolines.dylib (*) <39d1d8d0-6996-3bd4-8ce9-39512bb65c82> /usr/lib/libobjc-trampolines.dylib
       0x104498000 -        0x1045bbfff bobko.aerospace (0.8.4-Beta) <25a02a52-47df-36c0-9d0d-eab76fee3c5c> /Applications/AeroSpace.app/Contents/MacOS/AeroSpace
       0x18fd33000 -        0x18fd96fff com.apple.HIServices (1.22) <d8fe0349-f7d7-3ff2-9640-f3ecd800182b> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
       0x189952000 -        0x189e29fff com.apple.CoreFoundation (6.9) <6030a572-b731-3f46-b3a0-2598fbb98c9a> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x193f66000 -        0x194225fff com.apple.HIToolbox (2.1.1) <db8a8b63-7bfb-384b-b0a9-c124675fbb39> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
       0x18d173000 -        0x18e49efff com.apple.AppKit (6.9) <873e5da0-bc01-399b-bf60-4066922d6a17> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x1b4609000 -        0x1b6448fff com.apple.SwiftUI (5.3.3) <397e2054-e98d-3d1e-bf74-4fd8e5fb0f49> /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI
       0x18956b000 -        0x1895ff387 dyld (*) <50746901-db0e-39a0-b391-baaa6b82ad0f> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x1991c1000 -        0x199701fff libswiftCore.dylib (*) <7eba7ef0-57d2-3155-b45d-1a4d40a732f3> /usr/lib/swift/libswiftCore.dylib
       0x1898b0000 -        0x1898eafff libsystem_kernel.dylib (*) <a7228b5d-53c7-3fe9-84e4-2a8c04dcf051> /usr/lib/system/libsystem_kernel.dylib
       0x18973d000 -        0x189783fff libdispatch.dylib (*) <5aa1649c-ef1d-39f7-a66c-4c5d2e53c474> /usr/lib/system/libdispatch.dylib
       0x1898eb000 -        0x1898f7ff3 libsystem_pthread.dylib (*) <449bbad3-f7ef-371d-9a59-fd4ffa78289b> /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


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

{"app_name":"AeroSpace","timestamp":"2024-02-13 20:04:35.00 +0100","app_version":"0.8.4-Beta","slice_uuid":"25a02a52-47df-36c0-9d0d-eab76fee3c5c","build_version":"0.8.4","platform":1,"bundleID":"bobko.aerospace","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.3 (23D56)","roots_installed":0,"name":"AeroSpace","incident_id":"CEE8512A-975C-4571-AF8F-55B0A0566683"}
{
  "uptime" : 160000,
  "procRole" : "Default",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookAir10,1",
  "coalitionID" : 3429,
  "osVersion" : {
    "train" : "macOS 14.3",
    "build" : "23D56",
    "releaseType" : "User"
  },
  "captureTime" : "2024-02-13 20:04:25.7627 +0100",
  "codeSigningMonitor" : 1,
  "incident" : "CEE8512A-975C-4571-AF8F-55B0A0566683",
  "pid" : 8263,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-02-07 18:46:53.8955 +0100",
  "procStartAbsTime" : 654291076981,
  "procExitAbsTime" : 3842486591475,
  "procName" : "AeroSpace",
  "procPath" : "\/Applications\/AeroSpace.app\/Contents\/MacOS\/AeroSpace",
  "bundleInfo" : {"CFBundleShortVersionString":"0.8.4-Beta","CFBundleVersion":"0.8.4","CFBundleIdentifier":"bobko.aerospace"},
  "storeInfo" : {"deviceIdentifierForVendor":"C065101F-2D87-56E5-A70B-E43425E21A8F","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "bobko.aerospace",
  "crashReporterKey" : "C0B9408C-FBCD-3420-78D0-A8C6235452E9",
  "lowPowerMode" : 1,
  "codeSigningID" : "bobko.aerospace",
  "codeSigningTeamID" : "4MWP47XA68",
  "codeSigningFlags" : 1644167685,
  "codeSigningValidationCategory" : 3,
  "codeSigningTrustLevel" : 4294967295,
  "instructionByteStream" : {"beforePC":"4AMVqiBBYB4BQWAei\/\/\/l\/UDAKrgAxSqQQCAUgPrApQSAAAUIAAg1A==","atPC":"IAAg1CAAINSo4n2SvwIA8RShlZrgAxWqQQCAUmbqApTgAxSqPecClA=="},
  "wakeTime" : 4050,
  "sleepWakeUUID" : "BABE6B69-18B8-4F91-81A4-8C0C0CF7FD25",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000001, 0x00000001044da750","rawCodes":[1,4367165264],"type":"EXC_BREAKPOINT","signal":"SIGTRAP"},
  "termination" : {"flags":0,"code":5,"namespace":"SIGNAL","indicator":"Trace\/BPT trap: 5","byProc":"exc handler","byPid":8263},
  "os_fault" : {"process":"AeroSpace"},
  "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":289996,"threadState":{"x":[{"value":105553141156864},{"value":17179869187},{"value":8589934595},{"value":3},{"value":17179869187},{"value":3},{"value":8589934595},{"value":3},{"value":105553141156968},{"value":105553141156960},{"value":105553141156984},{"value":105553141156976},{"value":0},{"value":2045},{"value":3829700879},{"value":271},{"value":6867448492,"symbolLocation":0,"symbol":"swift_retain"},{"value":301056},{"value":0},{"value":0},{"value":105553141156864},{"value":105553125380720},{"value":3},{"value":3},{"value":0},{"value":6},{"value":8},{"value":4371742720},{"value":105553156110496}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4367165004},"cpsr":{"value":536875008},"fp":{"value":6099980400},"sp":{"value":6099980288},"esr":{"value":4060086273,"description":"(Breakpoint) brk 1"},"pc":{"value":4367165264,"matchesCrashFrame":1},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":272208,"symbol":"CGPoint.findIn(tree:virtual:)","symbolLocation":496,"imageIndex":1},{"imageOffset":273580,"symbol":"moveTilingWindow(_:)","symbolLocation":288,"imageIndex":1},{"imageOffset":275448,"symbol":"specialized movedObs(_:ax:notif:data:)","symbolLocation":144,"imageIndex":1},{"imageOffset":168948,"symbol":"_XXMIGPostNotification","symbolLocation":888,"imageIndex":2},{"imageOffset":345256,"symbol":"_XPostNotification","symbolLocation":360,"imageIndex":2},{"imageOffset":46008,"symbol":"mshMIGPerform","symbolLocation":204,"imageIndex":2},{"imageOffset":515948,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__","symbolLocation":60,"imageIndex":3},{"imageOffset":515724,"symbol":"__CFRunLoopDoSource1","symbolLocation":520,"imageIndex":3},{"imageOffset":510040,"symbol":"__CFRunLoopRun","symbolLocation":2244,"imageIndex":3},{"imageOffset":506172,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":3},{"imageOffset":197704,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":4},{"imageOffset":197252,"symbol":"ReceiveNextEventCommon","symbolLocation":648,"imageIndex":4},{"imageOffset":196572,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":76,"imageIndex":4},{"imageOffset":237264,"symbol":"_DPSNextEvent","symbolLocation":660,"imageIndex":5},{"imageOffset":8539884,"symbol":"-[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":716,"imageIndex":5},{"imageOffset":185212,"symbol":"-[NSApplication run]","symbolLocation":476,"imageIndex":5},{"imageOffset":17984,"symbol":"NSApplicationMain","symbolLocation":880,"imageIndex":5},{"imageOffset":892932,"imageIndex":6},{"imageOffset":9868780,"imageIndex":6},{"imageOffset":14354968,"imageIndex":6},{"imageOffset":32724,"symbol":"main","symbolLocation":36,"imageIndex":1},{"imageOffset":24800,"symbol":"start","symbolLocation":2360,"imageIndex":7}]},{"id":290098,"threadState":{"x":[{"value":4},{"value":0},{"value":6101117920},{"value":4793058194},{"value":0},{"value":3168},{"value":105553159965792},{"value":0},{"value":128},{"value":0},{"value":110907321286656},{"value":16},{"value":105553160039332},{"value":2095104},{"value":2043},{"value":4015638727},{"value":30},{"value":4017735675},{"value":0},{"value":4793057920},{"value":4793058194},{"value":0},{"value":6101117968},{"value":0},{"value":4793057972},{"value":8054906560,"symbolLocation":1536,"symbol":"_dispatch_root_queues"},{"value":9223372041222726720},{"value":14987979559889010718},{"value":4367950448}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4367675944},"cpsr":{"value":1610616832},"fp":{"value":6101118384},"sp":{"value":6101117568},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6602596800},"far":{"value":0}},"queue":"com.apple.root.default-qos","frames":[{"imageOffset":41408,"symbol":"__accept","symbolLocation":8,"imageIndex":10},{"imageOffset":782888,"symbol":"Socket.acceptClientConnection(invokeDelegate:)","symbolLocation":456,"imageIndex":1},{"imageOffset":430116,"symbol":"closure #3 in startServer()","symbolLocation":180,"imageIndex":1},{"imageOffset":439264,"symbol":"thunk for @escaping @callee_guaranteed @Sendable () -> ()","symbolLocation":28,"imageIndex":1},{"imageOffset":7352,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":11},{"imageOffset":14608,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":11},{"imageOffset":27228,"symbol":"_dispatch_queue_override_invoke","symbolLocation":928,"imageIndex":11},{"imageOffset":86516,"symbol":"_dispatch_root_queue_drain","symbolLocation":392,"imageIndex":11},{"imageOffset":88580,"symbol":"_dispatch_worker_thread2","symbolLocation":156,"imageIndex":11},{"imageOffset":12504,"symbol":"_pthread_wqthread","symbolLocation":228,"imageIndex":12},{"imageOffset":7728,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":12}]},{"id":290191,"name":"com.apple.NSEventThread","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":271592256962560},{"value":0},{"value":271592256962560},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":63235},{"value":0},{"value":1},{"value":63235},{"value":76335},{"value":0},{"value":0},{"value":18446744073709551569},{"value":8206415920},{"value":0},{"value":4294967295},{"value":2},{"value":271592256962560},{"value":0},{"value":271592256962560},{"value":6102835304},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6602636528},"cpsr":{"value":4096},"fp":{"value":6102835152},"sp":{"value":6102835072},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6602561652},"far":{"value":0}},"frames":[{"imageOffset":6260,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":10},{"imageOffset":81136,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":10},{"imageOffset":42160,"symbol":"mach_msg_overwrite","symbolLocation":476,"imageIndex":10},{"imageOffset":7160,"symbol":"mach_msg","symbolLocation":24,"imageIndex":10},{"imageOffset":514948,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":3},{"imageOffset":509004,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":3},{"imageOffset":506172,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":3},{"imageOffset":1454432,"symbol":"_NSEventThread","symbolLocation":144,"imageIndex":5},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":12},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":12}]},{"id":2136980,"frames":[{"imageOffset":7720,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":12}],"threadState":{"x":[{"value":6101692416},{"value":30655},{"value":6101155840},{"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":4096},"fp":{"value":0},"sp":{"value":6101692416},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6602804776},"far":{"value":0}}},{"id":2137698,"frames":[{"imageOffset":7720,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":12}],"threadState":{"x":[{"value":6100545536},{"value":48667},{"value":6100008960},{"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":4096},"fp":{"value":0},"sp":{"value":6100545536},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6602804776},"far":{"value":0}}}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4373905408,
    "size" : 49152,
    "uuid" : "39d1d8d0-6996-3bd4-8ce9-39512bb65c82",
    "path" : "\/usr\/lib\/libobjc-trampolines.dylib",
    "name" : "libobjc-trampolines.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4366893056,
    "CFBundleShortVersionString" : "0.8.4-Beta",
    "CFBundleIdentifier" : "bobko.aerospace",
    "size" : 1196032,
    "uuid" : "25a02a52-47df-36c0-9d0d-eab76fee3c5c",
    "path" : "\/Applications\/AeroSpace.app\/Contents\/MacOS\/AeroSpace",
    "name" : "AeroSpace",
    "CFBundleVersion" : "0.8.4"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6707949568,
    "CFBundleShortVersionString" : "1.22",
    "CFBundleIdentifier" : "com.apple.HIServices",
    "size" : 409600,
    "uuid" : "d8fe0349-f7d7-3ff2-9640-f3ecd800182b",
    "path" : "\/System\/Library\/Frameworks\/ApplicationServices.framework\/Versions\/A\/Frameworks\/HIServices.framework\/Versions\/A\/HIServices",
    "name" : "HIServices"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6603218944,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5079040,
    "uuid" : "6030a572-b731-3f46-b3a0-2598fbb98c9a",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "2303"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6777364480,
    "CFBundleShortVersionString" : "2.1.1",
    "CFBundleIdentifier" : "com.apple.HIToolbox",
    "size" : 2883584,
    "uuid" : "db8a8b63-7bfb-384b-b0a9-c124675fbb39",
    "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
    "name" : "HIToolbox"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6662074368,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 20103168,
    "uuid" : "873e5da0-bc01-399b-bf60-4066922d6a17",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2487.40.107"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7321194496,
    "CFBundleShortVersionString" : "5.3.3",
    "CFBundleIdentifier" : "com.apple.SwiftUI",
    "size" : 31719424,
    "uuid" : "397e2054-e98d-3d1e-bf74-4fd8e5fb0f49",
    "path" : "\/System\/Library\/Frameworks\/SwiftUI.framework\/Versions\/A\/SwiftUI",
    "name" : "SwiftUI",
    "CFBundleVersion" : "5.3.3"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6599127040,
    "size" : 607112,
    "uuid" : "50746901-db0e-39a0-b391-baaa6b82ad0f",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6863720448,
    "size" : 5509120,
    "uuid" : "7eba7ef0-57d2-3155-b45d-1a4d40a732f3",
    "path" : "\/usr\/lib\/swift\/libswiftCore.dylib",
    "name" : "libswiftCore.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6602555392,
    "size" : 241664,
    "uuid" : "a7228b5d-53c7-3fe9-84e4-2a8c04dcf051",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6601035776,
    "size" : 290816,
    "uuid" : "5aa1649c-ef1d-39f7-a66c-4c5d2e53c474",
    "path" : "\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6602797056,
    "size" : 53236,
    "uuid" : "449bbad3-f7ef-371d-9a59-fd4ffa78289b",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  }
],
  "sharedCache" : {
  "base" : 6598377472,
  "size" : 4065345536,
  "uuid" : "b81268a5-00ed-3883-b922-13118e8800fe"
},
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "bffe471477868a5525b76cd5c46a27a0de5e5ca3",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "62745b8e85854550ad70b6e4",
      "factorPackIds" : {
        "SIRI_TTS_DEVICE_TRAINING" : "6539d7f333b9b7499c6f1b63"
      },
      "deploymentId" : 240000073
    },
    {
      "rolloutId" : "60f8ddccefea4203d95cbeef",
      "factorPackIds" : {

      },
      "deploymentId" : 240000025
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "5d51a80d-93ec-47e1-9027-675002e78e4a",
      "experimentId" : "6384d56b96e8d228551ec182",
      "deploymentId" : 400000025
    }
  ]
}
}

Originally posted by @alper in #152 (comment)

@nikitabobko
Copy link
Owner Author

nikitabobko commented Feb 16, 2024

Also reported here: #68 (comment)

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               AeroSpace [1180]
Path:                  /Applications/AeroSpace.app/Contents/MacOS/AeroSpace
Identifier:            bobko.aerospace
Version:               0.8.4-Beta (0.8.4)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2024-02-13 12:28:12.6251 +0100
OS Version:            macOS 14.3.1 (23D60)
Report Version:        12
Bridge OS Version:     8.3 (21P3049)
Anonymous UUID:        4CB793F4-151D-B6B9-0698-5038E6C73D6E

Sleep/Wake UUID:       95D362E3-49F4-4CED-80A2-B333121D7C6A

Time Awake Since Boot: 63000 seconds
Time Since Wake:       5994 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process:   exc handler [1180]

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   AeroSpace                     	       0x10d3ec1c5 CGPoint.findIn(tree:virtual:) + 581
1   AeroSpace                     	       0x10d3ec732 moveTilingWindow(_:) + 290
2   AeroSpace                     	       0x10d3eced2 specialized movedObs(_:ax:notif:data:) + 130
3   HIServices                    	    0x7ff8127a0b5c _XXMIGPostNotification + 889
4   HIServices                    	    0x7ff8127c86a1 _XPostNotification + 320
5   HIServices                    	    0x7ff812784363 mshMIGPerform + 187
6   CoreFoundation                	    0x7ff80c436527 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
7   CoreFoundation                	    0x7ff80c43645e __CFRunLoopDoSource1 + 534
8   CoreFoundation                	    0x7ff80c4350d6 __CFRunLoopRun + 2700
9   CoreFoundation                	    0x7ff80c434082 CFRunLoopRunSpecific + 557
10  HIToolbox                     	    0x7ff816d269d9 RunCurrentEventLoopInMode + 292
11  HIToolbox                     	    0x7ff816d267e6 ReceiveNextEventCommon + 665
12  HIToolbox                     	    0x7ff816d26531 _BlockUntilNextEventMatchingListInModeWithFilter + 66
13  AppKit                        	    0x7ff80fa44c39 _DPSNextEvent + 880
14  AppKit                        	    0x7ff81034e804 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1304
15  AppKit                        	    0x7ff80fa361b2 -[NSApplication run] + 603
16  AppKit                        	    0x7ff80fa0a1c1 NSApplicationMain + 816
17  SwiftUI                       	    0x7ff9184d1875 0x7ff91841c000 + 743541
18  SwiftUI                       	    0x7ff918cd7014 0x7ff91841c000 + 9154580
19  SwiftUI                       	    0x7ff91913587f 0x7ff91841c000 + 13736063
20  AeroSpace                     	       0x10d3abc1e main + 30
21  dyld                          	    0x7ff80bfcf386 start + 1942

Thread 1::  Dispatch queue: com.apple.root.default-qos
0   libsystem_kernel.dylib        	    0x7ff80c321832 __accept + 10
1   AeroSpace                     	       0x10d471fd0 Socket.acceptClientConnection(invokeDelegate:) + 528
2   AeroSpace                     	       0x10d417363 closure #3 in startServer() + 147
3   AeroSpace                     	       0x10d419fa9 thunk for @escaping @callee_guaranteed @Sendable () -> () + 25
4   libdispatch.dylib             	    0x7ff80c1b12e6 _dispatch_call_block_and_release + 12
5   libdispatch.dylib             	    0x7ff80c1b259a _dispatch_client_callout + 8
6   libdispatch.dylib             	    0x7ff80c1b4dba _dispatch_queue_override_invoke + 977
7   libdispatch.dylib             	    0x7ff80c1c1776 _dispatch_root_queue_drain + 328
8   libdispatch.dylib             	    0x7ff80c1c1f22 _dispatch_worker_thread2 + 152
9   libsystem_pthread.dylib       	    0x7ff80c356c06 _pthread_wqthread + 262
10  libsystem_pthread.dylib       	    0x7ff80c355b97 start_wqthread + 15

Thread 2:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	    0x7ff80c31aa2e mach_msg2_trap + 10
1   libsystem_kernel.dylib        	    0x7ff80c328e3a mach_msg2_internal + 84
2   libsystem_kernel.dylib        	    0x7ff80c321b62 mach_msg_overwrite + 653
3   libsystem_kernel.dylib        	    0x7ff80c31ad1f mach_msg + 19
4   CoreFoundation                	    0x7ff80c436135 __CFRunLoopServiceMachPort + 143
5   CoreFoundation                	    0x7ff80c434ba5 __CFRunLoopRun + 1371
6   CoreFoundation                	    0x7ff80c434082 CFRunLoopRunSpecific + 557
7   AppKit                        	    0x7ff80fba1aac _NSEventThread + 122
8   libsystem_pthread.dylib       	    0x7ff80c35a202 _pthread_start + 99
9   libsystem_pthread.dylib       	    0x7ff80c355bab thread_start + 15

Thread 3:
0   libsystem_pthread.dylib       	    0x7ff80c355b88 start_wqthread + 0


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000600000ddca68  rbx: 0x0000000000000000  rcx: 0x0000600000ddca78  rdx: 0x0000600000ddca60
  rdi: 0x0000600000ddca80  rsi: 0x0000600000ddca70  rbp: 0x00007ff7b2b57f90  rsp: 0x00007ff7b2b57f40
   r8: 0x0000000000000001   r9: 0x80000000ffffffff  r10: 0x0000000100000000  r11: 0x0000000200000000
  r12: 0x0000000000000004  r13: 0x0000000000000004  r14: 0x0000600000ddca00  r15: 0x00006000024dd7c0
  rip: 0x000000010d3ec1c5  rfl: 0x0000000000010203  cr2: 0x0000000000000000
  
Logical CPU:     6
Error Code:      0x00000000 
Trap Number:     6

Thread 0 instruction stream:
  85 c0 74 0d 4c 89 f7 e8-56 9c 0c 00 e9 89 00 00  ..t.L...V.......
  00 31 ff e8 e3 93 fe ff-4c 89 f7 48 89 c6 e8 2b  .1......L..H...+
  9b 0c 00 48 85 c0 0f 84-83 00 00 00 49 89 c7 4c  ...H........I..L
  89 f7 e8 37 9c 0c 00 0f-b6 f3 4c 89 ff f2 0f 10  ...7......L.....
  45 c8 f2 0f 10 4d d0 e8-cf fd ff ff 49 89 c7 4c  E....M......I..L
  89 f7 be 02 00 00 00 e8-0c 9c 0c 00 eb 3f 0f 0b  .............?..
 [0f]0b 0f 0b 41 f6 c7 01-4d 0f 45 f7 4c 89 ff be  ....A...M.E.L...	<==
  02 00 00 00 e8 b1 9a 0c-00 4c 89 f7 e8 25 94 0c  .........L...%..
  00 49 89 c4 4d 85 e4 0f-85 3a fe ff ff 4c 89 ff  .I..M....:...L..
  be 02 00 00 00 e8 84 9a-0c 00 45 31 ff 4c 89 f8  ..........E1.L..
  48 83 c4 28 5b 41 5c 41-5d 41 5e 41 5f 5d c3 4c  H..([A\A]A^A_].L
  89 f7 e8 b7 9b 0c 00 48-83 ec 08 48 8b 05 81 ef  .......H...H....

Binary Images:
       0x10da80000 -        0x10da8ffff libobjc-trampolines.dylib (*) <06997eb3-387c-3024-b943-376aa535a09c> /usr/lib/libobjc-trampolines.dylib
       0x10d3a5000 -        0x10d4d8fff bobko.aerospace (0.8.4-Beta) <84673277-3c37-3965-b306-aa21a24fe533> /Applications/AeroSpace.app/Contents/MacOS/AeroSpace
    0x7ff81277a000 -     0x7ff8127d5ff8 com.apple.HIServices (1.22) <07a2f3d1-7698-32ec-a5cb-a03d12d4e325> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7ff80c3ba000 -     0x7ff80c854fec com.apple.CoreFoundation (6.9) <d9705b29-47af-343b-ba26-5cda3166731e> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff816cf6000 -     0x7ff816f91ff4 com.apple.HIToolbox (2.1.1) <4cd47f03-ed80-3f2a-bbdf-d7af11cb4ccb> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7ff80fa06000 -     0x7ff810e24ff6 com.apple.AppKit (6.9) <660b78d6-113f-3abd-8969-a6cb84fff752> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7ff91841c000 -     0x7ff91a0d7ff7 com.apple.SwiftUI (5.3.3) <f960f45d-66ad-380a-af53-8015026a3190> /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI
    0x7ff80bfc9000 -     0x7ff80c0653ff dyld (*) <01ae3ae3-f6ca-34d1-a2f8-462ede5fa818> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
    0x7ff80c319000 -     0x7ff80c353ff7 libsystem_kernel.dylib (*) <3e22fb41-20e3-3568-a00b-d8e901e333bf> /usr/lib/system/libsystem_kernel.dylib
    0x7ff80c1af000 -     0x7ff80c1f5ffd libdispatch.dylib (*) <c964889c-7792-333d-93f6-8f3e51a9f4c2> /usr/lib/system/libdispatch.dylib
    0x7ff80c354000 -     0x7ff80c35ffff libsystem_pthread.dylib (*) <0f6c8ecc-a9bd-39c6-9f41-a8b9159201eb> /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=723.5M resident=0K(0%) swapped_out_or_unallocated=723.5M(100%)
Writable regions: Total=2.7G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.7G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
AttributeGraph Data               1024K        1 
ColorSync                          236K       29 
CoreAnimation                       36K        1 
CoreGraphics                        16K        3 
Foundation                          16K        1 
Kernel Alloc Once                    8K        1 
MALLOC                             2.7G      101 
MALLOC guard page                   72K       18 
STACK GUARD                       56.0M        4 
Stack                             9752K        4 
VM_ALLOCATE                        120K        9 
__CTF                               824        1 
__DATA                            28.0M      440 
__DATA_CONST                      27.9M      270 
__DATA_DIRTY                      1123K      137 
__FONT_DATA                        2352        1 
__LINKEDIT                       182.7M        4 
__OBJC_RO                         71.1M        1 
__OBJC_RW                         2172K        2 
__TEXT                           540.8M      460 
dyld private memory                260K        2 
mapped file                      174.6M       25 
shared memory                      788K       16 
===========                     =======  ======= 
TOTAL                              3.8G     1532 



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

{"app_name":"AeroSpace","timestamp":"2024-02-13 12:28:13.00 +0100","app_version":"0.8.4-Beta","slice_uuid":"84673277-3c37-3965-b306-aa21a24fe533","build_version":"0.8.4","platform":1,"bundleID":"bobko.aerospace","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.3.1 (23D60)","roots_installed":0,"name":"AeroSpace","incident_id":"075C0488-DB30-49A9-892F-4FD13306CC27"}
{
  "uptime" : 63000,
  "procRole" : "Default",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,1",
  "coalitionID" : 1190,
  "osVersion" : {
    "train" : "macOS 14.3.1",
    "build" : "23D60",
    "releaseType" : "User"
  },
  "captureTime" : "2024-02-13 12:28:12.6251 +0100",
  "codeSigningMonitor" : 0,
  "incident" : "075C0488-DB30-49A9-892F-4FD13306CC27",
  "pid" : 1180,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-02-11 12:04:26.3368 +0100",
  "procStartAbsTime" : 157372007802,
  "procExitAbsTime" : 63106257566020,
  "procName" : "AeroSpace",
  "procPath" : "\/Applications\/AeroSpace.app\/Contents\/MacOS\/AeroSpace",
  "bundleInfo" : {"CFBundleShortVersionString":"0.8.4-Beta","CFBundleVersion":"0.8.4","CFBundleIdentifier":"bobko.aerospace"},
  "storeInfo" : {"deviceIdentifierForVendor":"A557E7B3-B0E3-5C14-97A2-A6BC52B2A359","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "bobko.aerospace",
  "crashReporterKey" : "4CB793F4-151D-B6B9-0698-5038E6C73D6E",
  "codeSigningID" : "bobko.aerospace",
  "codeSigningTeamID" : "4MWP47XA68",
  "codeSigningFlags" : 1644167685,
  "codeSigningValidationCategory" : 3,
  "codeSigningTrustLevel" : 4294967295,
  "wakeTime" : 5994,
  "bridgeVersion" : {"build":"21P3049","train":"8.3"},
  "sleepWakeUUID" : "95D362E3-49F4-4CED-80A2-B333121D7C6A",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_INSTRUCTION","signal":"SIGILL"},
  "termination" : {"flags":0,"code":4,"namespace":"SIGNAL","indicator":"Illegal instruction: 4","byProc":"exc handler","byPid":1180},
  "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":15118,"instructionState":{"instructionStream":{"bytes":[133,192,116,13,76,137,247,232,86,156,12,0,233,137,0,0,0,49,255,232,227,147,254,255,76,137,247,72,137,198,232,43,155,12,0,72,133,192,15,132,131,0,0,0,73,137,199,76,137,247,232,55,156,12,0,15,182,243,76,137,255,242,15,16,69,200,242,15,16,77,208,232,207,253,255,255,73,137,199,76,137,247,190,2,0,0,0,232,12,156,12,0,235,63,15,11,15,11,15,11,65,246,199,1,77,15,69,247,76,137,255,190,2,0,0,0,232,177,154,12,0,76,137,247,232,37,148,12,0,73,137,196,77,133,228,15,133,58,254,255,255,76,137,255,190,2,0,0,0,232,132,154,12,0,69,49,255,76,137,248,72,131,196,40,91,65,92,65,93,65,94,65,95,93,195,76,137,247,232,183,155,12,0,72,131,236,8,72,139,5,129,239],"offset":96}},"threadState":{"r13":{"value":4},"rax":{"value":105553130801768},"rflags":{"value":66051},"cpu":{"value":6},"r14":{"value":105553130801664},"rsi":{"value":105553130801776},"r8":{"value":1},"cr2":{"value":0},"rdx":{"value":105553130801760},"r10":{"value":4294967296},"r9":{"value":9223372041149743103},"r15":{"value":105553154922432},"rbx":{"value":0},"trap":{"value":6},"err":{"value":0},"r11":{"value":8589934592},"rip":{"value":4517183941,"matchesCrashFrame":1},"rbp":{"value":140701831888784},"rsp":{"value":140701831888704},"r12":{"value":4},"rcx":{"value":105553130801784},"flavor":"x86_THREAD_STATE","rdi":{"value":105553130801792}},"queue":"com.apple.main-thread","frames":[{"imageOffset":291269,"symbol":"CGPoint.findIn(tree:virtual:)","symbolLocation":581,"imageIndex":1},{"imageOffset":292658,"symbol":"moveTilingWindow(_:)","symbolLocation":290,"imageIndex":1},{"imageOffset":294610,"symbol":"specialized movedObs(_:ax:notif:data:)","symbolLocation":130,"imageIndex":1},{"imageOffset":158556,"symbol":"_XXMIGPostNotification","symbolLocation":889,"imageIndex":2},{"imageOffset":321185,"symbol":"_XPostNotification","symbolLocation":320,"imageIndex":2},{"imageOffset":41827,"symbol":"mshMIGPerform","symbolLocation":187,"imageIndex":2},{"imageOffset":509223,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__","symbolLocation":41,"imageIndex":3},{"imageOffset":509022,"symbol":"__CFRunLoopDoSource1","symbolLocation":534,"imageIndex":3},{"imageOffset":504022,"symbol":"__CFRunLoopRun","symbolLocation":2700,"imageIndex":3},{"imageOffset":499842,"symbol":"CFRunLoopRunSpecific","symbolLocation":557,"imageIndex":3},{"imageOffset":199129,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":4},{"imageOffset":198630,"symbol":"ReceiveNextEventCommon","symbolLocation":665,"imageIndex":4},{"imageOffset":197937,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":66,"imageIndex":4},{"imageOffset":257081,"symbol":"_DPSNextEvent","symbolLocation":880,"imageIndex":5},{"imageOffset":9734148,"symbol":"-[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1304,"imageIndex":5},{"imageOffset":197042,"symbol":"-[NSApplication run]","symbolLocation":603,"imageIndex":5},{"imageOffset":16833,"symbol":"NSApplicationMain","symbolLocation":816,"imageIndex":5},{"imageOffset":743541,"imageIndex":6},{"imageOffset":9154580,"imageIndex":6},{"imageOffset":13736063,"imageIndex":6},{"imageOffset":27678,"symbol":"main","symbolLocation":30,"imageIndex":1},{"imageOffset":25478,"symbol":"start","symbolLocation":1942,"imageIndex":7}]},{"id":15202,"threadState":{"r13":{"value":123145533467728},"rax":{"value":4},"rflags":{"value":647},"cpu":{"value":0},"r14":{"value":123145533467728},"rsi":{"value":123145533467728},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":123145533467680},"r10":{"value":9223372041372806656},"r9":{"value":0},"r15":{"value":0},"rbx":{"value":14987979559889010718},"trap":{"value":133},"err":{"value":33554462},"r11":{"value":646},"rip":{"value":140703333226546},"rbp":{"value":123145533468080},"rsp":{"value":123145533467384},"r12":{"value":0},"rcx":{"value":123145533467384},"flavor":"x86_THREAD_STATE","rdi":{"value":3}},"queue":"com.apple.root.default-qos","frames":[{"imageOffset":34866,"symbol":"__accept","symbolLocation":10,"imageIndex":9},{"imageOffset":839632,"symbol":"Socket.acceptClientConnection(invokeDelegate:)","symbolLocation":528,"imageIndex":1},{"imageOffset":467811,"symbol":"closure #3 in startServer()","symbolLocation":147,"imageIndex":1},{"imageOffset":479145,"symbol":"thunk for @escaping @callee_guaranteed @Sendable () -> ()","symbolLocation":25,"imageIndex":1},{"imageOffset":8934,"symbol":"_dispatch_call_block_and_release","symbolLocation":12,"imageIndex":10},{"imageOffset":13722,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":10},{"imageOffset":23994,"symbol":"_dispatch_queue_override_invoke","symbolLocation":977,"imageIndex":10},{"imageOffset":75638,"symbol":"_dispatch_root_queue_drain","symbolLocation":328,"imageIndex":10},{"imageOffset":77602,"symbol":"_dispatch_worker_thread2","symbolLocation":152,"imageIndex":10},{"imageOffset":11270,"symbol":"_pthread_wqthread","symbolLocation":262,"imageIndex":11},{"imageOffset":7063,"symbol":"start_wqthread","symbolLocation":15,"imageIndex":11}]},{"id":16541,"name":"com.apple.NSEventThread","threadState":{"r13":{"value":21592279046},"rax":{"value":268451845},"rflags":{"value":518},"cpu":{"value":0},"r14":{"value":2},"rsi":{"value":21592279046},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":8589934592},"r10":{"value":370548303462400},"r9":{"value":370548303462400},"r15":{"value":370548303462400},"rbx":{"value":123145538293856},"trap":{"value":133},"err":{"value":16777263},"r11":{"value":518},"rip":{"value":140703333198382},"rbp":{"value":123145538293696},"rsp":{"value":123145538293592},"r12":{"value":4294967295},"rcx":{"value":123145538293592},"flavor":"x86_THREAD_STATE","rdi":{"value":123145538293856}},"frames":[{"imageOffset":6702,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":9},{"imageOffset":65082,"symbol":"mach_msg2_internal","symbolLocation":84,"imageIndex":9},{"imageOffset":35682,"symbol":"mach_msg_overwrite","symbolLocation":653,"imageIndex":9},{"imageOffset":7455,"symbol":"mach_msg","symbolLocation":19,"imageIndex":9},{"imageOffset":508213,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":143,"imageIndex":3},{"imageOffset":502693,"symbol":"__CFRunLoopRun","symbolLocation":1371,"imageIndex":3},{"imageOffset":499842,"symbol":"CFRunLoopRunSpecific","symbolLocation":557,"imageIndex":3},{"imageOffset":1686188,"symbol":"_NSEventThread","symbolLocation":122,"imageIndex":5},{"imageOffset":25090,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":11},{"imageOffset":7083,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":942286,"frames":[{"imageOffset":7048,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":11}],"threadState":{"r13":{"value":0},"rax":{"value":33554800},"rflags":{"value":512},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":37207},"r8":{"value":409604},"cr2":{"value":0},"rdx":{"value":123145534017536},"r10":{"value":0},"r9":{"value":18446744073709551615},"r15":{"value":123145534540664},"rbx":{"value":123145534541824},"trap":{"value":133},"err":{"value":33554800},"r11":{"value":582},"rip":{"value":140703333440392},"rbp":{"value":0},"rsp":{"value":123145534541824},"r12":{"value":5193733},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":123145534541824}}}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 4524081152,
    "size" : 65536,
    "uuid" : "06997eb3-387c-3024-b943-376aa535a09c",
    "path" : "\/usr\/lib\/libobjc-trampolines.dylib",
    "name" : "libobjc-trampolines.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4516892672,
    "CFBundleShortVersionString" : "0.8.4-Beta",
    "CFBundleIdentifier" : "bobko.aerospace",
    "size" : 1261568,
    "uuid" : "84673277-3c37-3965-b306-aa21a24fe533",
    "path" : "\/Applications\/AeroSpace.app\/Contents\/MacOS\/AeroSpace",
    "name" : "AeroSpace",
    "CFBundleVersion" : "0.8.4"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703438446592,
    "CFBundleShortVersionString" : "1.22",
    "CFBundleIdentifier" : "com.apple.HIServices",
    "size" : 376825,
    "uuid" : "07a2f3d1-7698-32ec-a5cb-a03d12d4e325",
    "path" : "\/System\/Library\/Frameworks\/ApplicationServices.framework\/Versions\/A\/Frameworks\/HIServices.framework\/Versions\/A\/HIServices",
    "name" : "HIServices"
  },
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 140703333851136,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 4829165,
    "uuid" : "d9705b29-47af-343b-ba26-5cda3166731e",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "2303"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703511306240,
    "CFBundleShortVersionString" : "2.1.1",
    "CFBundleIdentifier" : "com.apple.HIToolbox",
    "size" : 2736117,
    "uuid" : "4cd47f03-ed80-3f2a-bbdf-d7af11cb4ccb",
    "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
    "name" : "HIToolbox"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703390785536,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 21098487,
    "uuid" : "660b78d6-113f-3abd-8969-a6cb84fff752",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2487.40.107"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140707830546432,
    "CFBundleShortVersionString" : "5.3.3",
    "CFBundleIdentifier" : "com.apple.SwiftUI",
    "size" : 30130168,
    "uuid" : "f960f45d-66ad-380a-af53-8015026a3190",
    "path" : "\/System\/Library\/Frameworks\/SwiftUI.framework\/Versions\/A\/SwiftUI",
    "name" : "SwiftUI",
    "CFBundleVersion" : "5.3.3"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703329718272,
    "size" : 640000,
    "uuid" : "01ae3ae3-f6ca-34d1-a2f8-462ede5fa818",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703333191680,
    "size" : 241656,
    "uuid" : "3e22fb41-20e3-3568-a00b-d8e901e333bf",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703331708928,
    "size" : 290814,
    "uuid" : "c964889c-7792-333d-93f6-8f3e51a9f4c2",
    "path" : "\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703333433344,
    "size" : 49152,
    "uuid" : "0f6c8ecc-a9bd-39c6-9f41-a8b9159201eb",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  }
],
  "sharedCache" : {
  "base" : 140703329021952,
  "size" : 25769803776,
  "uuid" : "812473cc-f3ee-3c27-a996-84e3ebdc0dc8"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=723.5M resident=0K(0%) swapped_out_or_unallocated=723.5M(100%)\nWritable regions: Total=2.7G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.7G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nAttributeGraph Data               1024K        1 \nColorSync                          236K       29 \nCoreAnimation                       36K        1 \nCoreGraphics                        16K        3 \nFoundation                          16K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                             2.7G      101 \nMALLOC guard page                   72K       18 \nSTACK GUARD                       56.0M        4 \nStack                             9752K        4 \nVM_ALLOCATE                        120K        9 \n__CTF                               824        1 \n__DATA                            28.0M      440 \n__DATA_CONST                      27.9M      270 \n__DATA_DIRTY                      1123K      137 \n__FONT_DATA                        2352        1 \n__LINKEDIT                       182.7M        4 \n__OBJC_RO                         71.1M        1 \n__OBJC_RW                         2172K        2 \n__TEXT                           540.8M      460 \ndyld private memory                260K        2 \nmapped file                      174.6M       25 \nshared memory                      788K       16 \n===========                     =======  ======= \nTOTAL                              3.8G     1532 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "b8e96ddf9b41640f3bded169b01eb41b8539f84b",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6112d17137f5d11121dcd4e2",
      "factorPackIds" : {

      },
      "deploymentId" : 240000491
    },
    {
      "rolloutId" : "60f8ddccefea4203d95cbeef",
      "factorPackIds" : {

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

  ]
}
}

@nikitabobko nikitabobko added the bug Something isn't working as expected label Feb 16, 2024
@alper
Copy link

alper commented Feb 26, 2024

I think this is the crash I have all the time as well. Just had it again:

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               AeroSpace [81536]
Path:                  /Applications/AeroSpace.app/Contents/MacOS/AeroSpace
Identifier:            bobko.aerospace.1
Version:               0.8.7-Beta (0.8.7)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               502

Date/Time:             2024-02-26 15:42:08.3541 +0100
OS Version:            macOS 14.1.1 (23B81)
Report Version:        12
Anonymous UUID:        5215A246-52BD-FEC8-2A8C-272C76DE43A4

Sleep/Wake UUID:       1CE21512-5853-4109-9102-B5AE5C0D62CE

Time Awake Since Boot: 1100000 seconds
Time Since Wake:       9318 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x0000000100c9e734

Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process:   exc handler [81536]

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   AeroSpace                     	       0x100c9e734 CGPoint.findIn(tree:virtual:) + 496
1   AeroSpace                     	       0x100c9ec90 moveTilingWindow(_:) + 288
2   AeroSpace                     	       0x100c9f3dc specialized movedObs(_:ax:notif:data:) + 144
3   HIServices                    	       0x19082c3f4 _XXMIGPostNotification + 888
4   HIServices                    	       0x1908574a8 _XPostNotification + 360
5   HIServices                    	       0x19080e3b8 mshMIGPerform + 204
6   CoreFoundation                	       0x18a4c228c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 60
7   CoreFoundation                	       0x18a4c21ac __CFRunLoopDoSource1 + 520
8   CoreFoundation                	       0x18a4c0b78 __CFRunLoopRun + 2244
9   CoreFoundation                	       0x18a4bfc5c CFRunLoopRunSpecific + 608
10  HIToolbox                     	       0x194a3c448 RunCurrentEventLoopInMode + 292
11  HIToolbox                     	       0x194a3c284 ReceiveNextEventCommon + 648
12  HIToolbox                     	       0x194a3bfdc _BlockUntilNextEventMatchingListInModeWithFilter + 76
13  AppKit                        	       0x18dc9ac54 _DPSNextEvent + 660
14  AppKit                        	       0x18e470ebc -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
15  AppKit                        	       0x18dc8e100 -[NSApplication run] + 476
16  AppKit                        	       0x18dc653cc NSApplicationMain + 880
17  SwiftUI                       	       0x1b4dccf80 0x1b4cf3000 + 892800
18  SwiftUI                       	       0x1b565d30c 0x1b4cf3000 + 9872140
19  SwiftUI                       	       0x1b5aa34f0 0x1b4cf3000 + 14353648
20  AeroSpace                     	       0x100c63eb8 main + 36
21  dyld                          	       0x18a0690e0 start + 2360

Thread 1::  Dispatch queue: com.apple.root.default-qos
0   libsystem_kernel.dylib        	       0x18a3ad200 __accept + 8
1   AeroSpace                     	       0x100d1b1f8 Socket.acceptClientConnection(invokeDelegate:) + 456
2   AeroSpace                     	       0x100cc4ff4 closure #3 in startServer() + 180
3   AeroSpace                     	       0x100cc73b0 thunk for @escaping @callee_guaranteed @Sendable () -> () + 28
4   libdispatch.dylib             	       0x18a235cb8 _dispatch_call_block_and_release + 32
5   libdispatch.dylib             	       0x18a237910 _dispatch_client_callout + 20
6   libdispatch.dylib             	       0x18a23aa5c _dispatch_queue_override_invoke + 928
7   libdispatch.dylib             	       0x18a2491f4 _dispatch_root_queue_drain + 392
8   libdispatch.dylib             	       0x18a249a04 _dispatch_worker_thread2 + 156
9   libsystem_pthread.dylib       	       0x18a3e10d8 _pthread_wqthread + 228
10  libsystem_pthread.dylib       	       0x18a3dfe30 start_wqthread + 8

Thread 2:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	       0x18a3a48b4 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18a3b6d30 mach_msg2_internal + 80
2   libsystem_kernel.dylib        	       0x18a3ad4f0 mach_msg_overwrite + 476
3   libsystem_kernel.dylib        	       0x18a3a4c38 mach_msg + 24
4   CoreFoundation                	       0x18a4c1ea4 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                	       0x18a4c076c __CFRunLoopRun + 1208
6   CoreFoundation                	       0x18a4bfc5c CFRunLoopRunSpecific + 608
7   AppKit                        	       0x18ddc4404 _NSEventThread + 144
8   libsystem_pthread.dylib       	       0x18a3e5034 _pthread_start + 136
9   libsystem_pthread.dylib       	       0x18a3dfe3c thread_start + 8

Thread 3:
0   libsystem_pthread.dylib       	       0x18a3dfe28 start_wqthread + 0


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000600003aacfa0   x1: 0xc0000c000016d47c   x2: 0x0000000000000001   x3: 0x0000000000000001
    x4: 0x0000000200000003   x5: 0x0000000000000002   x6: 0x0000000200000003   x7: 0x0000000000000002
    x8: 0x0000600003aad008   x9: 0x0000600003aad000  x10: 0x0000600003aad018  x11: 0x0000600003aad010
   x12: 0x0000000000000000  x13: 0x00000000000007fd  x14: 0x00000000b0ea78fb  x15: 0x00000000000000fb
   x16: 0x0000000199fe2720  x17: 0x00000000000a7800  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x0000600003aacfa0  x21: 0x0000600001e024c0  x22: 0x0000000000000003  x23: 0x0000000000000003
   x24: 0x0000000000000000  x25: 0x0000000000000006  x26: 0x0000000000000008  x27: 0x0000000103658000
   x28: 0x0000600000505140   fp: 0x000000016f1a1080   lr: 0x0365000100c9e630
    sp: 0x000000016f1a1010   pc: 0x0000000100c9e734 cpsr: 0x20001000
   far: 0x0000000000000000  esr: 0xf2000001 (Breakpoint) brk 1

Binary Images:
       0x101308000 -        0x101313fff libobjc-trampolines.dylib (*) <c9ce7923-2f2d-31eb-a6e4-0f3b7a78f895> /usr/lib/libobjc-trampolines.dylib
       0x100c5c000 -        0x100d7ffff bobko.aerospace.1 (0.8.7-Beta) <0affe4fc-5d92-3a63-a35c-7667344c04df> /Applications/AeroSpace.app/Contents/MacOS/AeroSpace
       0x190803000 -        0x190866fff com.apple.HIServices (1.22) <48a36fb9-09ff-35d2-8bc6-7ed712854f50> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
       0x18a444000 -        0x18a91bfff com.apple.CoreFoundation (6.9) <9f046e36-7286-3a6e-a280-699d6e47cfaf> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x194a0c000 -        0x194ccbfff com.apple.HIToolbox (2.1.1) <4dffb7eb-bbcd-3ff6-a203-5a0b97358ee8> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
       0x18dc61000 -        0x18ef75fff com.apple.AppKit (6.9) <b475e541-691d-39c6-8ca4-e414b0d3dd88> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x1b4cf3000 -        0x1b6b26fff com.apple.SwiftUI (5.1.16) <6bbbd419-21da-3b30-b7ab-6f5970abe2da> /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI
       0x18a063000 -        0x18a0f7317 dyld (*) <ec7a3ba0-f9bf-3ab8-a0f4-8622e5606b20> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x199c55000 -        0x19a194fff libswiftCore.dylib (*) <1fcc7df4-6b2e-3cba-9125-eb1ed90943f4> /usr/lib/swift/libswiftCore.dylib
       0x18a3a3000 -        0x18a3ddfef libsystem_kernel.dylib (*) <b7751381-1442-30b5-91b9-ad7be461bebe> /usr/lib/system/libsystem_kernel.dylib
       0x18a234000 -        0x18a27afff libdispatch.dylib (*) <dc1d0187-7149-3100-bc63-f633afebee6c> /usr/lib/system/libdispatch.dylib
       0x18a3de000 -        0x18a3eaff3 libsystem_pthread.dylib (*) <daf95373-5de6-39a1-a6ce-d87f3f0629cc> /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: 5
    thread_create: 0
    thread_set_state: 102


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

{"app_name":"AeroSpace","timestamp":"2024-02-26 15:42:08.00 +0100","app_version":"0.8.7-Beta","slice_uuid":"0affe4fc-5d92-3a63-a35c-7667344c04df","build_version":"0.8.7","platform":1,"bundleID":"bobko.aerospace.1","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.1.1 (23B81)","roots_installed":0,"name":"AeroSpace","incident_id":"DC7241C8-A90A-418D-B3E5-B453959DE6B6"}
{
  "uptime" : 1100000,
  "procRole" : "Default",
  "version" : 2,
  "userID" : 502,
  "deployVersion" : 210,
  "modelCode" : "Mac14,9",
  "coalitionID" : 154944,
  "osVersion" : {
    "train" : "macOS 14.1.1",
    "build" : "23B81",
    "releaseType" : "User"
  },
  "captureTime" : "2024-02-26 15:42:08.3541 +0100",
  "codeSigningMonitor" : 1,
  "incident" : "DC7241C8-A90A-418D-B3E5-B453959DE6B6",
  "pid" : 81536,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-02-23 10:48:38.0152 +0100",
  "procStartAbsTime" : 24884193730765,
  "procExitAbsTime" : 26443407131500,
  "procName" : "AeroSpace",
  "procPath" : "\/Applications\/AeroSpace.app\/Contents\/MacOS\/AeroSpace",
  "bundleInfo" : {"CFBundleShortVersionString":"0.8.7-Beta","CFBundleVersion":"0.8.7","CFBundleIdentifier":"bobko.aerospace.1"},
  "storeInfo" : {"deviceIdentifierForVendor":"0A860871-9FE7-5E31-8BEB-467A1C14AB15","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "bobko.aerospace.1",
  "crashReporterKey" : "5215A246-52BD-FEC8-2A8C-272C76DE43A4",
  "codeSigningID" : "bobko.aerospace.1",
  "codeSigningTeamID" : "4MWP47XA68",
  "codeSigningFlags" : 1644167685,
  "codeSigningValidationCategory" : 3,
  "codeSigningTrustLevel" : 4294967295,
  "instructionByteStream" : {"beforePC":"4AMVqiBBYB4BQWAei\/\/\/l\/UDAKrgAxSqQQCAUv7qApQSAAAUIAAg1A==","atPC":"IAAg1CAAINSo4n2SvwIA8RShlZrgAxWqQQCAUmHqApTgAxSqOOcClA=="},
  "wakeTime" : 9318,
  "sleepWakeUUID" : "1CE21512-5853-4109-9102-B5AE5C0D62CE",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000001, 0x0000000100c9e734","rawCodes":[1,4308199220],"type":"EXC_BREAKPOINT","signal":"SIGTRAP"},
  "termination" : {"flags":0,"code":5,"namespace":"SIGNAL","indicator":"Trace\/BPT trap: 5","byProc":"exc handler","byPid":81536},
  "os_fault" : {"process":"AeroSpace"},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":102,"task_for_pid":5},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":79282629,"threadState":{"x":[{"value":105553177792416},{"value":13835071249423193212},{"value":1},{"value":1},{"value":8589934595},{"value":2},{"value":8589934595},{"value":2},{"value":105553177792520},{"value":105553177792512},{"value":105553177792536},{"value":105553177792528},{"value":0},{"value":2045},{"value":2968156411},{"value":251},{"value":6878537504,"symbolLocation":0,"symbol":"swift_retain"},{"value":686080},{"value":0},{"value":0},{"value":105553177792416},{"value":105553147733184},{"value":3},{"value":3},{"value":0},{"value":6},{"value":8},{"value":4351950848},{"value":105553121530176}],"flavor":"ARM_THREAD_STATE64","lr":{"value":244601759069759024},"cpsr":{"value":536875008},"fp":{"value":6158946432},"sp":{"value":6158946320},"esr":{"value":4060086273,"description":"(Breakpoint) brk 1"},"pc":{"value":4308199220,"matchesCrashFrame":1},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":272180,"symbol":"CGPoint.findIn(tree:virtual:)","symbolLocation":496,"imageIndex":1},{"imageOffset":273552,"symbol":"moveTilingWindow(_:)","symbolLocation":288,"imageIndex":1},{"imageOffset":275420,"symbol":"specialized movedObs(_:ax:notif:data:)","symbolLocation":144,"imageIndex":1},{"imageOffset":168948,"symbol":"_XXMIGPostNotification","symbolLocation":888,"imageIndex":2},{"imageOffset":345256,"symbol":"_XPostNotification","symbolLocation":360,"imageIndex":2},{"imageOffset":46008,"symbol":"mshMIGPerform","symbolLocation":204,"imageIndex":2},{"imageOffset":516748,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__","symbolLocation":60,"imageIndex":3},{"imageOffset":516524,"symbol":"__CFRunLoopDoSource1","symbolLocation":520,"imageIndex":3},{"imageOffset":510840,"symbol":"__CFRunLoopRun","symbolLocation":2244,"imageIndex":3},{"imageOffset":506972,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":3},{"imageOffset":197704,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":4},{"imageOffset":197252,"symbol":"ReceiveNextEventCommon","symbolLocation":648,"imageIndex":4},{"imageOffset":196572,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":76,"imageIndex":4},{"imageOffset":236628,"symbol":"_DPSNextEvent","symbolLocation":660,"imageIndex":5},{"imageOffset":8453820,"symbol":"-[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":716,"imageIndex":5},{"imageOffset":184576,"symbol":"-[NSApplication run]","symbolLocation":476,"imageIndex":5},{"imageOffset":17356,"symbol":"NSApplicationMain","symbolLocation":880,"imageIndex":5},{"imageOffset":892800,"imageIndex":6},{"imageOffset":9872140,"imageIndex":6},{"imageOffset":14353648,"imageIndex":6},{"imageOffset":32440,"symbol":"main","symbolLocation":36,"imageIndex":1},{"imageOffset":24800,"symbol":"start","symbolLocation":2360,"imageIndex":7}]},{"id":79282652,"threadState":{"x":[{"value":4},{"value":0},{"value":6159510496},{"value":4901063042},{"value":0},{"value":80},{"value":105553125883984},{"value":0},{"value":128},{"value":0},{"value":204219473788928},{"value":16},{"value":105553125755684},{"value":2095104},{"value":2043},{"value":2279544838},{"value":30},{"value":2281639957},{"value":0},{"value":4901062768},{"value":4901063042},{"value":0},{"value":6159510544},{"value":0},{"value":4901062820},{"value":8058937664,"symbolLocation":1536,"symbol":"_dispatch_root_queues"},{"value":9223372041163760688},{"value":14987979559889010718},{"value":4308984416}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4308709880},"cpsr":{"value":1610616832},"fp":{"value":6159510960},"sp":{"value":6159510144},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6614077952},"far":{"value":0}},"queue":"com.apple.root.default-qos","frames":[{"imageOffset":41472,"symbol":"__accept","symbolLocation":8,"imageIndex":10},{"imageOffset":782840,"symbol":"Socket.acceptClientConnection(invokeDelegate:)","symbolLocation":456,"imageIndex":1},{"imageOffset":430068,"symbol":"closure #3 in startServer()","symbolLocation":180,"imageIndex":1},{"imageOffset":439216,"symbol":"thunk for @escaping @callee_guaranteed @Sendable () -> ()","symbolLocation":28,"imageIndex":1},{"imageOffset":7352,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":11},{"imageOffset":14608,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":11},{"imageOffset":27228,"symbol":"_dispatch_queue_override_invoke","symbolLocation":928,"imageIndex":11},{"imageOffset":86516,"symbol":"_dispatch_root_queue_drain","symbolLocation":392,"imageIndex":11},{"imageOffset":88580,"symbol":"_dispatch_worker_thread2","symbolLocation":156,"imageIndex":11},{"imageOffset":12504,"symbol":"_pthread_wqthread","symbolLocation":228,"imageIndex":12},{"imageOffset":7728,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":12}]},{"id":79282883,"name":"com.apple.NSEventThread","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":235308373245952},{"value":0},{"value":235308373245952},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":54787},{"value":0},{"value":1},{"value":54787},{"value":142990},{"value":0},{"value":1099511627776},{"value":18446744073709551569},{"value":8209825840},{"value":0},{"value":4294967295},{"value":2},{"value":235308373245952},{"value":0},{"value":235308373245952},{"value":6162948200},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6614117680},"cpsr":{"value":4096},"fp":{"value":6162948048},"sp":{"value":6162947968},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6614042804},"far":{"value":0}},"frames":[{"imageOffset":6324,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":10},{"imageOffset":81200,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":10},{"imageOffset":42224,"symbol":"mach_msg_overwrite","symbolLocation":476,"imageIndex":10},{"imageOffset":7224,"symbol":"mach_msg","symbolLocation":24,"imageIndex":10},{"imageOffset":515748,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":3},{"imageOffset":509804,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":3},{"imageOffset":506972,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":3},{"imageOffset":1455108,"symbol":"_NSEventThread","symbolLocation":144,"imageIndex":5},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":12},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":12}]},{"id":84480871,"frames":[{"imageOffset":7720,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":12}],"threadState":{"x":[{"value":6161231872},{"value":83547},{"value":6160695296},{"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":4096},"fp":{"value":0},"sp":{"value":6161231872},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6614285864},"far":{"value":0}}}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4314923008,
    "size" : 49152,
    "uuid" : "c9ce7923-2f2d-31eb-a6e4-0f3b7a78f895",
    "path" : "\/usr\/lib\/libobjc-trampolines.dylib",
    "name" : "libobjc-trampolines.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4307927040,
    "CFBundleShortVersionString" : "0.8.7-Beta",
    "CFBundleIdentifier" : "bobko.aerospace.1",
    "size" : 1196032,
    "uuid" : "0affe4fc-5d92-3a63-a35c-7667344c04df",
    "path" : "\/Applications\/AeroSpace.app\/Contents\/MacOS\/AeroSpace",
    "name" : "AeroSpace",
    "CFBundleVersion" : "0.8.7"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6719287296,
    "CFBundleShortVersionString" : "1.22",
    "CFBundleIdentifier" : "com.apple.HIServices",
    "size" : 409600,
    "uuid" : "48a36fb9-09ff-35d2-8bc6-7ed712854f50",
    "path" : "\/System\/Library\/Frameworks\/ApplicationServices.framework\/Versions\/A\/Frameworks\/HIServices.framework\/Versions\/A\/HIServices",
    "name" : "HIServices"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6614695936,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5079040,
    "uuid" : "9f046e36-7286-3a6e-a280-699d6e47cfaf",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "2106"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6788530176,
    "CFBundleShortVersionString" : "2.1.1",
    "CFBundleIdentifier" : "com.apple.HIToolbox",
    "size" : 2883584,
    "uuid" : "4dffb7eb-bbcd-3ff6-a203-5a0b97358ee8",
    "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
    "name" : "HIToolbox"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6673534976,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 20008960,
    "uuid" : "b475e541-691d-39c6-8ca4-e414b0d3dd88",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2487.20.107"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7328444416,
    "CFBundleShortVersionString" : "5.1.16",
    "CFBundleIdentifier" : "com.apple.SwiftUI",
    "size" : 31670272,
    "uuid" : "6bbbd419-21da-3b30-b7ab-6f5970abe2da",
    "path" : "\/System\/Library\/Frameworks\/SwiftUI.framework\/Versions\/A\/SwiftUI",
    "name" : "SwiftUI",
    "CFBundleVersion" : "5.1.16"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6610628608,
    "size" : 607000,
    "uuid" : "ec7a3ba0-f9bf-3ab8-a0f4-8622e5606b20",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6874812416,
    "size" : 5505024,
    "uuid" : "1fcc7df4-6b2e-3cba-9125-eb1ed90943f4",
    "path" : "\/usr\/lib\/swift\/libswiftCore.dylib",
    "name" : "libswiftCore.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6614036480,
    "size" : 241648,
    "uuid" : "b7751381-1442-30b5-91b9-ad7be461bebe",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6612533248,
    "size" : 290816,
    "uuid" : "dc1d0187-7149-3100-bc63-f633afebee6c",
    "path" : "\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6614278144,
    "size" : 53236,
    "uuid" : "daf95373-5de6-39a1-a6ce-d87f3f0629cc",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  }
],
  "sharedCache" : {
  "base" : 6609879040,
  "size" : 4018896896,
  "uuid" : "80dd42b3-8a52-3caf-9848-54a1c2732864"
},
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "91940b84154df87719e82c1bbfaed3f53cc90eaf",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "632e379301482c74ed76386c",
      "factorPackIds" : {
        "SIRI_UNDERSTANDING_NL" : "64dec813ad750f4ad0b587eb",
        "SIRI_UNDERSTANDING_MORPHUN" : "64e5135c4e666d798a8ffc38",
        "SIRI_UNDERSTANDING_ASR_ASSISTANT" : "654b1d0e1c6fd434e20893b7"
      },
      "deploymentId" : 240000531
    },
    {
      "rolloutId" : "6112d17137f5d11121dcd4e2",
      "factorPackIds" : {

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

  ]
}
}

@nikitabobko
Copy link
Owner Author

nikitabobko commented Feb 26, 2024

@alper It'd be helpful if you could try to understand in what conditions this exception happens.

The exception happens in the code that tries to find what window to swap the current window with

  1. How many monitors do you have?
  2. Do you drag windows across monitors?
  3. What is your layout? How complicated is it? You could provide the layout description in the following form:
h_tiles
  v_tiles
    window1
    window2
  window3

@alper
Copy link

alper commented Mar 3, 2024

@alper It'd be helpful if you could try to understand in what conditions this exception happens.

The exception happens in the code that tries to find what window to swap the current window with

How many monitors do you have?

It happens reliably also when I'm just working on my MacBook Air.

Do you drag windows across monitors?

Yesterday it happened on resume from sleep. So dragging windows may not even be it.

What is your layout? How complicated is it? You could provide the layout description in the following form:

Not sure yet how to dump layout. I wanted to print something where it shows the tree for each space if you Option-Click the tray icon but I haven't gotten around to it yet.

nikitabobko added a commit that referenced this issue Mar 9, 2024
@nikitabobko
Copy link
Owner Author

In 0.9.0 I made a naive attempt to fix the crash. Let's see if it helps

@alper
Copy link

alper commented Apr 16, 2024

I can make Aerospace crash relatively reliably by dragging a window from one window to another.

jakenvac pushed a commit to jakenvac/AeroSpace that referenced this issue Aug 16, 2024
@nikitabobko nikitabobko added the triaged The issue makes sense to maintainers label Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected triaged The issue makes sense to maintainers
Projects
None yet
Development

No branches or pull requests

2 participants