You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys~ a Segmentation fault appeared when I applied TyPM on Linux kernel bc files. File names of all bc files of linux source code (Linux 6.6.12) are in bclist.txt. All things seemed fine when processing files and building call graph, but at last, the program got stuck for a long time and finally core dumped. Is it a bug of TyPM or simply a lack-of-memory issue? Because there are more than 500G memory available in the server environment where TyPM works, I think maybe it's a bug. The crash backtrace and the screenshot are attached below.
Hey guys~ a Segmentation fault appeared when I applied TyPM on Linux kernel bc files. File names of all bc files of linux source code (Linux 6.6.12) are in bclist.txt. All things seemed fine when processing files and building call graph, but at last, the program got stuck for a long time and finally core dumped. Is it a bug of TyPM or simply a lack-of-memory issue? Because there are more than 500G memory available in the server environment where TyPM works, I think maybe it's a bug. The crash backtrace and the screenshot are attached below.
backtrace:
#0 0x000055eb8c0a3424 PrintStackTraceSignalHandler(void*) (./kanalyzer+0x1b7424)
#1 0x000055eb8c0a0cc4 SignalHandler(int) (./kanalyzer+0x1b4cc4)
#2 0x00007f0757ac5420 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x14420)
#3 0x00007f07575e0441 /build/glibc-BHL3KM/glibc-2.31/string/../sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S:40:0
#4 0x000055eb8bf66fa3 getFileName[abi:cxx11](llvm::DILocation*, llvm::DISubprogram*) (./kanalyzer+0x7afa3)
#5 0x000055eb8bf67f34 printSourceCodeInfo(llvm::Value*, std::__cxx11::basic_string<char, std::char_traits, std::allocator >) (./kanalyzer+0x7bf34)
#6 0x000055eb8bfef55b TyPM::resolveFunctionTargets() /g.linux/type_analysis/typm/src/lib/TyPM.cc:1142:3
#7 0x000055eb8bfb3092 CallGraphPass::doModulePass(llvm::Module*) /g.linux/type_analysis/typm/src/lib/CallGraph.cc:541:10
#8 0x000055eb8bf9c7c4 IterativeModulePass::run(std::vector<std::pair<llvm::Module*, llvm::StringRef>, std::allocator<std::pair<llvm::Module*, llvm::StringRef> > >&) /g.linux/type_analysis/typm/src/lib/Analyzer.cc:90:9
#9 0x000055eb8bf9d364 main /g.linux/type_analysis/typm/src/lib/Analyzer.cc:189:9
#10 0x00007f0757549083 __libc_start_main /build/glibc-BHL3KM/glibc-2.31/csu/../csu/libc-start.c:342:3
#11 0x000055eb8bf66c8e _start (./kanalyzer+0x7ac8e)
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: ./kanalyzer @/g.linux/analyzer-llx-new/build/lib/6.6.12/bclist.txt
Segmentation fault (core dumped)
The text was updated successfully, but these errors were encountered: