macos metal backend crash with CA_ASSERT_MAIN_THREAD_TRANSACTIONS #3694
Labels
backend: Metal
client: request
feature request from a known client
difficulty: easy
platform: OSX
status: ready for work
type: bug
Hi!
My app doing render stuff in separate thread (not main), and when I try to run it with env var CA_ASSERT_MAIN_THREAD_TRANSACTIONS=1 (Xcode Instruments run it like this), I see crash in this line.
If comment out described line application works fine, looks like only setAllowsNextDrawableTimeout message make CA transaction under the hood.
Error happens during creating swapchain through wgpu library.
macOS Big Sur 11.2.3
Crash error:
CoreAnimation: CA_ASSERT_MAIN_THREAD_TRANSACTIONS is set and an implicit transaction wasn't created on a main thread.
Thanks.
The text was updated successfully, but these errors were encountered: