Skip to content

Crash #86

@ChihHao-Su

Description

@ChihHao-Su

Input file (test.cxx)

int main() {
    
}

Log

Details

F:\GithubDownload\cppsafe>build\Debug\cppsafe.exe test.cxx
Error while trying to load a compilation database:
Could not auto-detect compilation database for file "test.cxx"
No compilation database found in F:\GithubDownload\cppsafe or any parent directory
fixed-compilation-database: Error while opening fixed database: no such file or directory
json-compilation-database: Error while opening JSON database: no such file or directory
Running without flags.
PLEASE submit a bug report to https://github.com/qqiangwu/cppsafe/issues/ and include the crash backtrace.
Stack dump:
0.      Program arguments: build\\Debug\\cppsafe.exe test.cxx
Exception Code: 0xE06D7363
0x00007FF9C391B699, C:\Windows\System32\KERNELBASE.dll(0x00007FF9C38E0000) + 0x3B699 byte(s), RaiseException() + 0x69 byte(s)
0x00007FF973E29362, C:\Windows\SYSTEM32\VCRUNTIME140D.dll(0x00007FF973E20000) + 0x9362 byte(s), _CxxThrowException() + 0x132 byte(s)
0x00007FF6AB86804B, F:\GithubDownload\cppsafe\build\Debug\cppsafe.exe(0x00007FF6AB630000) + 0x23804B byte(s), subprocess::Popen::execute_process() + 0x57B byte(s), C:\Users\admin\.conan2\p\nexts99caf2f120b15\p\include\cpp-subprocess\subprocess.hpp, line 1551 + 0x41 byte(s)
0x00007FF6AB836602, F:\GithubDownload\cppsafe\build\Debug\cppsafe.exe(0x00007FF6AB630000) + 0x206602 byte(s), subprocess::Popen::Popen() + 0x222 byte(s), C:\Users\admin\.conan2\p\nexts99caf2f120b15\p\include\cpp-subprocess\subprocess.hpp, line 1235 + 0x20 byte(s)
0x00007FF6AB84C5EE, F:\GithubDownload\cppsafe\build\Debug\cppsafe.exe(0x00007FF6AB630000) + 0x21C5EE byte(s), LifetimeFrontendAction::LifetimeFrontendAction() + 0x1BE byte(s), F:\GithubDownload\cppsafe\src\main.cpp, line 84 + 0x127 byte(s)
0x00007FF6AB847393, F:\GithubDownload\cppsafe\build\Debug\cppsafe.exe(0x00007FF6AB630000) + 0x217393 byte(s), std::make_unique() + 0x33 byte(s), D:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\include\memory, line 3597 + 0x21 byte(s)
0x00007FF6AB865C51, F:\GithubDownload\cppsafe\build\Debug\cppsafe.exe(0x00007FF6AB630000) + 0x235C51 byte(s), `clang::tooling::newFrontendActionFactory'::`2'::SimpleFrontendActionFactory::create() + 0x21 byte(s), F:\opt\llvm\include\clang\Tooling\Tooling.h, line 401 + 0xA byte(s)
0x00007FF6ABAA5A30, F:\GithubDownload\cppsafe\build\Debug\cppsafe.exe(0x00007FF6AB630000) + 0x475A30 byte(s), clang::tooling::FrontendActionFactory::runInvocation() + 0xF0 byte(s), F:\GithubDownload\llvm-project-llvmorg-17.0.2\clang\lib\Tooling\Tooling.cpp, line 454 + 0x0 byte(s)
0x00007FF6ABAA885F, F:\GithubDownload\cppsafe\build\Debug\cppsafe.exe(0x00007FF6AB630000) + 0x47885F byte(s), clang::tooling::ToolInvocation::runInvocation() + 0x18F byte(s), F:\GithubDownload\llvm-project-llvmorg-17.0.2\clang\lib\Tooling\Tooling.cpp, line 435 + 0xD3 byte(s)
0x00007FF6ABAA8620, F:\GithubDownload\cppsafe\build\Debug\cppsafe.exe(0x00007FF6AB630000) + 0x478620 byte(s), clang::tooling::ToolInvocation::run() + 0x940 byte(s), F:\GithubDownload\llvm-project-llvmorg-17.0.2\clang\lib\Tooling\Tooling.cpp, line 420 + 0xA8 byte(s)
0x00007FF6ABAAA300, F:\GithubDownload\cppsafe\build\Debug\cppsafe.exe(0x00007FF6AB630000) + 0x47A300 byte(s), clang::tooling::ClangTool::run() + 0x12A0 byte(s), F:\GithubDownload\llvm-project-llvmorg-17.0.2\clang\lib\Tooling\Tooling.cpp, line 612 + 0xD byte(s)
0x00007FF6AB834120, F:\GithubDownload\cppsafe\build\Debug\cppsafe.exe(0x00007FF6AB630000) + 0x204120 byte(s), main() + 0x4A0 byte(s), F:\GithubDownload\cppsafe\src\main.cpp, line 169 + 0x42 byte(s)
0x00007FF6B17FE1E9, F:\GithubDownload\cppsafe\build\Debug\cppsafe.exe(0x00007FF6AB630000) + 0x61CE1E9 byte(s), invoke_main() + 0x39 byte(s), D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl, line 79 + 0x0 byte(s)
0x00007FF6B17FE0D2, F:\GithubDownload\cppsafe\build\Debug\cppsafe.exe(0x00007FF6AB630000) + 0x61CE0D2 byte(s), __scrt_common_main_seh() + 0x132 byte(s), D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl, line 288 + 0x5 byte(s)
0x00007FF6B17FDF8E, F:\GithubDownload\cppsafe\build\Debug\cppsafe.exe(0x00007FF6AB630000) + 0x61CDF8E byte(s), __scrt_common_main() + 0xE byte(s), D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl, line 331 + 0x0 byte(s)
0x00007FF6B17FE27E, F:\GithubDownload\cppsafe\build\Debug\cppsafe.exe(0x00007FF6AB630000) + 0x61CE27E byte(s), mainCRTStartup() + 0xE byte(s), D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp, line 17 + 0x0 byte(s)
0x00007FF9C5457374, C:\Windows\System32\KERNEL32.DLL(0x00007FF9C5440000) + 0x17374 byte(s), BaseThreadInitThunk() + 0x14 byte(s)
0x00007FF9C625CC91, C:\Windows\SYSTEM32\ntdll.dll(0x00007FF9C6210000) + 0x4CC91 byte(s), RtlUserThreadStart() + 0x21 byte(s)

Environment

  • Compiler: MSVC x86_64 19.42.34435
  • Clang: 17.0.2, built from source

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions