[LLVMbugs] [Bug 6376] New: Assertion failed: ((Result || isa<UsingShadowDecl>(D)) && "Unable to find instantiation of declaration!"), function FindInstantiatedDecl, file SemaTemplateInstantiateDecl.cpp, line 2306.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Feb 21 15:15:19 PST 2010


http://www.llvm.org/bugs/show_bug.cgi?id=6376

           Summary: Assertion failed: ((Result || isa<UsingShadowDecl>(D))
                    && "Unable to find instantiation of declaration!"),
                    function FindInstantiatedDecl, file
                    SemaTemplateInstantiateDecl.cpp, line 2306.
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: ich at az2000.de
                CC: dgregor at apple.com
   Estimated Hours: 0.0


[  4%] Building CXX object CMakeFiles/openlierox.dir/src/gusanos/distortion.o
Assertion failed: ((Result || isa<UsingShadowDecl>(D)) && "Unable to find
instantiation of declaration!"), function FindInstantiatedDecl, file
SemaTemplateInstantiateDecl.cpp, line 2306.
0  clang             0x01271724 main + 19311232
1  clang             0x01271b8e main + 19312362
2  libSystem.B.dylib 0x954282bb _sigtramp + 43
3  libSystem.B.dylib 0xffffffff _sigtramp + 1790803311
4  libSystem.B.dylib 0x9549c23a raise + 26
5  libSystem.B.dylib 0x954a8679 abort + 73
6  libSystem.B.dylib 0x9549d3db __assert_rtn + 101
7  clang             0x0038e841 main + 3701661
8  clang             0x00360767 main + 3513027
9  clang             0x0037537e main + 3598042
10 clang             0x00379487 main + 3614691
11 clang             0x00374520 main + 3594364
12 clang             0x00374701 main + 3594845
13 clang             0x00374804 main + 3595104
14 clang             0x00374fc1 main + 3597085
15 clang             0x00373ace main + 3591722
16 clang             0x003745aa main + 3594502
17 clang             0x00374701 main + 3594845
18 clang             0x00374804 main + 3595104
19 clang             0x00361f06 main + 3519074
20 clang             0x003620ac main + 3519496
21 clang             0x003624ed main + 3520585
22 clang             0x00363381 main + 3524317
23 clang             0x00397d5a main + 3739830
24 clang             0x0031a832 main + 3226510
25 clang             0x002d302c main + 2933640
26 clang             0x0059fab8 main + 5869076
27 clang             0x0059bfce main + 5853994
28 clang             0x0059defd main + 5861977
29 clang             0x0059e09b main + 5862391
30 clang             0x0059e286 main + 5862882
31 clang             0x005a76be main + 5900826
32 clang             0x0059d427 main + 5859203
33 clang             0x0059defd main + 5861977
34 clang             0x0059bb5c main + 5852856
35 clang             0x0059defd main + 5861977
36 clang             0x0059e09b main + 5862391
37 clang             0x0059e286 main + 5862882
38 clang             0x005a76be main + 5900826
39 clang             0x0059d427 main + 5859203
40 clang             0x0059defd main + 5861977
41 clang             0x0059bb5c main + 5852856
42 clang             0x0059defd main + 5861977
43 clang             0x0059e09b main + 5862391
44 clang             0x0059e286 main + 5862882
45 clang             0x0059f7f5 main + 5868369
46 clang             0x0059bfce main + 5853994
47 clang             0x0059defd main + 5861977
48 clang             0x0059e09b main + 5862391
49 clang             0x0059e5b3 main + 5863695
50 clang             0x005b7dc6 main + 5968162
51 clang             0x005bc60c main + 5986664
52 clang             0x005bcf24 main + 5988992
53 clang             0x005b8065 main + 5968833
54 clang             0x005be7dd main + 5995321
55 clang             0x005b929b main + 5973495
56 clang             0x005b8301 main + 5969501
57 clang             0x005be7dd main + 5995321
58 clang             0x005b929b main + 5973495
59 clang             0x005b8301 main + 5969501
60 clang             0x005bc60c main + 5986664
61 clang             0x005bccdf main + 5988411
62 clang             0x005c750f main + 6031467
63 clang             0x0058ab19 main + 5783157
64 clang             0x005c5a4b main + 6024615
65 clang             0x005c5a98 main + 6024692
66 clang             0x005c6878 main + 6028244
67 clang             0x005c69b6 main + 6028562
68 clang             0x0021a100 main + 2176092
69 clang             0x0003e642 main + 227742
70 clang             0x0003e532 main + 227470
71 clang             0x0002025d main + 103865
72 clang             0x00003114 _mh_execute_header + 8468
73 clang             0x00006d8d main + 233
74 clang             0x00002036 _mh_execute_header + 4150
Stack dump:
0.    Program arguments:
/Users/az/Programmierung/CppIDE/llvm-src/Debug/bin/clang -cc1 -triple
i386-apple-darwin9.0.0 -S -disable-free -main-file-name distortion.cpp
-pic-level 1 -mdisable-fp-elim -target-cpu yonah -g -resource-dir
/Users/az/Programmierung/CppIDE/llvm-src/Debug/lib/clang/1.1 -DDEBUG=1
-D_AI_DEBUG -D SYSTEM_DATA_DIR="/usr/share/games"
-I/Users/az/Programmierung/openlierox/./optional-includes/generated
-I/Users/az/Programmierung/openlierox/./include
-I/Users/az/Programmierung/openlierox/./src
-I/Users/az/Programmierung/openlierox/./libs/pstreams -I/usr/include/libxml2
-I/usr/local/include/libxml2
-I/Users/az/Programmierung/openlierox/./src/breakpad/external/src
-I/Users/az/Programmierung/openlierox/./libs/hawknl/include
-I/Users/az/Programmierung/openlierox/./libs/libzip
-I/Users/az/Programmierung/openlierox/./libs/lua
-I/Users/az/Programmierung/openlierox/./build/Xcode/include
-I/Users/az/Programmierung/openlierox/./build/Xcode/freealut/include
-I/Library/Frameworks/SDL.framework/Headers
-I/Library/Frameworks/SDL_image.framework/Headers
-I/Library/Frameworks/SDL_mixer.framework/Headers
-I/Library/Frameworks/UnixImageIO.framework/Headers
-I/Library/Frameworks/GD.framework/Headers -F ./build/Xcode
-F/Library/Frameworks -Wall -fmessage-length 144 -pthread -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -o
/var/folders/P9/P9wWY+Z8HDeOPixVmDZ0J++++TI/-Tmp-/cc-rpROEP.s -x c++
/Users/az/Programmierung/openlierox/src/gusanos/distortion.cpp 
1.    /Users/az/Programmierung/openlierox/src/gusanos/distortion.cpp:139:38:
current parser token ')'
2.    /Users/az/Programmierung/openlierox/src/gusanos/distortion.cpp:133:1:
parsing function body 'randomMap'
3.    /Users/az/Programmierung/openlierox/src/gusanos/distortion.cpp:133:1: in
compound statement ('{}')
4.    /Users/az/Programmierung/openlierox/src/gusanos/distortion.cpp:138:2: in
compound statement ('{}')
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)
make[2]: *** [CMakeFiles/openlierox.dir/src/gusanos/distortion.o] Error 250
make[1]: *** [CMakeFiles/openlierox.dir/all] Error 2
make: *** [all] Error 2

-- 
Configure bugmail: http://www.llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the llvm-bugs mailing list