[Lldb-commits] [lldb] [lldb-dap] Fix segfault in JSONUtils.cpp when GetUUIDString() returns nullptr (PR #169844)

via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 28 06:47:20 PST 2025


aahrun wrote:

> we could also update it here. both the `module_id` type and the call to `llvm::StringRef`.
> 
> https://github.com/llvm/llvm-project/blob/6c0d5aad7fa8756221a415fc3bf2bb6c7bf974f6/lldb/tools/lldb-dap/Handler/CompileUnitsRequestHandler.cpp#L63-L68
> 
> Do you by any chance have a reproducible ? because on linux lldb create one using `crc32` even when there is no `buildid`

I don't have an easy reproducible - but the crash I'm observing comes about when trying to debug JITed code from a custom compiler.

https://github.com/llvm/llvm-project/pull/169844


More information about the lldb-commits mailing list