Open BeckyKoz opened 1 year ago
This appears to be a regression introduced in commit 0c269ba8ffa924b0a61ade079c417b5881654191.
The current code is here: https://github.com/ruffle-rs/ruffle/blob/700f765f91830358cf9b8ecb8647bb5645a5bb7d/core/src/avm1/runtime.rs#L458-L471
I suppose there is something causing an infinite loop, as adding if i > 10000 { break; }
prevents the issue from happening (the file also appears to run without any other particular issue).
Error Info
Error name: Error Error message: panicked at 'capacity overflow', library/alloc/src/raw_vec.rs:524:5 Error stack:
Player Info
Allows script access: true Renderer: wgpu Adapter Backend: Gl Adapter Name: "ANGLE (Intel, Intel(R) Iris(R) Xe Graphics Direct3D11 vs_5_0 ps_5_0, D3D11)" Adapter Device Type: IntegratedGpu Adapter Driver Name: "" Adapter Driver Info: "" Enabled features: Features(TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | PUSH_CONSTANTS) Available features: Features(TEXTURE_COMPRESSION_BC | CLEAR_TEXTURE | MULTIVIEW) 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: 640, 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: 256, min_storage_buffer_offset_alignment: 256, max_inter_stage_shader_components: 60, 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 } Surface quality: high Surface samples: 4 Surface size: Extent3d { width: 550, height: 400, depth_or_array_layers: 1 } Player type: Object SWF URL: /subscribers/games/music/spinngroove/sng.swf Param base: /subscribers/games/music/spinngroove/ Attribute 0: undefined Attribute 1: undefined Attribute 2: undefined Attribute 3: undefined Attribute 4: undefined Attribute 5: undefined
Page Info
Page URL: https://gridclub.com/activities/spin-n-groove SWF URL: https://gridclub.com/subscribers/games/music/spinngroove/sng.swf
Browser Info
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Platform: Win32 Has touch support: false
Ruffle Info
Version: 0.1.0 Name: nightly 2023-06-18 Channel: nightly Built: 2023-06-18T00:19:35.526Z Commit: 7bbaeb2a61703c919d961ec6624fb531dbc89485 Is extension: false
Metadata
width: 770 height: 318 frameRate: 30 numFrames: 34 swfVersion: 6 backgroundColor: #666666 isActionScript3: false uncompressedLength: 150967