Skip to content

idf.py coredump-debug recorded crashed at SPILL_ALL_WINDOWS (IDFGH-16952) #18010

@wuyuanyi135

Description

@wuyuanyi135

sdkconfig.zip

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

v5.5.1

Espressif SoC revision.

ESP32S3 V0.2

Operating System used.

Windows

How did you build your project?

Command line with Make

If you are using Windows, please specify command line type.

None

Development Kit.

CUSTOM BOARD

Power Supply used.

USB

What is the expected behavior?

n/a

What is the actual behavior?

I have a untethered device and I use idf.py coredump-debug to review what was crashing. This time I captured a weird coredump with

warning: could not convert 'main' from the host encoding (CP1252) to UTF-32.
This normally should not happen, please file a bug report.
#0  _xt_context_save () at C:/Espressif/frameworks/esp-idf-v5.5/components/xtensa\xtensa_context.S:203
203         SPILL_ALL_WINDOWS                  /* place the live register windows there */
[Current thread is 1 (process 1070345744)]
(gdb) bt
Python Exception <class 'gdb.error'>: failed to find previous frame when computing inline frame id
#0  _xt_context_save () at C:/Espressif/frameworks/esp-idf-v5.5/components/xtensa\xtensa_context.S:203
(gdb) t
[Current thread is 1 (process 1070345744)]

There is no useful stacktrace for finding locating the crash. I could add that the crash only happen occasionally when a computer is trying to disconnect from the tinyusb cdc console. To me I think not able to finding the reason from stacktrace is a more serious problem.

Can you please explain what SPILL_ALL_WINDOWS is and what could cause this?

Steps to reproduce.

Please contact me for the elf and coredump if necessary.

Debug Logs.


Diagnostic report archive.

No response

More Information.

sdkconfig.zip

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions