[LLVMbugs] [Bug 7237] New: Clang crash on invalid

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 26 13:37:31 PDT 2010


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

           Summary: Clang crash on invalid
           Product: clang
           Version: trunk
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Keywords: crash-on-invalid
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: hinokind at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Created an attachment (id=4937)
 --> (http://llvm.org/bugs/attachment.cgi?id=4937)
testcase

$ clang segv9.cc
<...>
Stack dump:
0.    Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.0 -S -disable-free -main-file-name segv9.cc
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -resource-dir /usr/local/lib/clang/2.0
-ferror-limit 19 -fmessage-length 157 -fexceptions -fgnu-runtime
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-qkesfJ.s -x c++
segv9.cc 
1.    segv9.cc:14:153: current parser token ','
2.    segv9.cc:9:10: parsing struct/union/class body 'wxTimerEvent'
3.    segv9.cc:13:63: parsing function body
'wxTimerEvent::CRateLimiter::GetEventHashTable'
4.    segv9.cc:13:63: in compound statement ('{}')
clang: error: clang frontend command failed due to signal 11 (use -v to see
invocation)

$ clang --version
clang version 2.0 (trunk 104734)
Target: x86_64-unknown-freebsd8.0
Thread model: posix

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