[LLVMbugs] [Bug 11005] New: Core dump on invalid code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Sep 24 15:05:48 PDT 2011


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

           Summary: Core dump on invalid code
           Product: clang
           Version: trunk
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: lists at eitanadler.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=7348)
 --> (http://llvm.org/bugs/attachment.cgi?id=7348)
minified test case

%clang --version
FreeBSD clang version 3.0 (trunk 135360) 20110717
Target: x86_64-unknown-freebsd9.0
Thread model: posix

Stack dump:
0.      Program arguments: /home/eitan/svn/llvm/Debug+Asserts/bin/clang -cc1
-triple x86_64-unknown-freebsd9.0 -emit-obj -mrelax-all -disable-free
-main-file-name menu.ii -mrelocation-model static -mdisable-fp-elim
-masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64
-target-linker-version 2.17.50 -momit-leaf-frame-pointer -coverage-file menu.o
-resource-dir /home/eitan/svn/llvm/Debug+Asserts/bin/../lib/clang/3.0 -Wall
-Wextra -pedantic -std=c++0x -fdeprecated-macro -ferror-limit 19
-fmessage-length 238 -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-fcolor-diagnostics -o menu.o -x c++-cpp-output menu.ii 
1.      menu.ii:8:103: current parser token ';'
2.      menu.ii:7:18: parsing struct/union/class body
clang: error: unable to execute command: Segmentation fault: 11 (core dumped)
clang: error: clang frontend command failed due to signal 2 (use -v to see
invocation)
clang: note: diagnostic msg: Please submit a bug report to
http://llvm.org/bugs/ and include command line arguments and all diagnostic
information.
clang: note: diagnostic msg: Error generating preprocessed source(s) - no
preprocessable inputs.

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