Open Quuxplusone opened 4 years ago
Bugzilla Link | PR43853 |
Status | NEW |
Importance | P normal |
Reported by | Witold Baryluk (witold.baryluk+llvm@gmail.com) |
Reported on | 2019-10-30 12:33:13 -0700 |
Last modified on | 2019-10-30 18:04:32 -0700 |
Version | trunk |
Hardware | PC Linux |
CC | llvm-bugs@lists.llvm.org |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
When running under valgrind:
==52519== Invalid read of size 8
==52519== at 0x8E17727: operator bool (unique_ptr.h:367)
==52519== by 0x8E17727: llvm::ProfileSummaryInfo::computeSummary()
(lib/Analysis/ProfileSummaryInfo.cpp:86)
==52519== by 0x8903593: hasProfileSummary
(include/llvm/Analysis/ProfileSummaryInfo.h:71)
==52519== by 0x8903593:
llvm::InstructionCombiningPass::runOnFunction(llvm::Function&)
(lib/Transforms/InstCombine/InstructionCombining.cpp:3614)
==52519== by 0x811B345: llvm::FPPassManager::runOnFunction(llvm::Function&)
(lib/IR/LegacyPassManager.cpp:1648)
==52519== by 0x811AA4D:
llvm::legacy::FunctionPassManagerImpl::run(llvm::Function&)
(lib/IR/LegacyPassManager.cpp:1585)
==52519== by 0x811A9E5:
llvm::legacy::FunctionPassManager::run(llvm::Function&)
(lib/IR/LegacyPassManager.cpp:1510)
==52519== by 0x62D65CD: FetchJit::Create(FETCH_COMPILE_STATE const&) [clone
.constprop.0] (in /home/user/mesa-git/installdir/build-amd64-
opt/install/lib/x86_64-linux-gnu/dri/swrast_dri.so)
==52519== by 0x6A352F9: swr_draw_vbo(pipe_context*, pipe_draw_info const*)
(in /home/user/mesa-git/installdir/build-amd64-opt/install/lib/x86_64-linux-
gnu/dri/swrast_dri.so)
==52519== by 0x6C6ECEB: u_vbuf_draw_vbo (in /home/user/mesa-
git/installdir/build-amd64-opt/install/lib/x86_64-linux-gnu/dri/swrast_dri.so)
==52519== by 0x67E2257: st_draw_vbo.lto_priv.0 (in /home/user/mesa-
git/installdir/build-amd64-opt/install/lib/x86_64-linux-gnu/dri/swrast_dri.so)
==52519== by 0x68135EC: vbo_save_playback_vertex_list (in /home/user/mesa-
git/installdir/build-amd64-opt/install/lib/x86_64-linux-gnu/dri/swrast_dri.so)
==52519== by 0x68E5A8A: execute_list.part.0 (in /home/user/mesa-
git/installdir/build-amd64-opt/install/lib/x86_64-linux-gnu/dri/swrast_dri.so)
==52519== by 0x68EE09A: _mesa_CallList (in /home/user/mesa-
git/installdir/build-amd64-opt/install/lib/x86_64-linux-gnu/dri/swrast_dri.so)
==52519== Address 0x8 is not stack'd, malloc'd or (recently) free'd