[LLVMbugs] [Bug 23430] New: Infinite loop in resolveRelocationList on AArch64

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 6 02:43:07 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23430

            Bug ID: 23430
           Summary: Infinite loop in resolveRelocationList on AArch64
           Product: libraries
           Version: 3.6
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Generic Execution Engine Support
          Assignee: unassignedbugs at nondot.org
          Reporter: oszi at inf.u-szeged.hu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

WebKit's JavaScript engine uses LLVM to optimize/generate native code if FTL
JIT is enabled. But it stucks in an infinite loop inside LLVM on AArch64.
It works fine with LLVM 3.5, but got this infinite loop with 3.6.

How to reproduce the bug (on a Juno board on Ubuntu 14.04):
- clone WebKit: git clone git://git.webkit.org/WebKit.git WebKit
- apply a patch to use LLVM 3.6 (not 3.5 which is the default on ARM).
  ( https://bugs.webkit.org/show_bug.cgi?id=143821 )
- install dependencies: sudo Tools/efl/install-dependencies
- build other dependencies: Tools/Scripts/update-webkitefl-libs
- build LLVM 3.6: Tools/Scripts/update-webkitefl-libs llvm-3.6
- build the JavaScriptCore: Tools/Scripts/build-jsc --efl --ftl-jit
- execute the tests: Tools/Scripts/run-javascriptcore-tests --efl --ftl-jit
(It can be reproduced on each test, I'll send a simple command soon.)

gdb backtrace:
#0  0x000000200718fc08 in
llvm::RuntimeDyldELF::resolveAArch64Relocation(llvm::SectionEntry const&,
unsigned long, unsigned long, unsigned int, long) () from
/home/oszi/jsc-tests/jsc-stress-results/.vm/JavaScriptCore.framework/Resources/libllvmForJSC.so
#1  0x0000002007184bb4 in
llvm::RuntimeDyldImpl::resolveRelocationList(llvm::SmallVector<llvm::RelocationEntry,
64u> const&, unsigned long)
    () from
/home/oszi/jsc-tests/jsc-stress-results/.vm/JavaScriptCore.framework/Resources/libllvmForJSC.so
#2  0x0000002007184bb4 in
llvm::RuntimeDyldImpl::resolveRelocationList(llvm::SmallVector<llvm::RelocationEntry,
64u> const&, unsigned long)
    () from
/home/oszi/jsc-tests/jsc-stress-results/.vm/JavaScriptCore.framework/Resources/libllvmForJSC.so
...
#XXXXX (endless stack trace)

-- 
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/20150506/6d287a45/attachment.html>


More information about the llvm-bugs mailing list