Open FradSer opened 2 years ago
Try to run the example project on macOS 13 Beta 5 (build number: 22A5321d), then it crashed on startup with EXC_BAD_ACCESS error, log below:
EXC_BAD_ACCESS
2022-08-16 02:05:10.214520+0800 Sample[18556:300581] [User Defaults] Couldn't read values in CFPrefsPlistSource<0x600001008980> (Domain: com.apple.powerlogd, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): accessing preferences outside an application's container requires user-preference-read or file-read-data sandbox access 2022-08-16 02:05:10.495536+0800 Sample[18556:300581] [Pipify] creating pip controller 2022-08-16 02:05:10.496087+0800 Sample[18556:300581] [Pipify] creating pip controller 2022-08-16 02:05:10.532626+0800 Sample[18556:300581] *** Assertion failure in NSPoint _NSViewClampPointToLimits(NSView *, NSString *, NSPoint)(), NSView.m:640 2022-08-16 02:05:10.533196+0800 Sample[18556:300581] Invalid parameter not satisfying: fabs(point.x) <= NSVIEW_GEOMETRY_LIMIT 2022-08-16 02:05:10.538790+0800 Sample[18556:300581] [Pipify] setting view content 2022-08-16 02:05:10.539346+0800 Sample[18556:300581] [Pipify] setting view content
It looks like crash on makeNSView(_:) in LayerView. Maybe https://github.com/utmapp/UTM/commit/d5ba4fb7f32cc80a7489043b22d8e6c73a591851 helps.
makeNSView(_:)
LayerView
Thanks for raising, I haven't yet tested (nay even installed) the latest versions of macOS but will look to explore this soon.
Try to run the example project on macOS 13 Beta 5 (build number: 22A5321d), then it crashed on startup with
EXC_BAD_ACCESS
error, log below:It looks like crash on
makeNSView(_:)
inLayerView
. Maybe https://github.com/utmapp/UTM/commit/d5ba4fb7f32cc80a7489043b22d8e6c73a591851 helps.