nikitabobko / AeroSpace

AeroSpace is an i3-like tiling window manager for macOS
https://nikitabobko.github.io/AeroSpace/guide
MIT License
7.56k stars 124 forks source link

AeroSpace crash when open Xcode windows #706

Open nikitabobko opened 1 week ago

nikitabobko commented 1 week ago
          The snapshot version of AeroSpace occasionally crashes when opening new Xcode windows. I haven't been able to consistently reproduce the issue yet.
##### AeroSpace Runtime Error #####

Please report to:
    https://github.com/nikitabobko/AeroSpace/issues/new
    Please describe what you did to trigger this error

Message: Window(title: 'Optional("ReleaseNotesKit-HostApp — Announcement.swift")', role: 'Optional("AXWindow")', subrole: 'Optional("AXStandardWindow")', identifier: 'Optional("Xcode.WorkspaceWindow")', modal: 'Optional("false")', windowId: 'Optional("174698")') is already unbound
Version: 0.0.0-SNAPSHOT
Git hash: 00cbb633178066858edb42c0c60ba8625da38976
Coordinate: /Users/felix/Developer/Swift/Vendor/AeroSpace/Sources/AppBundle/tree/TreeNode.swift:114:34 unbindFromParent()
recursionDetectorDuringFailure: false
cli: false

Stacktrace:
0   AeroSpace                           0x0000000104a776bc $s6Common6errorT_4file4line6column8functionxSS_SSS2iSStlF + 744
1   AeroSpace                           0x000000010491d9d0 $s9AppBundle8TreeNodeC16unbindFromParentAA11BindingDataVyF + 236
2   AeroSpace                           0x00000001049181fc $s9AppBundle9MacWindowC14garbageCollectyyF + 124
3   AeroSpace                           0x000000010490304c $s9AppBundle9gcWindowsyyF + 1004
4   AeroSpace                           0x00000001048fe5c0 $s9AppBundle14refreshSession7startup10forceFocus4bodyxSb_SbxyXEtlFyt_Tg503$s9A45Bundle16refreshAndLayout7startupySb_tFyyXEfU_Tf1nnnc_n + 552
5   AeroSpace                           0x0000000104907558 $s9AppBundle8movedObs_2ax5notif4dataySo13AXObserverRefa_So011AXUIElementI0aSo08CFStringI0aSvSgtFTf4dddn_n + 168
6   HIServices                          0x00000001a3429a80 _XXMIGPostNotification + 896
7   HIServices                          0x00000001a345afa0 _XPostNotification + 356
8   HIServices                          0x00000001a340a368 mshMIGPerform + 212
9   CoreFoundation                      0x000000019cb6e2c8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 60
10  CoreFoundation                      0x000000019cb6e1e8 __CFRunLoopDoSource1 + 524
11  CoreFoundation                      0x000000019cb6cb48 __CFRunLoopRun + 2248
12  CoreFoundation                      0x000000019cb6bbc4 CFRunLoopRunSpecific + 588
13  HIToolbox                           0x00000001a7fdbf64 RunCurrentEventLoopInMode + 292
14  HIToolbox                           0x00000001a7fe1bb4 ReceiveNextEventCommon + 220
15  HIToolbox                           0x00000001a7fe1eb8 _BlockUntilNextEventMatchingListInModeWithFilter + 76
16  AppKit                              0x00000001a0697a08 _DPSNextEvent + 660
17  AppKit                              0x00000001a0fd7e0c -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
18  AppKit                              0x00000001a068aae0 -[NSApplication run] + 480
19  AppKit                              0x00000001a0661364 NSApplicationMain + 888
20  SwiftUI                             0x00000001cad10340 $s7SwiftUI6runAppys5NeverOSo21NSApplicationDelegate_So11NSResponderCXcFTf4e_nAA07TestingdG0C_Tg5Tm + 160
21  SwiftUI                             0x00000001cb180ee4 $s7SwiftUI6runAppys5NeverOxAA0D0RzlF + 84
22  SwiftUI                             0x00000001cb4f9f24 $s7SwiftUI3AppPAAE4mainyyFZ + 224
23  AeroSpace                           0x00000001048a16b8 main + 36
24  dyld                                0x000000019c704274 start + 2840

Originally posted by @FelixLisczyk in https://github.com/nikitabobko/AeroSpace/issues/445#issuecomment-2478578916