[llvm-bugs] [Bug 35797] New: Segmentation fault in Expr::getBestDynamicClassTypeExpr()

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 2 10:35:20 PST 2018


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

            Bug ID: 35797
           Summary: Segmentation fault in
                    Expr::getBestDynamicClassTypeExpr()
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: Tom.Isaacson at navico.com
                CC: llvm-bugs at lists.llvm.org

I'm running clazy (https://github.com/KDE/clazy) on my codebase and it keeps
crashing. I initially built with clang 3.8 but am now using the trunk and I'm
still seeing a segmentation fault in Expr::getBestDynamicClassTypeExpr(). It's
intermittent - I have to run it for a while to see the problem and that section
of the code is used successfully.

I'm still trying to figure out what goes wrong. Because I have to use
clazy_standalone I can't debug this directly (see
https://stackoverflow.com/questions/48014582/how-can-i-debug-clazy-standalone-run-from-xargs).
I've tried adding llvm::outs() and llvm::errs() to the code but neither are
producing any output. Any suggestions for other ways to debug this?

-- 
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/20180102/1b915965/attachment.html>


More information about the llvm-bugs mailing list