ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.61k stars 809 forks source link

Error on https://uploads.ungrounded.net/ruffle_wrapper/ruffleembed.html #7143

Open TeamTamago opened 2 years ago

TeamTamago commented 2 years ago

Error Info

Error name: Error Error message: panicked at 'called Result::unwrap() on an Err value: "Unable to create VAO"', render/webgl/src/lib.rs:500:50 Error stack:

966/n/c.wbg.__wbg_new_df6e6ab7a65c4c4d@https://uploads.ungrounded.net/ruffle_wrapper/lib/core.ruffle.4eb0604eba48fe4cbd7c.js:1:7024
std::sync::once::Once::call_once::{{closure}}::hfcef47ecdbff91ce@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[1207]:0x2b2c48
std::sync::once::Once::call_inner::h8a142b2dcc139875@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[1413]:0x2ec791
core::ops::function::FnOnce::call_once{{vtable.shim}}::hdb9fff54a76be75f@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[4754]:0x43bb43
std::panicking::rust_panic_with_hook::he2a025723e105e28@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[3189]:0x3e27ef
core::panicking::panic_fmt::hb02133958c1e7d35@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[4937]:0x441a43
core::result::unwrap_failed::h68fdaca771c68bb6@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[4082]:0x426562
ruffle_render_webgl::WebGlRenderBackend::register_shape_internal::h021ffbd5edff797a@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[712]:0x2033c6
<ruffle_render_webgl::WebGlRenderBackend as ruffle_core::backend::render::RenderBackend>::replace_shape::hba559c716c27e7d6@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[2203]:0x3807cf
ruffle_core::drawing::Drawing::render::h5a06073bb06603c5@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[637]:0x1df881
<ruffle_core::display_object::DisplayObject as ruffle_core::display_object::TDisplayObject>::render_self::ha654c6206081d762@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[2471]:0x39fa97
ruffle_core::display_object::render_base::ha4a7153888c7bf02@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[1488]:0x2fe77f
<ruffle_core::display_object::DisplayObject as ruffle_core::display_object::TDisplayObject>::render::hd37e81707e54f5d6@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[3796]:0x416e08
<ruffle_core::display_object::DisplayObject as ruffle_core::display_object::TDisplayObject>::render_self::ha654c6206081d762@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[2471]:0x39fcd0
ruffle_core::display_object::render_base::ha4a7153888c7bf02@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[1488]:0x2fe77f
<ruffle_core::display_object::DisplayObject as ruffle_core::display_object::TDisplayObject>::render::hd37e81707e54f5d6@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[3796]:0x416e08
<ruffle_core::display_object::DisplayObject as ruffle_core::display_object::TDisplayObject>::render_self::ha654c6206081d762@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[2471]:0x39db58
ruffle_core::display_object::render_base::ha4a7153888c7bf02@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[1488]:0x2fe77f
<ruffle_core::display_object::stage::Stage as ruffle_core::display_object::TDisplayObject>::render::hf43ba5f578c7278c@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[1226]:0x2b7f92
ruffle_web::Ruffle::tick::h3568c7e262c85541@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[611]:0x1cf098
ruffle_web::Ruffle::new_internal::{{closure}}::{{closure}}::{{closure}}::h250055fb5c96cbdd@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[5716]:0x456bfb
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::hf92302fadda48b54@https://uploads.ungrounded.net/ruffle_wrapper/lib/533d00859b2aae889211.wasm:wasm-function[5292]:0x44c319
R@https://uploads.ungrounded.net/ruffle_wrapper/lib/core.ruffle.4eb0604eba48fe4cbd7c.js:1:2614
c@https://uploads.ungrounded.net/ruffle_wrapper/lib/core.ruffle.4eb0604eba48fe4cbd7c.js:1:2490

Player Info

Allows script access: true

Page Info

Page URL: https://uploads.ungrounded.net/ruffle_wrapper/ruffleembed.html?v=1.0.66&useloader=1&browsermode=default&props=%7B%22ruffle%22%3A%22%2Fruffle_wrapper%2Flib%2Fruffle.js%3F1653065402%22%2C%22public_path%22%3A%22%2Fruffle_wrapper%2Flib%2F%22%2C%22swf%22%3A%22https%3A%2F%2Fuploads.ungrounded.net%2Ftmp%2F1869000%2F1869958%2Ffile%2Fbitmap-tiles-slices-05b.swf%3F1654111737%22%2C%22vars%22%3A%7B%22NewgroundsAPI_PublisherID%22%3A1%2C%22NewgroundsAPI_SandboxID%22%3A%226297e8c2be9ee%22%2C%22NewgroundsAPI_SessionID%22%3A%228IL2f16QZxZabw340OmPc35bbea36c6bfd63feee76cb709b19b4febebf87Yawh%22%2C%22NewgroundsAPI_UserName%22%3A%22TeamTamago%22%2C%22NewgroundsAPI_UserID%22%3A1940571%2C%22ng_username%22%3A%22TeamTamago%22%7D%2C%22width%22%3A1278%2C%22height%22%3A720%2C%22icon%22%3A%22https%3A%2F%2Fimg.ngfiles.com%2Fdefaults%2Ficon-portal-xl.gif%3Ff1601395813%22%7D SWF URL: https://uploads.ungrounded.net/tmp/1869000/1869958/file/bitmap-tiles-slices-05b.swf?1654111737

Browser Info

Useragent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0 OS: Win32

Ruffle Info

Version: 0.1.0 Name: nightly 2022-05-20 Channel: nightly Built: 2022-05-20T00:13:55.393Z Commit: c503f78e13d9a595be0e315b18ce27267cdf94fc Is extension: false

TeamTamago commented 2 years ago

Crash only seems to happen in firefox and happens to me even when idling after about 2 minutes. I tested it with all the same code but without the bitmap drawing and it doesn't crash. I'm drawing the scene using beginBitmapFill and moving the bitmaps with matrixes. swf files.zip

mero09-99 commented 2 years ago

Any update on this?