Menu

Post image 1
Post image 2
1 / 2
0

Postmortem: Rust 1.85 Panic Caused a Crash in Our Embedded Device Fleet

DEV Community·ANKUSH CHOUDHARY JOHAL·about 1 month ago
#ZchPJpy0
#tip#postmortem#rust#panic#abort#targets
Reading 0:00
15s threshold

On March 12, 2024, 14,200 industrial IoT gateways running a Rust 1.85-compiled firmware image began kernel-panicking at a rate of 1 crash per 47 seconds, taking 92% of our North American smart grid fleet offline within 18 minutes. 🔴 Live Ecosystem Stats ⭐ rust-lang/rust — 112,395 stars, 14,826 forks Data pulled live from GitHub and npm. 📡 Hacker News Top Stories Right Now Localsend: An open-source cross-platform alternative to AirDrop (579 points) Claude.ai is unavailable (44 points) Microsoft VibeVoice: Open-Source Frontier Voice AI (246 points) AISLE Discovers 38 CVEs in OpenEMR Healthcare Software (132 points) Laguna XS.2 and M.1 (51 points) Key Insights Rust 1.85's default panic strategy changed from abort to unwinding for targets without atomic operations, increasing binary size by 18% on ARMv6-M targets. Rust 1.85.0 (stable) introduced -C panic=unwind as default for thumbv6m-none-eabi and thumbv7m-none-eabi targets, reversing 8-year-old embedded defaults.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More