Skip to content

rustlib lldb provider crash #156420

@wfjsw

Description

@wfjsw

I tried to debug this code:

https://github.com/wfjsw/shitspeak-rs/blob/11ee95907ec81fa23bf3d65529ff167536835dce/src/voice/codec.rs#L539

A breakpoint is set on this line. After the debugger breaks, the lldb crashes after a few seconds. Could be the same as #114137 since some local variables indeed do not display, though they crashed in different places.

Image

Meta

rustc --version --verbose:

rustc 1.95.0 (59807616e 2026-04-14)
binary: rustc
commit-hash: 59807616e1fa2540724bfbac14d7976d7e4a3860
commit-date: 2026-04-14
host: x86_64-pc-windows-msvc
release: 1.95.0
LLVM version: 22.1.2
Backtrace

Traceback (most recent call last):
  File "C:\Users/synopses0130/.rustup/toolchains/stable-x86_64-pc-windows-msvc/lib/rustlib/etc\lldb_providers.py", line 784, in MSVCEnumSummaryProvider
    name: str = variant_names.enum_members[name_idx].name
                ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users/synopses0130/.rustup/toolchains/stable-x86_64-pc-windows-msvc/lib/rustlib/etc\lldb_providers.py", line 784, in MSVCEnumSummaryProvider
    name: str = variant_names.enum_members[name_idx].name
                ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users/synopses0130/.rustup/toolchains/stable-x86_64-pc-windows-msvc/lib/rustlib/etc\lldb_providers.py", line 784, in MSVCEnumSummaryProvider
    name: str = variant_names.enum_members[name_idx].name
                ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
IndexError: list index out of range
[26.250 ERROR codelldb::debug_session] error: 'header' is not a valid command.
Traceback (most recent call last):
  File "C:\Users/synopses0130/.rustup/toolchains/stable-x86_64-pc-windows-msvc/lib/rustlib/etc\lldb_providers.py", line 784, in MSVCEnumSummaryProvider
    name: str = variant_names.enum_members[name_idx].name
                ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users/synopses0130/.rustup/toolchains/stable-x86_64-pc-windows-msvc/lib/rustlib/etc\lldb_providers.py", line 784, in MSVCEnumSummaryProvider
    name: str = variant_names.enum_members[name_idx].name
                ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users/synopses0130/.rustup/toolchains/stable-x86_64-pc-windows-msvc/lib/rustlib/etc\lldb_providers.py", line 784, in MSVCEnumSummaryProvider
    name: str = variant_names.enum_members[name_idx].name
                ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
IndexError: list index out of range
Debug adapter exit code=3221225477, signal=null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions