[llvm-bugs] [Bug 27726] New: Crash when compiling pixman
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu May 12 12:45:05 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27726
Bug ID: 27726
Summary: Crash when compiling pixman
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: krejzi at email.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 16365
--> https://llvm.org/bugs/attachment.cgi?id=16365&action=edit
Files mentioned in the backtrace
When compiling pixman-0.34.0 with clang version 3.9.0 (trunk 269298), it fails
with:
#0 0x00007ff050819055 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/tools/bin/../lib/libLLVM-3.9svn.so+0x428055)
#1 0x00007ff050816d6d llvm::sys::RunSignalHandlers()
(/tools/bin/../lib/libLLVM-3.9svn.so+0x425d6d)
#2 0x00007ff050816f36 SignalHandler(int)
(/tools/bin/../lib/libLLVM-3.9svn.so+0x425f36)
#3 0x00007ff04f7e82d0 __restore_rt (/tools/bin/../lib/libc.so.6+0x332d0)
#4 0x00007ff050d271d5 llvm::SelectionDAG::getNode(unsigned int, llvm::SDLoc,
llvm::EVT, llvm::SDValue) (/tools/bin/../lib/libLLVM-3.9svn.so+0x9361d5)
#5 0x00007ff050c441c2
llvm::DAGTypeLegalizer::PromoteFloatOp_FP_TO_XINT(llvm::SDNode*, unsigned int)
(/tools/bin/../lib/libLLVM-3.9svn.so+0x8531c2)
#6 0x00007ff050c6fece llvm::DAGTypeLegalizer::run()
(/tools/bin/../lib/libLLVM-3.9svn.so+0x87eece)
#7 0x00007ff050c706b7 llvm::SelectionDAG::LegalizeTypes()
(/tools/bin/../lib/libLLVM-3.9svn.so+0x87f6b7)
#8 0x00007ff050d4563d llvm::SelectionDAGISel::CodeGenAndEmitDAG()
(/tools/bin/../lib/libLLVM-3.9svn.so+0x95463d)
#9 0x00007ff050d4ca14
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&)
(/tools/bin/../lib/libLLVM-3.9svn.so+0x95ba14)
#10 0x00007ff050d4f454
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(/tools/bin/../lib/libLLVM-3.9svn.so+0x95e454)
#11 0x00007ff0515d1b14 (anonymous
namespace)::X86DAGToDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(/tools/bin/../lib/libLLVM-3.9svn.so+0x11e0b14)
#12 0x00007ff050a31657
llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(/tools/bin/../lib/libLLVM-3.9svn.so+0x640657)
#13 0x00007ff0508d31d8 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/tools/bin/../lib/libLLVM-3.9svn.so+0x4e21d8)
#14 0x00007ff0508d353b llvm::FPPassManager::runOnModule(llvm::Module&)
(/tools/bin/../lib/libLLVM-3.9svn.so+0x4e253b)
#15 0x00007ff0508d385a llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/tools/bin/../lib/libLLVM-3.9svn.so+0x4e285a)
#16 0x000000000060e13b clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions
const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction,
llvm::raw_pwrite_stream*) (/tools/bin/clang-3.9+0x60e13b)
#17 0x0000000000983381 (/tools/bin/clang-3.9+0x983381)
#18 0x0000000000995a9a clang::ParseAST(clang::Sema&, bool, bool)
(/tools/bin/clang-3.9+0x995a9a)
#19 0x0000000000901c59 clang::FrontendAction::Execute()
(/tools/bin/clang-3.9+0x901c59)
#20 0x00000000008d4456
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/tools/bin/clang-3.9+0x8d4456)
#21 0x000000000098228a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/tools/bin/clang-3.9+0x98228a)
#22 0x00000000005cda08 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/tools/bin/clang-3.9+0x5cda08)
#23 0x00000000005c9e97 main (/tools/bin/clang-3.9+0x5c9e97)
#24 0x00007ff04f7d5771 __libc_start_main (/tools/bin/../lib/libc.so.6+0x20771)
#25 0x00000000005cbb49 _start (/tools/bin/clang-3.9+0x5cbb49)
Stack dump:
0. Program arguments: /tools/bin/clang-3.9 -cc1 -triple
i386-unknown-linux-gnu -emit-obj -disable-free -disable-llvm-verifier
-discard-value-names -main-file-name matrix-test.c -mrelocation-model static
-mthread-model posix -relaxed-aliasing -fmath-errno -masm-verbose
-mconstructor-aliases -fuse-init-array -target-cpu skylake
-momit-leaf-frame-pointer -dwarf-column-info -debug-info-kind=limited
-dwarf-version=4 -debugger-tuning=gdb -coverage-file
/sources/pixman-0.34.0/test/matrix-test.o -resource-dir
/tools/bin/../lib/clang/3.9.0 -dependency-file .deps/matrix-test.Tpo
-sys-header-deps -MP -MT matrix-test.o -D HAVE_CONFIG_H -I . -I .. -I ../pixman
-I ../pixman -internal-isystem /usr/local/include -internal-isystem
/tools/bin/../lib/clang/3.9.0/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -O2 -Wall -Wdeclaration-after-statement
-Wno-unused-local-typedefs -Wall -Wdeclaration-after-statement
-Wno-unused-local-typedefs -fdebug-compilation-dir /sources/pixman-0.34.0/test
-ferror-limit 19 -fmessage-length 176 -fvisibility hidden -pthread
-fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics
-vectorize-loops -vectorize-slp -o matrix-test.o -x c matrix-test.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'matrix-test.c'.
4. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@test_matrix'
clang-3.9: error: unable to execute command: Segmentation fault (core dumped)
clang-3.9: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.9.0 (trunk 269298)
Target: i386-unknown-linux-gnu
Thread model: posix
InstalledDir: /tools/bin
clang-3.9: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang-3.9: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.9: note: diagnostic msg: /tmp/matrix-test-f20717.c
clang-3.9: note: diagnostic msg: /tmp/matrix-test-f20717.sh
clang-3.9: note: diagnostic msg:
********************
Mentioned files are attached.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160512/815492dc/attachment.html>
More information about the llvm-bugs
mailing list