Upgrading esp-idf project from 6.6 to 6.7 causes a crash in the program

According to documentation they use the same IDF version 5.2.1

Happens on the first time the program accesses the flash (in this case it’s when initializing the core_dump module
Opened an issue with details at A crash of the application when upgrading from 6.6.0 to 6.7.0 using esp-idf · Issue #1407 · platformio/platform-espressif32 · GitHub

Any ideas?