ruffle-rs / ruffle

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

Error on https://www.miniplay.com/helpers/game/sandbox.php (https://www.miniplay.com/game/dale-and-peakot) #14709

Open nik312123 opened 10 months ago

nik312123 commented 10 months ago

Error Info

Error name: Error Error message: panicked at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/wasm/../unsupported/locks/mutex.rs:20:9: assertion left == right failed: cannot recursively acquire mutex left: true right: false Error stack:

Error: panicked at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/wasm/../unsupported/locks/mutex.rs:20:9:
assertion `left == right` failed: cannot recursively acquire mutex
  left: true
 right: false
    at H.n.wbg.__wbg_new_a64e3f2afc2cf2f8 (https://unpkg.com/@ruffle-rs/ruffle/core.ruffle.e5bd27090af6a7e5c8ce.js:1:56204)
    at core::ops::function::FnOnce::call_once{{vtable.shim}}::h5a435d7beef43b50 (wasm://wasm/0363efa6:wasm-function[10794]:0xa1e7f9)
    at std::panicking::rust_panic_with_hook::h62090d3fc0630473 (wasm://wasm/0363efa6:wasm-function[6608]:0x90ab23)
    at core::panicking::panic_fmt::hd79411a297d06dc8 (wasm://wasm/0363efa6:wasm-function[10506]:0xa1835e)
    at core::panicking::assert_failed_inner::h003d4b5b03930769 (wasm://wasm/0363efa6:wasm-function[4553]:0x803b04)
    at core::panicking::assert_failed::he3b51eda916f2b46 (wasm://wasm/0363efa6:wasm-function[10558]:0xa19c03)
    at ruffle_core::loader::Loader::movie_loader::{{closure}}::hc4b884964fb49e31 (wasm://wasm/0363efa6:wasm-function[791]:0x28d496)
    at <ruffle_web::navigator::WebNavigatorBackend as ruffle_core::backend::navigator::NavigatorBackend>::spawn_future::{{closure}}::heb2d58e3ea262753 (wasm://wasm/0363efa6:wasm-function[1276]:0x43fae8)
    at wasm_bindgen_futures::queue::Queue::new::{{closure}}::h007033b9284c7696 (wasm://wasm/0363efa6:wasm-function[3740]:0x78adde)
    at <dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::he60536ce30c58d9e (wasm://wasm/0363efa6:wasm-function[11743]:0xa39b9f)

AVM2 stack:

    at flash.display::BitmapData/flash::display::BitmapData::draw()
    at _-3d::_-27$/renderFrame()
    at _-3d::_-27$/cacheToBitmap()
    at _-3d::_-2t/init()
    at _-5W::_-0h/init()
    at _-5W::_-3L/init()
    at _-5W::_-5s/init()
    at _-3W::_-51/init()
    at _-1v::_-4/_-n()
    at _-1v::_-4/_-53()
    at flash.display::DisplayObjectContainer/flash::display::DisplayObjectContainer::addChild()
    at display.scrollingEngine::_-1I()
    at _-19::_-4n/registerEnvironement()
    at Main/initStage()
    at flash.display::DisplayObjectContainer/flash::display::DisplayObjectContainer::addChildAt()
    at MainMediator$/addGame()
    at flash.events::EventDispatcher/flash::events::EventDispatcher::dispatchEvent()
    at _-e::s_transition_171/frame22()

Player Info

Allows script access: false Renderer: wgpu Adapter Backend: Gl Adapter Name: "ANGLE (Apple, ANGLE Metal Renderer: Apple M1 Pro, Unspecified Version)" Adapter Device Type: IntegratedGpu Adapter Driver Name: "" Adapter Driver Info: "" Enabled features: Features(TEXTURE_COMPRESSION_BC | TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | PUSH_CONSTANTS | SHADER_UNUSED_VERTEX_OUTPUT) Available features: Features(TEXTURE_COMPRESSION_ETC2 | TEXTURE_COMPRESSION_ASTC | TEXTURE_COMPRESSION_ASTC_HDR | CLEAR_TEXTURE) Current limits: Limits { max_texture_dimension_1d: 16384, max_texture_dimension_2d: 16384, max_texture_dimension_3d: 2048, max_texture_array_layers: 256, max_bind_groups: 4, max_bindings_per_bind_group: 1000, max_dynamic_uniform_buffers_per_pipeline_layout: 8, max_dynamic_storage_buffers_per_pipeline_layout: 0, max_sampled_textures_per_shader_stage: 16, max_samplers_per_shader_stage: 16, max_storage_buffers_per_shader_stage: 0, max_storage_textures_per_shader_stage: 0, max_uniform_buffers_per_shader_stage: 11, max_uniform_buffer_binding_size: 16384, max_storage_buffer_binding_size: 0, max_vertex_buffers: 8, max_buffer_size: 268435456, max_vertex_attributes: 16, max_vertex_buffer_array_stride: 255, min_uniform_buffer_offset_alignment: 32, min_storage_buffer_offset_alignment: 256, max_inter_stage_shader_components: 31, max_compute_workgroup_storage_size: 0, max_compute_invocations_per_workgroup: 0, max_compute_workgroup_size_x: 0, max_compute_workgroup_size_y: 0, max_compute_workgroup_size_z: 0, max_compute_workgroups_per_dimension: 0, max_push_constant_size: 96, max_non_sampler_bindings: 1000000 } Surface quality: high Surface samples: 4 Surface size: Extent3d { width: 1440, height: 1080, depth_or_array_layers: 1 }

Page Info

Page URL: https://www.miniplay.com/helpers/game/sandbox.php?mp_assets=https%3A%2F%2Fs2.minijuegosgratis.com%2F&mp_embed=0&mp_game_id=14147&mp_game_uid=dale-and-peakot&mp_game_url=https%3A%2F%2Fwww.miniplay.com%2Fembed%2Fdale-and-peakot&mp_int=1&mp_locale=en_US&mp_player_type=FLASH&mp_player_url=aHR0cHM6Ly93d3cubWluaWp1ZWdvc2dyYXRpcy5jb20vZmxhc2gxMjM0L25vX2hvdGxpbmsvZGFsZWFuZHBlYWtvdC5zd2Y%3D&mp_site_https_url=https%3A%2F%2Fwww.miniplay.com%2F&mp_site_name=miniplay.com&mp_site_url=https%3A%2F%2Fwww.miniplay.com%2F&mp_timezone=America%2FLos_Angeles&mp_view_type= SWF URL: https://www.minijuegosgratis.com/flash1234/no_hotlink/daleandpeakot.swf

Browser Info

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Platform: MacIntel Has touch support: false

Ruffle Info

Version: 0.1.0 Name: nightly 2024-01-12 Channel: nightly Built: 2024-01-12T00:14:57.685Z Commit: 70486465e8380cb846dbf77d57295867533fe61c Is extension: false

Metadata

width: 720 height: 540 frameRate: 30 numFrames: 47 swfVersion: 10 backgroundColor: undefined isActionScript3: true uncompressedLength: 7395982

n0samu commented 10 months ago

Looks like a stack overflow error that occurs due to the lower stack size limit in WASM, similar to #11534.