dimforge / dimforge/kiss3d

WebAssembly examples crash

Open
#353 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.8k
Forks
195
Avg merge
1d 14h
Merged PRs (30d)
2

Description

I wanted to give the examples a try, but none of them work on Firefox 146.0.1 on Linux.

Opening any example shows the text "Loading WebAssembly ...", then the text disappears, but I do not see anything new on the screen.

The debugger shows:

Uncaught RuntimeError: unreachable executed
    wasm_bindgen__convert__closures_____invoke__hcf88f8b2414efb28 https://kiss3d.rs/demos/quad/pkg/example.js:229
    real https://kiss3d.rs/demos/quad/pkg/example.js:141
[example_bg.wasm:1136480:1](https://kiss3d.rs/demos/quad/pkg/example_bg.wasm)
    <anonymous> https://kiss3d.rs/demos/quad/pkg/example_bg.wasm:1136480
    <anonymous> https://kiss3d.rs/demos/quad/pkg/example_bg.wasm:1203142
    <anonymous> https://kiss3d.rs/demos/quad/pkg/example_bg.wasm:1156419
    <anonymous> https://kiss3d.rs/demos/quad/pkg/example_bg.wasm:1074856
    <anonymous> https://kiss3d.rs/demos/quad/pkg/example_bg.wasm:949296
    <anonymous> https://kiss3d.rs/demos/quad/pkg/example_bg.wasm:76082
    <anonymous> https://kiss3d.rs/demos/quad/pkg/example_bg.wasm:354218
    <anonymous> https://kiss3d.rs/demos/quad/pkg/example_bg.wasm:1035896
    <anonymous> https://kiss3d.rs/demos/quad/pkg/example_bg.wasm:1206440
    <anonymous> https://kiss3d.rs/demos/quad/pkg/example_bg.wasm:1206426
    <anonymous> https://kiss3d.rs/demos/quad/pkg/example_bg.wasm:1210363
    wasm_bindgen__convert__closures_____invoke__hcf88f8b2414efb28 https://kiss3d.rs/demos/quad/pkg/example.js:229
    real https://kiss3d.rs/demos/quad/pkg/example.js:141
Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure from the kiss3d examples link in Firefox 146.0.1 on Linux, then inspect the debugger trace in demos/quad/pkg/example.js and example_bg.wasm, especially the wasm_bindgen closure path. Done means the examples load past "Loading WebAssembly ..." and render without the unreachable runtime error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
Domain
computer-graphics, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.