[LLVMbugs] [Bug 17425] New: Crash in 'Simple Register Coalescing' pass while building Firefox

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 1 00:07:24 PDT 2013


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

            Bug ID: 17425
           Summary: Crash in 'Simple Register Coalescing' pass while
                    building Firefox
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: octoploid at yandex.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

% clang++ -w -o nsContentUtils.o -c -I../../../dist/stl_wrappers
-I../../../dist/system_wrappers -include
/home/markus/mozilla-central/config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM
-DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API
-DNO_NSPR_10_SUPPORT -DOS_POSIX=1 -DOS_LINUX=1
-I/home/markus/mozilla-central/ipc/chromium/src
-I/home/markus/mozilla-central/ipc/glue -I../../../ipc/ipdl/_ipdlheaders
-I/home/markus/mozilla-central/caps/include
-I/home/markus/mozilla-central/content/events/src
-I/home/markus/mozilla-central/content/html/content/src
-I/home/markus/mozilla-central/content/html/document/src
-I/home/markus/mozilla-central/content/xbl/src
-I/home/markus/mozilla-central/content/xml/content/src
-I/home/markus/mozilla-central/content/xml/document/src
-I/home/markus/mozilla-central/content/xslt/src/xpath
-I/home/markus/mozilla-central/content/xul/content/src
-I/home/markus/mozilla-central/content/xul/document/src
-I/home/markus/mozilla-central/dom/base -I/home/markus/mozilla-central/dom/ipc
-I/home/markus/mozilla-central/dom/workers
-I/home/markus/mozilla-central/js/ipc -I/home/markus/mozilla-central/image/src
-I/home/markus/mozilla-central/js/xpconnect/src
-I/home/markus/mozilla-central/layout/base
-I/home/markus/mozilla-central/layout/generic
-I/home/markus/mozilla-central/layout/style
-I/home/markus/mozilla-central/layout/svg
-I/home/markus/mozilla-central/layout/xul/base/src
-I/home/markus/mozilla-central/netwerk/base/src
-I/home/markus/mozilla-central/js/xpconnect/wrappers
-I/home/markus/mozilla-central/content/base/src -I. -I../../../dist/include
-I/var/tmp/moz-build-dir/dist/include/nspr
-I/var/tmp/moz-build-dir/dist/include/nss -fPIC -Qunused-arguments
-DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD -MP -MF
.deps/nsContentUtils.o.pp -Qunused-arguments -Qunused-arguments -Wall
-Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits
-Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wno-c++0x-extensions
-Wno-extended-offsetof -Wno-unknown-warning-option -Wno-return-type-c-linkage
-Wno-mismatched-tags -stdlib=libc++ -march=native -fno-exceptions
-fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x
-pthread -pipe -DNDEBUG -DTRIMMED -O3 -fomit-frame-pointer
/home/markus/mozilla-central/content/base/src/nsContentUtils.cpp
0  clang-3.4       0x0000000000fc2072 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1  clang-3.4       0x0000000000fc191c
2  libpthread.so.0 0x00007fd3fce83820
3  clang-3.4       0x0000000000b0be24
llvm::LiveInterval::join(llvm::LiveInterval&, int const*, int const*,
llvm::SmallVectorImpl<llvm::VNInfo*>&) + 132
4  clang-3.4       0x0000000000a5b0c3
5  clang-3.4       0x0000000000a5c66d
6  clang-3.4       0x0000000000a5ee03
7  clang-3.4       0x0000000000ed473f
llvm::FPPassManager::runOnFunction(llvm::Function&) + 623
8  clang-3.4       0x0000000000ed47cb
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
9  clang-3.4       0x0000000000ed49fd
llvm::MPPassManager::runOnModule(llvm::Module&) + 525
10 clang-3.4       0x0000000000ed6b9c llvm::PassManagerImpl::run(llvm::Module&)
+ 188
11 clang-3.4       0x0000000000fe5653
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 2275
12 clang-3.4       0x0000000000fe3847
13 clang-3.4       0x000000000126f265 clang::ParseAST(clang::Sema&, bool, bool)
+ 805
14 clang-3.4       0x00000000011be209 clang::FrontendAction::Execute() + 169
15 clang-3.4       0x00000000011a0548
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 296
16 clang-3.4       0x0000000000fc515a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1402
17 clang-3.4       0x00000000006de068 cc1_main(char const**, char const**, char
const*, void*) + 824
18 clang-3.4       0x00000000006c8cb9 main + 9193
19 libc.so.6       0x00007fd3fc89da75 __libc_start_main + 245
20 clang-3.4       0x00000000006dd2b2
Stack dump:
0.      Program arguments: /usr/local/bin/clang-3.4 -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -disable-free -disable-llvm-verifier
-main-file-name nsContentUtils.cpp -mrelocation-model pic -pic-level 2
-relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables
-fuse-init-array -target-cpu amdfam10 -momit-leaf-frame-pointer -coverage-file
/var/tmp/moz-build-dir/content/canvas/src/nsContentUtils.o -resource-dir
/usr/local/bin/../lib/clang/3.4 -dependency-file .deps/nsContentUtils.o.pp -MT
nsContentUtils.o -sys-header-deps -MP -include
/home/markus/mozilla-central/config/gcc_hidden.h -include
../../../mozilla-config.h -D MOZ_GLUE_IN_PROGRAM -D MOZILLA_INTERNAL_API -D
IMPL_LIBXUL -D STATIC_EXPORTABLE_JS_API -D NO_NSPR_10_SUPPORT -D OS_POSIX=1 -D
OS_LINUX=1 -D MOZILLA_CLIENT -D NDEBUG -D TRIMMED -I ../../../dist/stl_wrappers
-I ../../../dist/system_wrappers -I
/home/markus/mozilla-central/ipc/chromium/src -I
/home/markus/mozilla-central/ipc/glue -I ../../../ipc/ipdl/_ipdlheaders -I
/home/markus/mozilla-central/caps/include -I
/home/markus/mozilla-central/content/events/src -I
/home/markus/mozilla-central/content/html/content/src -I
/home/markus/mozilla-central/content/html/document/src -I
/home/markus/mozilla-central/content/xbl/src -I
/home/markus/mozilla-central/content/xml/content/src -I
/home/markus/mozilla-central/content/xml/document/src -I
/home/markus/mozilla-central/content/xslt/src/xpath -I
/home/markus/mozilla-central/content/xul/content/src -I
/home/markus/mozilla-central/content/xul/document/src -I
/home/markus/mozilla-central/dom/base -I /home/markus/mozilla-central/dom/ipc
-I /home/markus/mozilla-central/dom/workers -I
/home/markus/mozilla-central/js/ipc -I /home/markus/mozilla-central/image/src
-I /home/markus/mozilla-central/js/xpconnect/src -I
/home/markus/mozilla-central/layout/base -I
/home/markus/mozilla-central/layout/generic -I
/home/markus/mozilla-central/layout/style -I
/home/markus/mozilla-central/layout/svg -I
/home/markus/mozilla-central/layout/xul/base/src -I
/home/markus/mozilla-central/netwerk/base/src -I
/home/markus/mozilla-central/js/xpconnect/wrappers -I
/home/markus/mozilla-central/content/base/src -I . -I ../../../dist/include -I
/var/tmp/moz-build-dir/dist/include/nspr -I
/var/tmp/moz-build-dir/dist/include/nss -internal-isystem /usr/include/c++/v1
-internal-isystem /usr/local/include -internal-isystem
/usr/local/bin/../lib/clang/3.4/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -O3 -Wall -Wpointer-arith
-Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body
-Wsign-compare -Wno-invalid-offsetof -Wno-c++0x-extensions
-Wno-extended-offsetof -Wno-unknown-warning-option -Wno-return-type-c-linkage
-Wno-mismatched-tags -w -std=gnu++0x -fdeprecated-macro -fdebug-compilation-dir
/var/tmp/moz-build-dir/content/canvas/src -ferror-limit 19 -fmessage-length 174
-pthread -mstackrealign -fno-rtti -fobjc-runtime=gcc -fdiagnostics-show-option
-fcolor-diagnostics -vectorize-loops -vectorize-slp -o nsContentUtils.o -x c++
/home/markus/mozilla-central/content/base/src/nsContentUtils.cpp 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'/home/markus/mozilla-central/content/base/src/nsContentUtils.cpp'.
4.      Running pass 'Simple Register Coalescing' on function
'@_ZN14nsContentUtils23GetPseudoAttributeValueERK8nsStringP7nsIAtomR18nsAString_internal'
clang-3.4: error: unable to execute command: Segmentation fault
clang-3.4: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.4 (http://llvm.org/git/clang.git
d195bc38fd424b0c928e3c354038a8ca6e2ccac3) (http://llvm.org/git/llvm.git
f99f63db79992b34fc169c35309ffbc5eacb3d52)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang-3.4: 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.4: note: diagnostic msg: 
********************


Reducing...

-- 
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/20131001/68bd8f7a/attachment.html>


More information about the llvm-bugs mailing list