Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on MapScratch v349.swf #19604

Open
buzz-lightsnack-2007 opened this issue Feb 23, 2025 · 0 comments
Open

Crash on MapScratch v349.swf #19604

buzz-lightsnack-2007 opened this issue Feb 23, 2025 · 0 comments
Labels
bug Something isn't working macos Issues related to MacOS panic Hit a panic

Comments

@buzz-lightsnack-2007
Copy link

buzz-lightsnack-2007 commented Feb 23, 2025

Describe what you were doing

It's similar to #15740, #15615 and #17844, and this appears to be caused by the program failing to open the file destination sheet. The file in question is an older version of Scratch 2, MapScratch v349, and Ruffle was playing this file at full screen.

What does the crash message say?

panicked at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-app-kit-0.2.2/src/generated/NSSavePanel.rs:83:1:
unexpected NULL returned from +[NSSavePanel savePanel]

Ruffle Version

0.1.0-nightly (a546909 2025-02-22)

Affected platform

Desktop app

Operating system

Mac OS 15.0.0 [64-bit]

Additional information

Filename: MapScratch v349.swf

AVM2 Callstack

	at flash.net::FileReference/save()
	at MethodInfo-61()
	at util::ProjectIO/convertSqueakSounds()
	at Scratch/exportProjectToFile()
	at uiwidgets::Menu/selected()
	at uiwidgets::MenuItem/mouseUp()

Render Info

Renderer: wgpu
Adapter Backend: Metal
Adapter Name: "Apple M2"
Adapter Device Type: IntegratedGpu
Adapter Driver Name: ""
Adapter Driver Info: ""
Enabled features: Features(TEXTURE_COMPRESSION_BC | FLOAT32_FILTERABLE | TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES)
Available features: Features(DEPTH_CLIP_CONTROL | DEPTH32FLOAT_STENCIL8 | TEXTURE_COMPRESSION_BC_SLICED_3D | TEXTURE_COMPRESSION_ETC2 | TEXTURE_COMPRESSION_ASTC | TIMESTAMP_QUERY | INDIRECT_FIRST_INSTANCE | SHADER_F16 | RG11B10UFLOAT_RENDERABLE | BGRA8UNORM_STORAGE | TEXTURE_INT64_ATOMIC | SHADER_FLOAT32_ATOMIC | TEXTURE_FORMAT_16BIT_NORM | TEXTURE_COMPRESSION_ASTC_HDR | TIMESTAMP_QUERY_INSIDE_ENCODERS | MAPPABLE_PRIMARY_BUFFERS | TEXTURE_BINDING_ARRAY | SAMPLED_TEXTURE_AND_STORAGE_BUFFER_ARRAY_NON_UNIFORM_INDEXING | UNIFORM_BUFFER_AND_STORAGE_TEXTURE_ARRAY_NON_UNIFORM_INDEXING | PARTIALLY_BOUND_BINDING_ARRAY | MULTI_DRAW_INDIRECT | PUSH_CONSTANTS | ADDRESS_MODE_CLAMP_TO_ZERO | ADDRESS_MODE_CLAMP_TO_BORDER | POLYGON_MODE_LINE | VERTEX_WRITABLE_STORAGE | CLEAR_TEXTURE | TEXTURE_ATOMIC | SHADER_PRIMITIVE_INDEX | DUAL_SOURCE_BLENDING | SHADER_INT64 | SUBGROUP | SUBGROUP_BARRIER | SHADER_INT64_ATOMIC_MIN_MAX)
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: 4294967295, 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: 124, max_color_attachments: 4, max_color_attachment_bytes_per_sample: 32, 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, min_subgroup_size: 0, max_subgroup_size: 0, max_push_constant_size: 0, max_non_sampler_bindings: 1000000 }
Surface quality: low
Surface samples: 1
Surface size: (1600, 1200, 1)

@buzz-lightsnack-2007 buzz-lightsnack-2007 added bug Something isn't working panic Hit a panic labels Feb 23, 2025
@kjarosh kjarosh added the macos Issues related to MacOS label Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macos Issues related to MacOS panic Hit a panic
Projects
None yet
Development

No branches or pull requests

2 participants