Re: [lldb-dev] Stackoverflow crash when evaluating an invalid expression

2019-02-28 Thread Raphael Isemann via lldb-dev
The most likely explanation is that we somehow build a Clang AST where a class has it's itself as a base class or as a field type. Not sure how that happened, but I assume something like CRTP could maybe trigger such a bug. Please break in `getASTRecordLayout` and run `D->dumpColor()` in two diffe

[lldb-dev] Stackoverflow crash when evaluating an invalid expression

2019-02-28 Thread Ben Ruthig via lldb-dev
Hello all, I am currently investigating an issue where LLDB is crashing due to a stack overflow when attempting to evaluate an expression. I have seen the same issue in 6.0.1 and have reproduced it in 7.0.1. Any help to diagnose and fix would be greatly appreciated as I am trying to meet a relea