:loobenyang: Great, thank you! That's very informative. My suspicion that this has the same root cause as [`wgpu`#3485](https://github.com/gfx-rs/wgpu/issues/3485) has increased greatly. I think the most effective next step here will be to run the reproducible example there (in Rust) to see if we get a similar crash. If we _do_ get one, then we can eliminate the vast majority of the Firefox codebase as suspect in this investigation. CC :jgilbert, :jimb, :teoxoy. To test my hypothesis, we will need to run a binary on your machine. I've attached a ZIP file containing Rust source code (`wgpu-3485-mvre.zip`) with which you can compile such a binary. This has had its `Cargo.toml` updated to use the latest `wgpu`, which is `0.16.1` at time of writing. You may use Rust's `cargo` tool (which I find most convenient to install with `rustup`) to invoke `cargo build`, which should produce the same artifact, i.e., using `cargo build` and/or `cargo run`. --- For convenience, you might first try using the compiled artifacts already uploaded in `wgpu`#3485's OP: * [Binary in `wgpu-test.zip`](https://github.com/gfx-rs/wgpu/files/10733985/wgpu-test.zip) * [PDB in `wgpu_test_pdb.zip`](https://github.com/gfx-rs/wgpu/files/10733983/wgpu_test_pdb.zip). …but if you _do_ get a similar crash with the binaries uploaded to the `wgpu` issue, it would be best to also attempt to reproduce the crash with the latest `wgpu` from the source I've provided.
Bug 1840273 Comment 17 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
:loobenyang: Great, thank you! That's very informative. My suspicion that this has the same root cause as [`wgpu`#3485](https://github.com/gfx-rs/wgpu/issues/3485) has increased greatly. I think the most effective next step here will be to run the reproducible example there (in Rust) to see if we get a similar crash. If we _do_ get one, then we can eliminate the vast majority of the Firefox layers that are suspect in this investigation. CC :jgilbert, :jimb, :teoxoy. To test my hypothesis, we will need to run a binary on your machine. I've attached a ZIP file containing Rust source code (`wgpu-3485-mvre.zip`) with which you can compile such a binary. This has had its `Cargo.toml` updated to use the latest `wgpu`, which is `0.16.1` at time of writing. You may use Rust's `cargo` tool (which I find most convenient to install with `rustup`) to invoke `cargo build`, which should produce the same artifact, i.e., using `cargo build` and/or `cargo run`. --- For convenience, you might first try using the compiled artifacts already uploaded in `wgpu`#3485's OP: * [Binary in `wgpu-test.zip`](https://github.com/gfx-rs/wgpu/files/10733985/wgpu-test.zip) * [PDB in `wgpu_test_pdb.zip`](https://github.com/gfx-rs/wgpu/files/10733983/wgpu_test_pdb.zip). …but if you _do_ get a similar crash with the binaries uploaded to the `wgpu` issue, it would be best to also attempt to reproduce the crash with the latest `wgpu` from the source I've provided.