zephyr (zephyrproject-rtos) errors

3 failures reported against zephyr (zephyrproject-rtos), sorted by how they fail and ranked by impact.

#269 by errors trackedEmbedded & firmware

Recurring zephyr (zephyrproject-rtos) errors, by impact

  1. 1Zephyr flash driver for STM32WBA. The ST flash manager takes its mutex in the writing thread and releases it from a work queue. A Zephyr k_mutex can only be unlocked by its owner, so the unlock returns -EPERM, and the flash manager ignores the return value. The first thread to write flash after boot keeps the lock for good. Every other thread that writes or erases flash blocks forever while holding the flash driver semaphore. With Bluetooth and settings both writing flash, the system stalls.Embedded & firmware · Crash or hard error · 1 report74
  2. 2sntp_simple returns -ETIMEDOUT long before the caller's timeout after a stale response, because the code compares against positive ETIMEDOUT; reproduced on an ESP32-S3 station right after it joins Wi-Fi.Embedded & firmware · Silent failure · 1 report66
  3. 3Zephyr's STM32 camera driver handles none of the vendor HAL's error callbacks. The HAL defaults are empty and it turns off the overrun interrupt after the first hit. A frame torn by an overrun comes back to the app with its full byte count, so it looks complete. Later overruns aren't raised at all. The only way to find out today is to define the HAL's weak callback yourself, which only one module per build can do.Embedded & firmware · Wrong verdict · 1 report66

How it fails

  1. Wrong verdict1
  2. Silent failure1
  3. Crash or hard error1

Engineering tools that address these errors

Sourced from public community reports. Costs and delays on individual entries are modeled estimates, not measurements.