ruffle icon indicating copy to clipboard operation
ruffle copied to clipboard

panicked at 'assertion failed: `(left == right)`

Open qinlili23333 opened this issue 4 years ago • 6 comments

Android11 with Chrome88 it works fine with swf files smaller than 20M,however it got error when the 26.7M swf come the same swf works pretty fine on desktop devices

Error Info

Error name: Error Error message: panicked at 'assertion failed: (left == right) left: true, right: false: cannot recursively acquire mutex', /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys/wasm/../unsupported/mutex.rs:23:9 Error stack:

Error: panicked at 'assertion failed: `(left == right)`
  left: `true`,
 right: `false`: cannot recursively acquire mutex', /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys/wasm/../unsupported/mutex.rs:23:9
    at a.wbg.__wbg_new_df6e6ab7a65c4c4d (http://10.0.0.8:888/D%3A/%E7%90%B4%E6%A2%A8%E6%A2%A8/Downloads/ruffle_nightly_2021_01_28_selfhosted/ruffle.js:1:6799)
    at std::sync::once::Once::call_once::{{closure}}::h7141d078b1ea013f (<anonymous>:wasm-function[1566]:0x29e166)
    at std::sync::once::Once::call_inner::h02eac160d339afc2 (<anonymous>:wasm-function[1588]:0x2a1ed6)
    at core::ops::function::FnOnce::call_once{{vtable.shim}}::hf48d3d3ee3d10801 (<anonymous>:wasm-function[4604]:0x38394c)
    at std::panicking::rust_panic_with_hook::h123718ba3bf480af (<anonymous>:wasm-function[3449]:0x357d9b)
    at std::panicking::begin_panic_handler::{{closure}}::hf393a82e58397bd2 (<anonymous>:wasm-function[4109]:0x376e2f)
    at std::sys_common::backtrace::__rust_end_short_backtrace::h2ff2cfc953878925 (<anonymous>:wasm-function[4957]:0x38914a)
    at rust_begin_unwind (<anonymous>:wasm-function[4832]:0x38785d)
    at std::panicking::begin_panic_fmt::h96153d9dc0e882ed (<anonymous>:wasm-function[4924]:0x388b69)
    at std::thread::local::LocalKey<T>::with::ha706aae5b9bcb9bd (<anonymous>:wasm-function[785]:0x1df2dc)

Player Info

Allows script access: false

Page Info

Page URL: http://10.0.0.8:888/D%3A/%E7%90%B4%E6%A2%A8%E6%A2%A8/Downloads/ruffle_nightly_2021_01_28_selfhosted/ruffle.html SWF URL: http://10.0.0.8:888/D%3A/%E7%90%B4%E6%A2%A8%E6%A2%A8/Downloads/ruffle_nightly_2021_01_28_selfhosted/VoicesFromtheSea.swf

Browser Info

Useragent: Mozilla/5.0 (Linux; Android 11; ASUS_I01WD) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.141 Mobile Safari/537.36 OS: Linux armv8l

Ruffle Info

Version: 0.1.0 Name: nightly 2021-02-04 Channel: nightly Built: 2021-02-04T00:17:27.254Z Commit: ac47b56fef8781a21ed5a26858c73d7d6d18e132

qinlili23333 avatar Feb 04 '21 13:02 qinlili23333

in addition, firefox android can handle this fine

qinlili23333 avatar Feb 04 '21 14:02 qinlili23333

Could you please upload the SWF for Voices From The Sea?

Poopooracoocoo avatar Feb 05 '21 03:02 Poopooracoocoo

Could you please upload the SWF for Voices From The Sea?

http://share.qinlili.bid/f/8067059-481398049-7c8e27 (Password:547873715

since github cannot upload file in issues directly, i uploaded it to an online disk

qinlili23333 avatar Feb 05 '21 09:02 qinlili23333

Did you ever get a solution for this? I also thought it was the file size. But after testing I think it's related to the number of items on the library. I exported compressing sound and the error still pops!

And yes, it works just fine on a laptop browser.

Tinho-kun avatar Feb 26 '21 11:02 Tinho-kun

Did you ever get a solution for this? I also thought it was the file size. But after testing I think it's related to the number of items on the library. I exported compressing sound and the error still pops!

And yes, it works just fine on a laptop browser.

I found that Firefox Android can handle this well at first,however when Firefox get in background or even open a new tab,it appears the same error as chrome(while sound continue working)

qinlili23333 avatar Feb 27 '21 10:02 qinlili23333

I've reuploaded the SWF file here: 海之声VoicesFromtheSea.zip

n0samu avatar Oct 30 '22 01:10 n0samu