Skip to content

invalid message send to -[__NSPlaceholderArray initWithObjects:count:]: failed parsing encoding: #834

@DaveWest123

Description

@DaveWest123

what's going on doggie

the output tells me "it's likely a bug" so i am posting here. it could be the fox, too. maybe there's some incompatible character encoding shit that's 10.8+ and up. but i thought i'd share this anyways

10.7, running the fox in debug mode, i finally discovered why troubleshooting mode doesn't output the stats

[1554] Hit MOZ_CRASH(invalid message send to -[__NSPlaceholderArray initWithObjects:count:]: failed parsing encoding: unknown encoding character r at byte-index 2 in "^r@16Q24". This is likely a bug, please report it!) at /Users/Gagan/Downloads/mozilla-unified/third_party/rust/objc2-foundation/src/generated/NSArray.rs:90
#01: RustMozCrash[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0xb64b60b]
#02: _RNvCsa7NZVhzLvpw_14mozglue_static10panic_hook[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0xa31eed8]
#03: _RNvYNvCsa7NZVhzLvpw_14mozglue_static10panic_hookINtNtNtCshNzJkZzjOPX_4core3ops8function2FnTRNtNtCs3dIIVAqcZrP_3std5panic13PanicHookInfoEE4callB4_[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0xa31f23c]
JavaScript error: , line 0: NS_ERROR_UNEXPECTED
#04: std::panicking::panic_with_hook::h45a195784b6512b4[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0xb52f0a8]
#05: std::panicking::panic_handler::_$u7b$$u7b$closure$u7d$$u7d$::hf2ba36d305d08e8f[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0xb52c677]
#06: std::sys::backtrace::__rust_end_short_backtrace::he932de9e1d2ac6a1[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0xb52c3e9]
#07: _RNvCs4XM6PpAXChX_7___rustc17rust_begin_unwind[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0xb52d2d4]
#08: core::panicking::panic_fmt::h66d6104b7e0b36ec[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0xb6d7f1b]
#09: _RNvNtNtCsfuN7Zup6EjU_5objc27runtime16message_receiver12panic_verify[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0xb5f7a3c]
#10: _RNvNtNtCsfuN7Zup6EjU_5objc27runtime16message_receiver14msg_send_check[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x983fc52]
#11: _RNvMNtCsaVo7uvVUcEC_16objc2_foundation5arrayINtNtNtB4_9generated9___NSArray7NSArrayNtNtNtCshKiCUiGPMfy_11objc2_metal9generated26___MTLAccelerationStructure42MTLAccelerationStructureGeometryDescriptorE19from_retained_sliceCshL04WWYILz5_8wgpu_hal[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x971b5ed]
#12: _RNvXs1_NtCshL04WWYILz5_8wgpu_hal5metalNtB5_8InstanceNtB7_8Instance18enumerate_adapters[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x970172b]
#13: _RNvXs0_NtNtCshL04WWYILz5_8wgpu_hal7dynamic8instanceNtNtB9_5metal8InstanceNtB5_11DynInstance18enumerate_adaptersCsfzG6K43Z9Db_9wgpu_core[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x96083b4]
#14: _RNvMNtCsfzG6K43Z9Db_9wgpu_core8instanceNtB2_8Instance15request_adapter[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x9684274]
#15: _RNvMs4_NtCsfzG6K43Z9Db_9wgpu_core8instanceNtNtB7_6global6Global15request_adapter[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x969d80f]
#16: _RNvNtCsdIekLieEcgz_13wgpu_bindings6server15process_message[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x9503b9b]
#17: wgpu_server_messages[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x950b56f]
#18: mozilla::webgpu::WebGPUParent::RecvMessages(unsigned int, mozilla::ipc::ByteBuf&&, nsTArray<mozilla::ipc::ByteBuf>&&, nsTArray<mozilla::ipc::shared_memory::Handle<(mozilla::ipc::shared_memory::Type)0>>&&)[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x421bd47]
#19: mozilla::webgpu::PWebGPUParent::OnMessageReceived(IPC::Message const&)[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x421d77c]
#20: mozilla::gfx::PCanvasManagerParent::OnMessageReceived(IPC::Message const&)[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x1e8cc9f]
#21: mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&)[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x11ae38f]
#22: mozilla::ipc::MessageChannel::DispatchMessage(mozilla::ipc::ActorLifecycleProxy*, std::__1::unique_ptr<IPC::Message, std::__1::default_delete<IPC::Message>>)[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x11ac621]
#23: mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::ipc::MessageChannel::MessageTask&)[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x11accbd]
#24: mozilla::ipc::MessageChannel::MessageTask::Run()[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x11ad7e1]
#25: nsThread::ProcessNextEvent(bool, bool*)[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x647783]
#26: NS_ProcessNextEvent(nsIThread*, bool)[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x64d4c1]
#27: mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*)[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x11b3d04]
#28: MessageLoop::Run()[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x111e113]
#29: nsThread::ThreadFunc(void*)[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//XUL +0x6431ec]
#30: _pt_root[/Users/vm/Desktop/FirefoxDebug.app/Contents/MacOS/gpu-helper.app/Contents/MacOS/../../..//libnss3.dylib +0x1d13b7]
#31: _pthread_start[/usr/lib/system/libsystem_c.dylib +0x4e8bf]

10.8 and up don't have this issew. any pro tips would be appreciated.

love you @madsmtm

always,
anon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions