[LLVMbugs] [Bug 6973] New: Assertion in boost::statechart

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 29 01:11:42 PDT 2010


           Summary: Assertion in boost::statechart
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: chris at bubblescope.net
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com

Created an attachment (id=4768)
 --> (http://llvm.org/bugs/attachment.cgi?id=4768)
Asserting reduced test case

The attached test case, reduced from a boost::statechart test, causes the
following assertion:

caj at nyanko:~/clang-temp$ clang++ t.cc -w
clang: CodeGenFunction.h:1366: void
const T*, clang::ConstExprIterator, clang::ConstExprIterator) [with T =
clang::FunctionProtoType]: Assertion
`getContext().getCanonicalType(ArgType.getNonReferenceType()). getTypePtr() ==
getContext().getCanonicalType(Arg->getType()).getTypePtr() && "type mismatch in
call argument!"' failed.
0  clang           0x00000000014995da
1  clang           0x00000000014994c1
2  libpthread.so.0 0x00007fddcaaa48f0
3  libc.so.6       0x00007fddc9d94a75 gsignal + 53
4  libc.so.6       0x00007fddc9d985c0 abort + 384
5  libc.so.6       0x00007fddc9d8d941 __assert_fail + 241
6  clang           0x00000000005d305a
7  clang           0x00000000005daea7
8  clang           0x00000000005db5ed
9  clang           0x00000000005ce0e9
10 clang           0x00000000005f18b8
11 clang           0x00000000005fbd17
12 clang           0x00000000005fb338
13 clang           0x00000000005f9f3d
14 clang           0x00000000005c5e48
15 clang           0x0000000000640c1d
16 clang           0x0000000000641166
17 clang           0x0000000000640f23
18 clang           0x0000000000640af4
19 clang           0x000000000066c60b
20 clang           0x000000000066cc7d
21 clang           0x000000000056e42d
22 clang           0x000000000056c3d0
23 clang           0x000000000056b694
24 clang           0x0000000000569cac
25 clang           0x0000000000568a29
26 clang           0x000000000041aad1
27 clang           0x000000000068fe06
28 clang           0x000000000043705c
29 clang           0x0000000000436cc7
30 clang           0x00000000004212eb
31 clang           0x0000000000409172
32 clang           0x000000000040dce2 main + 259
33 libc.so.6       0x00007fddc9d7fc4d __libc_start_main + 253
34 clang           0x0000000000407b49
Stack dump:
0.      Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-linux-gnu -S -disable-free -main-file-name t.cc
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -resource-dir /usr/local/lib/clang/1.5 -w
-ferror-limit 19 -ftemplate-backtrace-limit 10 -fmessage-length 162
-fexceptions -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o
/tmp/cc-0sLw0R.s -x c++ t.cc 
1.      <eof> parser at end of file
2.      Per-file LLVM IR generation
3.      t.cc:316:30: Generating code for declaration 'Entry'
4.      t.cc:316:76: LLVM IR generation of compound statement ('{}')
clang: error: compiler command failed due to signal 6 (use -v to see

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list