[LLVMbugs] [Bug 6645] New: SIGSEG in clang::DeclContext::isTransparentContext ()

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 18 06:01:40 PDT 2010


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

           Summary: SIGSEG in clang::DeclContext::isTransparentContext ()
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: josephwinston at mac.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Created an attachment (id=4543)
 --> (http://llvm.org/bugs/attachment.cgi?id=4543)
sample code

/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang
-cc1 -triple x86_64-unknown-linux-gnu -S -disable-free -main-file-name
DataManager.cpp -pic-level 2 -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -g -resource-dir
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/lib/clang/1.5
-Wall -Wno-deprecated -fmessage-length 144 -fexceptions -fgnu-runtime -x c++
/tmp/example1.cpp

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2a95893e00 (LWP 10548)]
0x0000000000d9ddc0 in clang::DeclContext::isTransparentContext ()
(gdb) where
#0  0x0000000000d9ddc0 in clang::DeclContext::isTransparentContext ()
#1  0x0000000000da1ecc in clang::DeclContext::getLookupContext ()
#2  0x0000000000a5373b in clang::IdentifierResolver::isDeclInScope ()
#3  0x0000000000a944ad in clang::Sema::isDeclInScope ()
#4  0x0000000000a96f91 in FilterLookupForScope ()
#5  0x0000000000ab02b2 in clang::Sema::ActOnTypedefDeclarator ()
#6  0x0000000000ab49ae in clang::Sema::HandleDeclarator ()
#7  0x0000000000a59344 in clang::Sema::ActOnDeclarator ()
#8  0x0000000000e37d7d in clang::Parser::ParseDeclarationAfterDeclarator ()
#9  0x0000000000e3b25b in clang::Parser::ParseDeclGroup ()
#10 0x0000000000e46aa2 in clang::Parser::ParseSimpleDeclaration ()
#11 0x0000000000e46c1e in clang::Parser::ParseDeclaration ()
#12 0x0000000000e34f2c in clang::Parser::ParseExternalDeclaration ()
#13 0x0000000000e49fbe in clang::Parser::ParseNamespace ()
#14 0x0000000000e46cd1 in clang::Parser::ParseDeclaration ()
#15 0x0000000000e34f2c in clang::Parser::ParseExternalDeclaration ()
#16 0x0000000000e49fbe in clang::Parser::ParseNamespace ()
#17 0x0000000000e46cd1 in clang::Parser::ParseDeclaration ()
#18 0x0000000000e34f2c in clang::Parser::ParseExternalDeclaration ()
#19 0x0000000000e49fbe in clang::Parser::ParseNamespace ()
#20 0x0000000000e46cd1 in clang::Parser::ParseDeclaration ()
#21 0x0000000000e34f2c in clang::Parser::ParseExternalDeclaration ()
#22 0x0000000000e3524a in clang::Parser::ParseTopLevelDecl ()
#23 0x0000000000a53e0f in clang::ParseAST ()
#24 0x00000000007f1fdf in clang::CompilerInstance::ExecuteAction ()
#25 0x00000000007e6a1e in cc1_main ()
#26 0x00000000007e40a6 in main ()
(gdb)

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