[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[creduce-bugs] Crash during replace-function-def-with-decl
- Subject: [creduce-bugs] Crash during replace-function-def-with-decl
- From: chenyang at cs.utah.edu (Yang Chen)
- Date: Wed, 02 Oct 2013 12:16:49 -0600
- In-reply-to: <20130925160858.GA280@x4>
- References: <20130925160858.GA280@x4>
Hi Markus,
Thanks for the bug report!
I can reproduce it. The crash happens in the Clang's parser, i.e.
clang::ParseAST. On the other hand, I can't say it's a Clang bug because
apparently the Clang standalone doesn't crash on this test case. So, it
could be the case where some clang_delta's initialization code triggers
the bug. It's hard to dig into Clang's implementation to locate the
source. I will leave this bug open and check what would happen in
Clang's next release.
- Yang
On 9/25/13 10:08 AM, Markus Trippelsdorf wrote:
> With remotes/origin/llvm-svn-compatible branch I get:
>
> markus at x4 /tmp % /var/tmp/creduce/clang_delta/clang_delta --query-instances=replace-function-def-with-decl test.ii
> Stack dump:
> 0. test.ii:998:880: current parser token ';'
> 1. test.ii:998:1: parsing struct/union/class body 'nsStringCaseInsensitiveHashKey'
> 2. test.ii:998:700: parsing function body 'HashKey'
> [1] 7542 segmentation fault /var/tmp/creduce/clang_delta/clang_delta test.ii
>
>
>