On 13 March 2018 at 20:38, Vegard Nossum <vegard.nos...@gmail.com> wrote: > Hi, > > I'm using commit 2597f8ee1d0a19383bbf193b2c37b45d78528e27 with > clang-5.0 from Ubuntu.
Got another one: struct a { struct b }; $ clang_delta --transformation=empty-struct-to-int --counter=1 input.c Segmentation fault Valgrind: ==20145== Invalid read of size 8 ==20145== at 0xC8FBF0: begin (RewriteRope.h:146) ==20145== by 0xC8FBF0: begin (RewriteRope.h:182) ==20145== by 0xC8FBF0: begin (RewriteBuffer.h:35) ==20145== by 0xC8FBF0: Transformation::outputTransformedSource(llvm::raw_ostream&) (Transformation.cpp:102) ==20145== by 0xCA3D7C: TransformationManager::doTransformation(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int&) (TransformationManager.cpp:271) ==20145== by 0x4E72B6: main (ClangDelta.cpp:228) ==20145== Address 0x8 is not stack'd, malloc'd or (recently) free'd BTW, I think a "meta-bug" is that the creduce_bug_* directories are numbered 001 to 009 but after that it doesn't create e.g. 010 onwards despite the fact that there are more crashes. Vegard