[llvm-bugs] [Bug 45201] New: Stack overflow in ScalarEvolution

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 13 14:58:35 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=45201

            Bug ID: 45201
           Summary: Stack overflow in ScalarEvolution
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: alexandre.ganea at ubisoft.com
                CC: ehudkatz at gmail.com, hans at chromium.org,
                    htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

While I don't have a repro, I'm seeing the following issue when using 10.x
release branch to compile one of our codebases on Windows.

        clang-cl.exe!?filt$0 at 0@RunSafely at CrashRecoveryContext@llvm@@() Line 229
C++
        clang-cl.exe!__C_specific_handler(_EXCEPTION_RECORD *
ExceptionRecord=0x00000007a2203630, void * EstablisherFrame=0x00000007a2b8de50,
_CONTEXT * ContextRecord, _DISPATCHER_CONTEXT *
DispatcherContext=0x00000007a2202fc0) Line 290    C++
        ntdll.dll!RtlpExecuteHandlerForException()     Unknown
        ntdll.dll!RtlDispatchException()        Unknown
        ntdll.dll!KiUserExceptionDispatch()    Unknown
        clang-cl.exe!llvm::ScalarEvolution::checkValidity(const llvm::SCEV *
S=0x000001c6a0a7d1a8) Line 3810    C++
        clang-cl.exe!llvm::ScalarEvolution::getExistingSCEV(llvm::Value * V)
Line 3944  C++
        clang-cl.exe!llvm::ScalarEvolution::getSCEV(llvm::Value *
V=0x000001c6cb578e20) Line 3909       C++
>	clang-cl.exe!llvm::ScalarEvolution::createNodeForGEP(llvm::GEPOperator * GEP=0x000001c6dac37090) Line 5447	C++
        clang-cl.exe!llvm::ScalarEvolution::createSCEV(llvm::Value * V) Line
6524       C++
        clang-cl.exe!llvm::ScalarEvolution::getSCEV(llvm::Value *
V=0x000001c6dac37090) Line 3911       C++
        clang-cl.exe!llvm::ScalarEvolution::getGEPExpr(llvm::GEPOperator *
GEP=0x000001c6dac37110, const llvm::SmallVectorImpl<const llvm::SCEV *> &
IndexExprs={...}) Line 3495        C++
        clang-cl.exe!llvm::ScalarEvolution::createNodeForGEP(llvm::GEPOperator
* GEP=0x000001c6dac37110) Line 5448      C++
        clang-cl.exe!llvm::ScalarEvolution::createSCEV(llvm::Value * V) Line
6524       C++
        clang-cl.exe!llvm::ScalarEvolution::getSCEV(llvm::Value *
V=0x000001c6dac37110) Line 3911       C++
        clang-cl.exe!llvm::ScalarEvolution::getGEPExpr(llvm::GEPOperator *
GEP=0x000001c6dac37710, const llvm::SmallVectorImpl<const llvm::SCEV *> &
IndexExprs={...}) Line 3495        C++


Is this something that was fixed in master? Is this a stack size issue?
(PR10090)? I'd be happy to debug if you instruct me what to do?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200313/b8598fae/attachment.html>


More information about the llvm-bugs mailing list