PrincetonUniversity / cpf

Collaborative Parallelization Framework (CPF)
MIT License
31 stars 4 forks source link

510.parest spec priv failure #16

Closed ishitachaturvedi closed 4 years ago

ishitachaturvedi commented 4 years ago

ler/Profile.cpp:594:7

40 0x00007f5498f6c9ec liberty::SpecPriv::MallocProfiler::runOnFunction(llvm::Function*, liberty::ModuleLoops&) /u/ishitac/cpf/cpf/liberty/lib/PointsToProfiler/Profile.cpp:1680:16

41 0x00007f5498f65f23 liberty::SpecPriv::MallocProfiler::runOnModule(llvm::Module&) /u/ishitac/cpf/cpf/liberty/lib/PointsToProfiler/Profile.cpp:351:62

42 0x00000000023bc608 (anonymous namespace)::MPPassManager::runOnModule(llvm::Module&) /u/ishitac/llvm-workspace/llvm/lib/IR/LegacyPassManager.cpp:1750:20

43 0x00000000023bcdb3 llvm::legacy::PassManagerImpl::run(llvm::Module&) /u/ishitac/llvm-workspace/llvm/lib/IR/LegacyPassManager.cpp:1863:13

44 0x00000000023bcfa5 llvm::legacy::PassManager::run(llvm::Module&) /u/ishitac/llvm-workspace/llvm/lib/IR/LegacyPassManager.cpp:1895:1

45 0x00000000014ba47a main /u/ishitac/llvm-workspace/llvm/tools/opt/opt.cpp:892:15

46 0x00007f549adc1830 __libc_start_main /build/glibc-Cl5G7W/glibc-2.23/csu/../csu/libc-start.c:325:0

47 0x000000000147c389 _start (/u/ishitac/llvm-workspace/llvm-install/bin/opt+0x147c389)

Command terminated by signal 6 72.34user 1.84system 1:14.41elapsed 99%CPU (0avgtext+0avgdata 1042644maxresident)k 0inputs+24outputs (0major+1342736minor)pagefaults 0swaps opt: benchmark.specpriv-profile-noopt.bc: error: Could not open input file: No such file or directory ../../Makefile.generic:410: recipe for target 'benchmark.specpriv-profile.exe' failed make: *** [benchmark.specpriv-profile.exe] Error 1

vgene commented 4 years ago

SpecPriv is not actually running - in S state (interruptible sleep), might be waiting for something. Will look into it by checking where it is stuck and what value it is waiting for

vgene commented 4 years ago

Transferred from CPF-benchmarks

vgene commented 4 years ago

5335eb4fcc: Fixed segfault due to ostream related object missing

The root cause is address collision, the reason is delete ptr is not recognized due to virtualization (devirt is insufficient). Thus, the address collision is the correct behavior.

Depend on #5

vgene commented 4 years ago

source/libparest/message_log.cc: 275 -> include/libparest/utilities.h: 42 The delete callsite is not devirtualized.

vgene commented 4 years ago

Close this issue since it's not a bug. Will revisit if #5 is solved.