[LLVMbugs] [Bug 6596] New: Assertion failed: (Ctx->isFileContext() && "We should have been looking only at file context here already."), function CppLookupName, file SemaLookup.cpp, line 730.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 12 06:34:08 PST 2010


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

           Summary: Assertion failed: (Ctx->isFileContext() && "We should
                    have been looking only at file context here
                    already."), function CppLookupName, file
                    SemaLookup.cpp, line 730.
           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


[  0%] Building CXX object CMakeFiles/openlierox.dir/src/gusanos/game_actions.o
Assertion failed: (Ctx->isFileContext() && "We should have been looking only at
file context here already."), function CppLookupName, file SemaLookup.cpp, line
730.
0  clang             0x00eec624 main + 15620188
1  clang             0x00eeca8e main + 15621318
2  libSystem.B.dylib 0x9346e2bb _sigtramp + 43
3  libSystem.B.dylib 0xffffffff _sigtramp + 1824071023
4  libSystem.B.dylib 0x934e223a raise + 26
5  libSystem.B.dylib 0x934ee679 abort + 73
6  libSystem.B.dylib 0x934e33db __assert_rtn + 101
7  clang             0x0030feda main + 3182866
8  clang             0x003102f1 main + 3183913
9  clang             0x00233ca0 main + 2281176
10 clang             0x002347ea main + 2284066
11 clang             0x005bbab2 main + 5983466
12 clang             0x005de7c3 main + 6126075
13 clang             0x0059d48d main + 5859013
14 clang             0x005a1113 main + 5874507
15 clang             0x005a14b4 main + 5875436
16 clang             0x005dd0fd main + 6120245
17 clang             0x005a80c5 main + 5903101
18 clang             0x005a13de main + 5875222
19 clang             0x005ce4f4 main + 6059820
20 clang             0x005d2e80 main + 6078648
21 clang             0x005d3553 main + 6080395
22 clang             0x005dde8b main + 6123715
23 clang             0x005a0ce1 main + 5873433
24 clang             0x005dc3c7 main + 6116863
25 clang             0x005dc414 main + 6116940
26 clang             0x005dd1f4 main + 6120492
27 clang             0x005dd332 main + 6120810
28 clang             0x00224288 main + 2217152
29 clang             0x0003fef6 main + 233774
30 clang             0x0003fde6 main + 233502
31 clang             0x0002141b main + 108115
32 clang             0x00003414 _mh_execute_header + 9236
33 clang             0x00006eb1 main + 233
34 clang             0x00002336 _mh_execute_header + 4918
35 clang             0x00000033 _mh_execute_header + 18446744073709547571
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 game_actions.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/./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 99 -pthread -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -o
/var/folders/P9/P9wWY+Z8HDeOPixVmDZ0J++++TI/-Tmp-/cc-pnjsM0.s -x c++
/Users/az/Programmierung/openlierox/src/gusanos/game_actions.cpp 
1.    /Users/az/Programmierung/openlierox/src/gusanos/game_actions.cpp:50:23:
current parser token 'ActionParamFlags'
2.    /Users/az/Programmierung/openlierox/src/gusanos/game_actions.cpp:48:1:
parsing function body 'registerGameActions'
3.    /Users/az/Programmierung/openlierox/src/gusanos/game_actions.cpp:48:1: in
compound statement ('{}')
4.    /Users/az/Programmierung/openlierox/src/gusanos/game_actions.cpp:49:2:
parsing namespace 'af'

clang: error: compiler command failed due to signal 6 (use -v to see
invocation)
make[2]: *** [CMakeFiles/openlierox.dir/src/gusanos/game_actions.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