[LLVMbugs] [Bug 12496] New: Clang crashes when compiling a source file

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Apr 8 03:43:13 PDT 2012


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

             Bug #: 12496
           Summary: Clang crashes when compiling a source file
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: vanboxem.ruben at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


LLVM/Clang revision: trunk 154260
Host/Target Triple: x86_64-w64-mingw32
This backtrace is produced:

#0  0x0000000000000000 in ?? ()
#1  0x00000000019010cc in llvm::sys::Path::makeUnique(bool, std::string*) ()
#2  0x000000000055eb2d in
clang::driver::Driver::GetTemporaryPath(llvm::StringRef, char const*) const ()
#3  0x000000000055e350 in
clang::driver::Driver::GetNamedOutputPath(clang::driver::Compilation&,
clang::driver::JobAction const&, char const*, bool) const ()
#4  0x000000000055da8a in
clang::driver::Driver::BuildJobsForAction(clang::driver::Compilation&,
clang::driver::Action const*, clang::driver::ToolChain const*, char const*,
bool, char const*, clang::driver::InputInfo&) const ()
#5  0x000000000055d953 in
clang::driver::Driver::BuildJobsForAction(clang::driver::Compilation&,
clang::driver::Action const*, clang::driver::ToolChain const*, char const*,
bool, char const*, clang::driver::InputInfo&) const ()
#6  0x000000000055d953 in
clang::driver::Driver::BuildJobsForAction(clang::driver::Compilation&,
clang::driver::Action const*, clang::driver::ToolChain const*, char const*,
bool, char const*, clang::driver::InputInfo&) const ()
#7  0x000000000055ab7b in
clang::driver::Driver::BuildJobs(clang::driver::Compilation&) const ()
#8  0x0000000000557c87 in
clang::driver::Driver::BuildCompilation(llvm::ArrayRef<char const*>) ()
#9  0x00000000004023ae in main ()

when this command is executed: "clang test.c"

The Clang executable was built in RelWithDebInfo configuration with Cmake by
another prebuilt Clang. This crash does not happen if I build the same revision
with GCC 4.6.4.

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