llvm / llvm/llvm-project

[LLDB] Minidumps without Threads never report as Stopped

Open
#161,602 1 comment 0 reactions 0 assignees View on GitHub
lldb
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

This was accidentally discovered on my recent patch and is a corner case. Minidumps without threads are never set to stopped and so many commands don't work. This might seem like an illogical workflow, but it would be acceptable to have a Minidump with no threads and just be a memory dump.

Additionally, I didn't verify this but ProcessElfCore also walks it's threads to get stop reasons, so this likely also affects ProcessElfCore.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.