-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Crash on 0.30.1+ when creating immediate child viewports #3800
Copy link
Copy link
Closed
Labels
B - bugDang, that shouldn't have happenedDang, that shouldn't have happenedB - regressionDS - appkitAffects the AppKit/macOS backendAffects the AppKit/macOS backend
Description
Description
Hiya! I've been doing some work for a winit upgrade for egui (emilk/egui#4849), but, it seems that this commit has introduced a crash on macOS. The multiple_viewports example spawns a immediate child viewport, but on macOS this crashes with:
Segmentation fault: 11
It seems some precondition of retain is violated (though it's a safe function? Is objc2 wrong? Really above my paygrade I'm afraid!)
This might already be fixed in 0.31.0 as I think the code in that area has changed a bit, but either way wanted to let you know.
macOS version
ProductName: macOS
ProductVersion: 14.5
BuildVersion: 23F79Winit version
0.30.0 works, 0.30.1+ crashes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
B - bugDang, that shouldn't have happenedDang, that shouldn't have happenedB - regressionDS - appkitAffects the AppKit/macOS backendAffects the AppKit/macOS backend