Skip to content

"Windows must always have a parent" crash #1306

@nikitabobko

Description

@nikitabobko

I still experience occasional crashes, about once a week, when opening an Xcode project from the command line using the command: open "project-name.xcworkspace".

##### AeroSpace Runtime Error #####

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

Message: Windows always have parent
Version: 0.16.2-Beta
Git hash: 21336ad382539b35fdc94b4fbd55408e10b101f8
Coordinate: /Users/bobko/a/AeroSpace/Sources/AppBundle/tree/Window.swift:7:72 parent
recursionDetectorDuringFailure: false
cli: false
Displays have separate spaces: false

Stacktrace:
0   AeroSpace                           0x0000000102b4f104 $s6Common6errorT_4file4line6column8functionxSS_SSS2iSStlF + 1076
1   AeroSpace                           0x00000001029efa8c $s9AppBundle6WindowC6parentAA21NonLeafTreeNodeObject_pvg + 140
2   AeroSpace                           0x00000001029eea7c $s9AppBundle8TreeNodeC13nodeWorkspaceAA0F0CSgvg + 64
3   AeroSpace                           0x00000001029cb424 $s9AppBundle16updateFocusCacheyyAA6WindowCSgF + 68
4   AeroSpace                           0x00000001029cd6e8 $s9AppBundle14refreshSession26screenIsDefinitelyUnlocked7startup4bodyxSb_SbxyXEtlFyt_Tg503$s9a32Bundle16refreshAndLayout26screenfG31Unlocked7startupySb_SbtFyyXEfU_Tf1nnnc_n + 412
5   AeroSpace                           0x0000000102973d14 $s9AppBundle14GlobalObserverC7onNotif33_F1205CFDC13498282252A689C79131F6LLyy10Foundation12NotificationVFZTf4nd_n + 380
6   AeroSpace                           0x0000000102972fec $s10Foundation12NotificationVIeghn_So14NSNotificationCIeyBhy_TR + 116
7   CoreFoundation                      0x000000018aa7534c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 128
8   CoreFoundation                      0x000000018ab0620c ___CFXRegistrationPost_block_invoke + 88
9   CoreFoundation                      0x000000018ab06154 _CFXRegistrationPost + 436
10  CoreFoundation                      0x000000018aa43f9c _CFXNotificationPost + 732
11  Foundation                          0x000000018bbfdfd4 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
12  AppKit                              0x000000018e7829e8 applicationStatusSubsystemCallback + 728
13  LaunchServices                      0x000000018af1b118 ___LSScheduleNotificationFunction_block_invoke_2 + 52
14  CoreFoundation                      0x000000018aa80420 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28
15  CoreFoundation                      0x000000018aa80330 __CFRunLoopDoBlocks + 356
16  CoreFoundation                      0x000000018aa7f118 __CFRunLoopRun + 824
17  CoreFoundation                      0x000000018aa7e724 CFRunLoopRunSpecific + 588
18  HIToolbox                           0x0000000195fd6530 RunCurrentEventLoopInMode + 292
19  HIToolbox                           0x0000000195fdc348 ReceiveNextEventCommon + 676
20  HIToolbox                           0x0000000195fdc508 _BlockUntilNextEventMatchingListInModeWithFilter + 76
21  AppKit                              0x000000018e5e9034 _DPSNextEvent + 660
22  AppKit                              0x000000018ef4d2d4 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
23  AppKit                              0x000000018e5dc060 -[NSApplication run] + 480
24  AppKit                              0x000000018e5b2854 NSApplicationMain + 888
25  SwiftUI                             0x00000001b96cfa6c $s7SwiftUI6runAppys5NeverOSo21NSApplicationDelegate_So11NSResponderCXcFTf4e_nAA07TestingdG0C_Tg5Tm + 160
26  SwiftUI                             0x00000001b9b433f8 $s7SwiftUI6runAppys5NeverOxAA0D0RzlF + 140
27  SwiftUI                             0x00000001b9ebef38 $s7SwiftUI3AppPAAE4mainyyFZ + 224
28  AeroSpace                           0x00000001029710b8 main + 36
29  dyld                                0x000000018a618274 start + 2840

Originally posted by @FelixLisczyk #706 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as expectedcrash

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions