Skip to content

warning: could not convert 'main' from the host encoding (CP1252) to UTF-32. (IDFGH-16791) #4

@Florida-Rob

Description

@Florida-Rob

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

The Monitor should parse the ELF file correctly

Actual behavior (suspected bug)

Instead, it chokes

Error logs or terminal output

add symbol table from file "C:\Users\riwal\esp\dmx_sacn2\build\bootloader\bootloader.elf"
warning: could not convert 'main' from the host encoding (CP1252) to UTF-32.
This normally should not happen, please file a bug report.

Steps to reproduce the behavior

Windows 11
Flash a program to a ESP32 (I use ESP32-C6, but not necessary)
The program if it has an error, will cause a panic
Until this last week, the MONITOR debug using ELF was totoally proken in esp-idf 5.5 or 5.5.1, but was fixed with a new release.
running 'install'bat' within the esp-idf framework re-installs and downloads the 'fix' for the ELF parse, but as above shows, whilst it does now parse the ELF file, it does so with errors

The 'fix' was: https://github.com/espressif/esp-idf-panic-decoder/releases/tag/v1.4.2.

Project release version

esp-idf 5.5.1 with decoder 1.4.2

System architecture

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

Operating system

Windows

Operating system version

Windows 11

Shell

CMD

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions