Aleksi Sapon
7f8c91cdde
Fix crash from async callback calling Queue::Submit
...
An async callback which calls Queue::Submit will cause
reentrance in QueueBase::Tick and CreatePipelineAsyncTracker::Tick,
which invalidates the task queue being used by the original call,
and leads to a crash from an invalid pointer.
The Tick functions should remove the tasks from the queues before
the callbacks are called, so invalidation doesn't cause a crash.
Bug: dawn:729
Change-Id: I0d952d51040a3d1a475767400de3333a8b9b0821
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45900
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-03-30 13:06:17 +00:00
..
2021-03-30 10:21:36 +00:00
2021-03-30 10:21:36 +00:00
2021-03-30 13:06:17 +00:00
2021-03-29 14:02:05 +00:00
2021-03-30 10:21:36 +00:00
2021-02-24 22:09:30 +00:00
2021-02-24 22:09:30 +00:00
2020-12-03 18:42:13 +00:00
2020-12-03 18:42:13 +00:00
2020-01-10 13:28:18 +00:00
2020-01-10 13:28:18 +00:00
2020-12-21 20:14:26 +00:00
2020-06-19 21:39:23 +00:00
2021-01-13 22:25:58 +00:00
2020-12-03 18:42:13 +00:00
2020-07-14 22:20:35 +00:00
2020-12-12 02:09:56 +00:00
2020-12-21 20:14:26 +00:00
2020-04-10 19:04:42 +00:00
2020-04-30 15:58:28 +00:00
2020-06-11 18:58:26 +00:00
2019-10-29 18:40:12 +00:00
2021-03-29 15:40:55 +00:00
2021-03-29 14:02:05 +00:00
2021-03-25 15:37:44 +00:00
2020-12-03 18:42:13 +00:00
2020-12-08 16:32:34 +00:00
2021-03-25 15:37:44 +00:00
2020-08-13 20:25:39 +00:00
2020-08-13 20:25:39 +00:00
2021-03-22 21:12:36 +00:00
2020-10-01 19:56:49 +00:00
2021-03-22 22:17:26 +00:00
2021-02-23 16:37:29 +00:00
2021-03-29 15:40:55 +00:00
2021-03-29 14:02:05 +00:00
2020-11-18 09:47:52 +00:00
2021-02-02 05:30:50 +00:00
2021-03-24 08:38:32 +00:00
2021-03-23 02:09:37 +00:00
2021-03-29 14:02:05 +00:00
2021-03-29 14:02:05 +00:00
2020-12-03 18:42:13 +00:00
2020-12-03 18:42:13 +00:00
2021-03-29 15:40:55 +00:00
2021-03-04 18:13:45 +00:00
2021-03-30 13:06:17 +00:00
2021-02-23 01:51:06 +00:00
2021-01-20 19:39:28 +00:00
2021-03-29 14:02:05 +00:00
2021-03-30 10:21:36 +00:00
2021-03-30 10:21:36 +00:00
2020-09-28 19:35:14 +00:00
2020-09-28 19:35:14 +00:00
2020-11-14 01:24:03 +00:00
2020-11-14 01:24:03 +00:00
2020-08-06 17:00:29 +00:00
2021-01-21 10:11:54 +00:00
2020-06-16 17:53:38 +00:00
2021-02-19 18:31:02 +00:00
2020-04-01 12:07:43 +00:00
2020-04-01 12:07:43 +00:00
2020-01-06 19:56:17 +00:00
2020-01-06 19:56:17 +00:00
2021-02-19 18:17:22 +00:00
2021-02-19 18:17:22 +00:00
2021-02-05 20:11:24 +00:00
2021-02-05 20:11:24 +00:00
2021-03-29 15:40:55 +00:00
2021-03-29 14:02:05 +00:00
2021-02-16 19:55:09 +00:00
2021-02-16 19:55:09 +00:00
2020-06-11 00:34:14 +00:00
2021-03-29 14:02:05 +00:00
2021-03-29 14:02:05 +00:00
2020-09-28 19:35:14 +00:00
2021-03-23 02:09:37 +00:00
2020-04-06 18:20:02 +00:00
2020-04-20 17:36:22 +00:00
2020-12-03 18:42:13 +00:00
2020-12-16 07:53:30 +00:00
2021-01-22 19:53:46 +00:00
2021-01-22 19:53:46 +00:00
2020-05-04 17:10:49 +00:00
2020-12-16 07:53:30 +00:00
2020-12-16 07:53:30 +00:00
2019-10-23 11:57:41 +00:00
2019-10-23 11:57:41 +00:00
2021-03-29 14:02:05 +00:00
2021-03-29 14:02:05 +00:00
2021-01-29 14:42:54 +00:00
2020-12-03 18:42:13 +00:00
2020-12-16 07:53:30 +00:00
2020-08-17 17:47:15 +00:00
2021-03-29 14:02:05 +00:00
2021-03-29 14:02:05 +00:00
2021-03-29 14:02:05 +00:00
2021-02-23 01:51:06 +00:00
2021-03-29 14:02:05 +00:00
2021-03-29 14:02:05 +00:00
2021-03-30 13:06:17 +00:00
2021-03-29 14:02:05 +00:00
2021-01-27 17:20:16 +00:00
2021-02-23 01:51:06 +00:00
2021-03-29 14:02:05 +00:00
2021-03-29 14:02:05 +00:00
2021-03-29 14:02:05 +00:00
2021-03-29 14:02:05 +00:00
2021-03-29 14:02:05 +00:00
2021-03-29 14:02:05 +00:00
2021-03-22 22:17:26 +00:00
2021-03-22 22:17:26 +00:00
2020-07-10 18:19:38 +00:00
2019-10-30 00:19:43 +00:00
2020-07-10 18:19:38 +00:00
2020-03-09 15:53:19 +00:00
2020-09-28 19:35:14 +00:00
2020-09-28 19:35:14 +00:00
2020-12-30 19:47:33 +00:00
2020-12-24 03:11:17 +00:00
2021-03-25 15:37:44 +00:00
2021-03-22 21:23:36 +00:00
2020-12-21 20:14:26 +00:00
2020-12-21 20:14:26 +00:00
2020-07-10 18:19:38 +00:00
2020-07-10 18:19:38 +00:00
2021-02-05 20:11:24 +00:00
2021-02-05 20:11:24 +00:00
2021-01-21 11:07:44 +00:00
2020-01-15 13:14:12 +00:00
2020-10-27 11:31:26 +00:00
2020-10-27 11:31:26 +00:00
2021-03-29 14:02:05 +00:00
2021-03-29 14:02:05 +00:00
2021-03-29 14:02:05 +00:00
2021-03-29 14:02:05 +00:00
2021-03-25 15:37:44 +00:00
2021-03-25 15:37:44 +00:00
2020-06-11 00:34:14 +00:00
2021-03-11 19:34:50 +00:00
2021-03-11 19:34:50 +00:00
2021-02-11 08:26:38 +00:00
2021-02-11 08:26:38 +00:00