-
Notifications
You must be signed in to change notification settings - Fork 43
fix init image at creation #759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
switftshader artifact needs to be refreshed |
8908894
to
085672d
Compare
Can you re-trigger the failing bot? It's the first time I'm seeing that error. I wonder if it happens just very rarely. I'm not able to reproduce on my machine. That may be something we just want to filter in the test to avoid flakyness I guess |
5e3541a
to
a9683d9
Compare
a9683d9
to
9ef9dc1
Compare
In fact, the bug was much simpler than what I was thinking. It's just about not forcing the deletion of the queue. |
CI should be fixed with #771 |
Using a |
9ef9dc1
to
12af440
Compare
12af440
to
7891c2c
Compare
Fixing the bug also showed another deadlock between the executor and the main thread, for which I've added the fix. The deadlock involves the lock of
|
How did you bump into that deadlock? What test or application were you running? |
Several tests in |
|
7891c2c
to
4a9460d
Compare
4a9460d
to
32f2248
Compare
We need to create the cvk_command_image_init with a valid context. Otherwise we can have a race condition between the destruction of queue and commands being deleted in the executor thread.