Help debugging a Windows-only 0xc0000005 crash while decoding real-device HEIC files

28 · Users Rust Lang · Aug. 17, 2026, 9:25 a.m.
Summary
This blog post discusses a specific Windows-only crash error code 0xc0000005 that occurs while decoding HEIC files. It explains the potential causes related to invalid raw pointer dereference and advises checking all unsafe blocks in Rust code, particularly those involving FFI (Foreign Function Interface) calls.