<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - segmentation fault in llvm::MachineInstr::addOperand"
   href="https://bugs.llvm.org/show_bug.cgi?id=34710">34710</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>segmentation fault in llvm::MachineInstr::addOperand
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.8
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Common Code Generator Code
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>zhunkibatu@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Building CXX object
Source/JavaScriptC...ivedSources/JavaScriptCore/UnifiedSource93.cpp.o
FAILED: /home/b/skyfire/afl-clang-fast++   -DBUILDING_JSCONLY__
-DBUILDING_JavaScriptCore -DBUILDING_WITH_CMAKE=1 -DHAVE_CONFIG_H=1
-DJavaScriptCore_EXPORTS -DSTATICALLY_LINKED_WITH_WTF -isystem
/usr/include/i386-linux-gnu -I. -I../../Source/JavaScriptCore
-I../../Source/JavaScriptCore/.. -I../../Source/JavaScriptCore/API
-I../../Source/JavaScriptCore/ForwardingHeaders
-I../../Source/JavaScriptCore/assembler -I../../Source/JavaScriptCore/b3
-I../../Source/JavaScriptCore/b3/air -I../../Source/JavaScriptCore/bindings
-I../../Source/JavaScriptCore/builtins -I../../Source/JavaScriptCore/bytecode
-I../../Source/JavaScriptCore/bytecompiler -I../../Source/JavaScriptCore/dfg
-I../../Source/JavaScriptCore/disassembler
-I../../Source/JavaScriptCore/disassembler/udis86
-I../../Source/JavaScriptCore/disassembler/ARM64
-I../../Source/JavaScriptCore/domjit -I../../Source/JavaScriptCore/ftl
-I../../Source/JavaScriptCore/heap -I../../Source/JavaScriptCore/debugger
-I../../Source/JavaScriptCore/inspector
-I../../Source/JavaScriptCore/inspector/agents
-I../../Source/JavaScriptCore/inspector/augmentable
-I../../Source/JavaScriptCore/inspector/remote
-I../../Source/JavaScriptCore/interpreter -I../../Source/JavaScriptCore/jit
-I../../Source/JavaScriptCore/llint -I../../Source/JavaScriptCore/parser
-I../../Source/JavaScriptCore/profiler -I../../Source/JavaScriptCore/runtime
-I../../Source/JavaScriptCore/tools -I../../Source/JavaScriptCore/wasm
-I../../Source/JavaScriptCore/wasm/js -I../../Source/JavaScriptCore/yarr
-IDerivedSources/ForwardingHeaders -IDerivedSources/JavaScriptCore
-IDerivedSources/JavaScriptCore/inspector -I../../Source/bmalloc
-I../../Source/WTF -IDerivedSources -I../../Source/ThirdParty
-fdiagnostics-color=always -fcolor-diagnostics -Wno-parentheses-equality
-Qunused-arguments -Wwrite-strings -Wundef -Wpointer-arith
-Wmissing-format-attribute -Wformat-security -Wcast-align -Wextra -Wall
-march=pentium4 -msse2 -mfpmath=sse   -fno-strict-aliasing -fno-exceptions
-std=c++14 -fno-rtti -O3 -DNDEBUG -fPIC -MMD -MT
Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/DerivedSources/JavaScriptCore/UnifiedSource93.cpp.o
-MF
Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/DerivedSources/JavaScriptCore/UnifiedSource93.cpp.o.d
-o
Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/DerivedSources/JavaScriptCore/UnifiedSource93.cpp.o
-c DerivedSources/JavaScriptCore/UnifiedSource93.cpp
0  libLLVM-3.8.so.1 0xb4ff7bb9 llvm::sys::PrintStackTrace(llvm::raw_ostream&) +
57
1  libLLVM-3.8.so.1 0xb4ff7f7d
2  libLLVM-3.8.so.1 0xb4ff5df0 llvm::sys::RunSignalHandlers() + 64
3  libLLVM-3.8.so.1 0xb4ff5f58
4                   0xb777fcf0 __kernel_sigreturn + 0
5  libc.so.6        0xb49e5834
6  libLLVM-3.8.so.1 0xb5294691
7  libLLVM-3.8.so.1 0xb5297514
llvm::MachineInstr::addOperand(llvm::MachineFunction&, llvm::MachineOperand
const&) + 1268
8  libLLVM-3.8.so.1 0xb51d95f9
9  libLLVM-3.8.so.1 0xb5293eba
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 122
10 libLLVM-3.8.so.1 0xb514e528
llvm::FPPassManager::runOnFunction(llvm::Function&) + 520
11 libLLVM-3.8.so.1 0xb514e8e5 llvm::FPPassManager::runOnModule(llvm::Module&)
+ 53
12 libLLVM-3.8.so.1 0xb514e12a
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 842
13 libLLVM-3.8.so.1 0xb514e30f llvm::legacy::PassManager::run(llvm::Module&) +
31
14 clang            0x08309365
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_pwrite_stream*)
+ 4453
15 clang            0x0866361e
16 clang            0x087909fd clang::ParseAST(clang::Sema&, bool, bool) + 989
17 clang            0x085e4b6e clang::ASTFrontendAction::ExecuteAction() + 94
18 clang            0x086644b2 clang::CodeGenAction::ExecuteAction() + 34
19 clang            0x085e5c69 clang::FrontendAction::Execute() + 297
20 clang            0x085b7f2a
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 282
21 clang            0x086621bf
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1935
22 clang            0x082ce5c1 cc1_main(llvm::ArrayRef<char const*>, char
const*, void*) + 2257
23 clang            0x082cb1d0 main + 7056
24 libc.so.6        0xb48d6637 __libc_start_main + 247
25 clang            0x082cc9d6
Stack dump:
0.      Program arguments: /usr/lib/llvm-3.8/bin/clang -cc1 -triple
i686-pc-linux-gnu -emit-obj -disable-free -disable-llvm-verifier
-main-file-name UnifiedSource93.cpp -mrelocation-model pic -pic-level 2
-mthread-model posix -relaxed-aliasing -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu pentium4
-mfpmath sse -target-feature +sse2 -momit-leaf-frame-pointer -dwarf-column-info
-debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -coverage-file
/home/b/webkit/WebKitBuild/Release/Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/DerivedSources/JavaScriptCore/UnifiedSource93.cpp.o
-resource-dir /usr/lib/llvm-3.8/bin/../lib/clang/3.8.0 -dependency-file
Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/DerivedSources/JavaScriptCore/UnifiedSource93.cpp.o.d
-MT
Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/DerivedSources/JavaScriptCore/UnifiedSource93.cpp.o
-isystem /usr/include/i386-linux-gnu -D BUILDING_JSCONLY__ -D
BUILDING_JavaScriptCore -D BUILDING_WITH_CMAKE=1 -D HAVE_CONFIG_H=1 -D
JavaScriptCore_EXPORTS -D STATICALLY_LINKED_WITH_WTF -I . -I
../../Source/JavaScriptCore -I ../../Source/JavaScriptCore/.. -I
../../Source/JavaScriptCore/API -I
../../Source/JavaScriptCore/ForwardingHeaders -I
../../Source/JavaScriptCore/assembler -I ../../Source/JavaScriptCore/b3 -I
../../Source/JavaScriptCore/b3/air -I ../../Source/JavaScriptCore/bindings -I
../../Source/JavaScriptCore/builtins -I ../../Source/JavaScriptCore/bytecode -I
../../Source/JavaScriptCore/bytecompiler -I ../../Source/JavaScriptCore/dfg -I
../../Source/JavaScriptCore/disassembler -I
../../Source/JavaScriptCore/disassembler/udis86 -I
../../Source/JavaScriptCore/disassembler/ARM64 -I
../../Source/JavaScriptCore/domjit -I ../../Source/JavaScriptCore/ftl -I
../../Source/JavaScriptCore/heap -I ../../Source/JavaScriptCore/debugger -I
../../Source/JavaScriptCore/inspector -I
../../Source/JavaScriptCore/inspector/agents -I
../../Source/JavaScriptCore/inspector/augmentable -I
../../Source/JavaScriptCore/inspector/remote -I
../../Source/JavaScriptCore/interpreter -I ../../Source/JavaScriptCore/jit -I
../../Source/JavaScriptCore/llint -I ../../Source/JavaScriptCore/parser -I
../../Source/JavaScriptCore/profiler -I ../../Source/JavaScriptCore/runtime -I
../../Source/JavaScriptCore/tools -I ../../Source/JavaScriptCore/wasm -I
../../Source/JavaScriptCore/wasm/js -I ../../Source/JavaScriptCore/yarr -I
DerivedSources/ForwardingHeaders -I DerivedSources/JavaScriptCore -I
DerivedSources/JavaScriptCore/inspector -I ../../Source/bmalloc -I
../../Source/WTF -I DerivedSources -I ../../Source/ThirdParty -D NDEBUG -U
_FORTIFY_SOURCE -D __AFL_HAVE_MANUAL_CONTROL=1 -D __AFL_COMPILER=1 -D
FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION=1 -D __AFL_LOOP(_A)=({ static volatile
char *_B __attribute__((used));  _B = (char*)"##SIG_AFL_PERSISTENT##";
__attribute__((visibility("default"))) int _L(unsigned int)
__asm__("__afl_persistent_loop"); _L(_A); }) -D __AFL_INIT()=do { static
volatile char *_A __attribute__((used));  _A =
(char*)"##SIG_AFL_DEFER_FORKSRV##"; __attribute__((visibility("default"))) void
_I(void) __asm__("__afl_manual_init"); _I(); } while (0) -internal-isystem
/usr/bin/../lib/gcc/i686-linux-gnu/5.4.0/../../../../include/c++/5.4.0
-internal-isystem
/usr/bin/../lib/gcc/i686-linux-gnu/5.4.0/../../../../include/i386-linux-gnu/c++/5.4.0
-internal-isystem
/usr/bin/../lib/gcc/i686-linux-gnu/5.4.0/../../../../include/i386-linux-gnu/c++/5.4.0
-internal-isystem
/usr/bin/../lib/gcc/i686-linux-gnu/5.4.0/../../../../include/c++/5.4.0/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include -internal-externc-isystem
/usr/include/i386-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -O3 -Wno-parentheses-equality
-Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute
-Wformat-security -Wcast-align -Wextra -Wall -std=c++14 -fdeprecated-macro
-fdebug-compilation-dir /home/b/webkit/WebKitBuild/Release -ferror-limit 19
-fmessage-length 0 -fsanitize=address
-fsanitize-blacklist=/usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/asan_blacklist.txt
-fno-assume-sane-operator-new -funroll-loops -fno-rtti -fobjc-runtime=gcc
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-load /home/b/skyfire/afl-llvm-pass.so -o
Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/DerivedSources/JavaScriptCore/UnifiedSource93.cpp.o
-x c++ DerivedSources/JavaScriptCore/UnifiedSource93.cpp 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'DerivedSources/JavaScriptCore/UnifiedSource93.cpp'.
4.      Running pass 'Live DEBUG_VALUE analysis' on function
'@_ZN3JSC12BuiltinNamesC2EPNS_2VMEPNS_17CommonIdentifiersE'
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
Target: i686-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>