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
The new inline-pass throws Segmentation Fault in InlinePass::CloneAndMapLocals (line 106).
Here the backtrace:
(Suspended : Signal : SIGSEGV:Segmentation fault)
std::unique_ptr<spvtools::ir::BasicBlock, std::default_delete<spvtools::ir::BasicBlock> >::get() at unique_ptr.h:308 0x7ffff79f6042
spvtools::ir::UptrVectorIterator<spvtools::ir::BasicBlock, false>::operator->() at iterator.h:66 0x7ffff79f5122
spvtools::opt::InlinePass::CloneAndMapLocals() at inline_pass.cpp:106 0x7ffff79f0bab
spvtools::opt::InlinePass::GenInlineCode() at inline_pass.cpp:197 0x7ffff79f1f2e
spvtools::opt::InlinePass::Inline() at inline_pass.cpp:363 0x7ffff79f2418
spvtools::opt::InlinePass::ProcessImpl() at inline_pass.cpp:423 0x7ffff79f292d
spvtools::opt::InlinePass::Process() at inline_pass.cpp:436 0x7ffff79f2a27
spvtools::opt::PassManager::Run() at pass_manager.cpp:23 0x7ffff79cdee6
spvtools::Optimizer::Run() at optimizer.cpp:77 0x7ffff79c778c
runSPRVToolsOptimizer() at SPIRVParser.cpp:124 0x7ffff7953623
<...more frames...>
It looks like the error occurs for functions without any body/instructions (e.g. imported functions), in which case callee_block_itr->begin() points to nullptr.
The text was updated successfully, but these errors were encountered:
The new inline-pass throws Segmentation Fault in
InlinePass::CloneAndMapLocals
(line 106).Here the backtrace:
It looks like the error occurs for functions without any body/instructions (e.g. imported functions), in which case
callee_block_itr->begin()
points tonullptr
.The text was updated successfully, but these errors were encountered: