Skip to content

Playing MP3 files from interanl fat_spiflash Mount results in CPU-Lockup (AUD-6905) #31

@Haerteleric

Description

@Haerteleric

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

I want to play audio snippets from internal FAT Storage. Playback should work just as if the file was mounted via a SD Card.

Actual behavior (suspected bug)

Firmware crashes, if i start pipeline with URI pointing to file that is mounted via esp_vfs_fat_spiflash_mount_ro

Error logs or terminal output

NFC Figurine Tag Detected Event Received!
I (23601) MICUBO_AUDIO: Playing track 0: /mcu/long.mp3
I (23601) ESP_GMF_FILE: Open, dir:1, uri:/mcu/long.mp3
I (23603) ESP_GMF_FILE: File size: 68335 byte, file position: 0
I (23607) ESP_GMF_TASK: One times job is complete, del[wk:0x42114f20, ctx:0x421138cc, label:mp3Decoder_open]
I (23616) ESP_GMF_PORT: ACQ IN, new self payload:0x42114f20, port:0x42113e7c, el:0x421138cc-mp3Decoder
ESP-ROM:esp32c5-eco2-20250121
Build:Jan 21 2025
rst:0x1a (CPU_LOCKUP),boot:0x1e (SPI_FAST_FLASH_BOOT)
SPI mode:DIO, clock div:1
load:0x408556b0,len:0x170c
load:0x4084bba0,len:0xe58
load:0x4084e5a0,len:0x3594
entry 0x4084bbb8
I (20) boot: ESP-IDF v5.5-1-gb66b5448e0 2nd stage bootloader

Steps to reproduce the behavior

  1. Mount Filesystem via esp_vfs_fat_spiflash_mount_ro
  2. Point Pipeline to mp3 source on that Mount
  3. Start Pipeline
  4. Crash (CPU_LOCKUP)

Project release version

IDF: 5.5 GMF: 0.7.5

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Linux

Operating system version

Arch Linux

Shell

Bash

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions