================

----------------
Nerixyz wrote:

This crashed for me, because the instance wasn't initialized:

```console
> .\build\bin\lldb-dap.exe
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and 
include the crash backtrace.
Stack dump:
0.      Program arguments: F:\\Dev\\llvm-project\\build\\bin\\lldb-dap.exe
Exception Code: 0x80000003
 #0 0x00007ff76bcc963f std::_Optional_construct_base<class 
lldb_private::FileSystem>::operator*(void) & 
F:\VisualStudio2026\VC\Tools\MSVC\14.50.35717\include\optional:195:0
 #1 0x00007ff76bcc4133 lldb_private::FileSystem::Instance(void) 
F:\Dev\llvm-project\lldb\source\Host\common\FileSystem.cpp:46:0
 #2 0x00007ff76bb1481b lldb_dap::DAP::ConfigureIO(struct _iobuf *, struct 
_iobuf *) F:\Dev\llvm-project\lldb\tools\lldb-dap\DAP.cpp:237:0
 #3 0x00007ff76b8c8fe7 main 
F:\Dev\llvm-project\lldb\tools\lldb-dap\tool\lldb-dap.cpp:896:0
 #4 0x00007ff76be68559 invoke_main 
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:79:0
 #5 0x00007ff76be68442 __scrt_common_main_seh 
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288:0
 #6 0x00007ff76be682fe __scrt_common_main 
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:331:0
 #7 0x00007ff76be685ee mainCRTStartup 
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp:17:0
 #8 0x00007ffd5a88e8d7 (C:\WINDOWS\System32\KERNEL32.DLL+0x2e8d7)
 #9 0x00007ffd5b5ac3fc (C:\WINDOWS\SYSTEM32\ntdll.dll+0x8c3fc)
```

https://github.com/llvm/llvm-project/pull/195855
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to