[LLVMbugs] [Bug 6794] New: Assertion failed: ((Result || D->isInvalidDecl()) && "declaration was not instantiated in this scope!")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 6 07:12:00 PDT 2010


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

           Summary: Assertion failed: ((Result || D->isInvalidDecl()) &&
                    "declaration was not instantiated in this scope!")
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: ich at az2000.de
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Assertion failed: ((Result || D->isInvalidDecl()) && "declaration was not
instantiated in this scope!"), function getInstantiationOf, file Sema.h, line
3566.
0  clang             0x00f342fe main + 15916632
1  clang             0x00f34744 main + 15917726
2  libSystem.B.dylib 0x94cbd2bb _sigtramp + 43
3  libSystem.B.dylib 0xffffffff _sigtramp + 1798581615
4  libSystem.B.dylib 0x94d3123a raise + 26
5  libSystem.B.dylib 0x94d3d679 abort + 73
6  libSystem.B.dylib 0x94d323db __assert_rtn + 101
7  clang             0x003a5a27 main + 3798401
8  clang             0x0039f621 main + 3772795
9  clang             0x0037166e main + 3584456
10 clang             0x0038b7e8 main + 3691330
11 clang             0x00374868 main + 3597250
12 clang             0x0038821e main + 3677560
13 clang             0x0038d4fd main + 3698775
14 clang             0x003886cd main + 3678759
15 clang             0x0038cf57 main + 3697329
16 clang             0x0038d48b main + 3698661
17 clang             0x00388ee4 main + 3680830
18 clang             0x0038dc46 main + 3700640
19 clang             0x0038873a main + 3678868
20 clang             0x00392ca9 main + 3721219
21 clang             0x00391256 main + 3714480
22 clang             0x00391d13 main + 3717229
23 clang             0x00392228 main + 3718530
24 clang             0x003910a2 main + 3714044
25 clang             0x00374950 main + 3597482
26 clang             0x003a3bf5 main + 3790671
27 clang             0x003a3538 main + 3788946
28 clang             0x003a3d5b main + 3791029
29 clang             0x003a3538 main + 3788946
30 clang             0x003a3d85 main + 3791071
31 clang             0x003a3538 main + 3788946
32 clang             0x00227242 main + 2231708
33 clang             0x005f00e7 main + 6200385
34 clang             0x002254e3 main + 2224189
35 clang             0x0003fdb4 main + 235790
36 clang             0x0003fca4 main + 235518
37 clang             0x00020b25 main + 108159
38 clang             0x00002cbb _mh_execute_header + 7355
39 clang             0x0000658f main + 233
40 clang             0x00001b36 _mh_execute_header + 2870
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 gusgame.cpp -pic-level
1 -mdisable-fp-elim -target-cpu yonah -g -resource-dir
/Users/az/Programmierung/CppIDE/llvm-src/Debug/lib/clang/1.5 -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/./libs/breakpad/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 102 -pthread -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -o
/var/folders/P9/P9wWY+Z8HDeOPixVmDZ0J++++TI/-Tmp-/cc-nizA45.s -x c++
/Users/az/Programmierung/openlierox/src/gusanos/gusgame.cpp 
1.    <eof> parser at end of file
2.    /Users/az/Programmierung/openlierox/src/gusanos/OlxVariable.h:61:12:
instantiating function definition '__OlxVariable<float, getFct,
putFct>::gusVar'
3.    /Users/az/Programmierung/openlierox/src/gusanos/OlxVariable.h:42:12:
instantiating function definition '__OlxVariable<float, getFct,
putFct>::gusVar'
4.    /Users/az/Programmierung/openlierox/src/gusanos/OlxVariable.h:48:24:
instantiating function definition '__OlxVariable<float, getFct,
putFct>::gusVar(std::string const &)::GusVarWrapper::invoke'
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)
make[2]: *** [CMakeFiles/openlierox.dir/src/gusanos/gusgame.o] Error 250
make[1]: *** [CMakeFiles/openlierox.dir/all] Error 2
make: *** [all] Error 2

-- 
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