<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>356611</bug_id>
          
          <creation_ts>2015-12-13 16:29:23 +0000</creation_ts>
          <short_desc>vex amd64-&gt;IR: unhandled instruction bytes: 0x8F 0xEA 0xF8 0x10 0xC9 0x3 0x1D 0x0</short_desc>
          <delta_ts>2015-12-14 23:38:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Developer tools</classification>
          <product>valgrind</product>
          <component>vex</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>328357</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>muellppb</reporter>
          <assigned_to name="Julian Seward">jseward</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1563103</commentid>
    <comment_count>0</comment_count>
    <who name="">muellppb</who>
    <bug_when>2015-12-13 16:29:23 +0000</bug_when>
    <thetext>This happens whenever libld is used to load a dynamically linked library.

Full output:

==10913== Memcheck, a memory error detector
==10913== Copyright (C) 2002-2015, and GNU GPL&apos;d, by Julian Seward et al.
==10913== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==10913== Command: gdb
==10913== 
vex amd64-&gt;IR: unhandled instruction bytes: 0x8F 0xEA 0xF8 0x10 0xC9 0x3 0x1D 0x0
vex amd64-&gt;IR:   REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
vex amd64-&gt;IR:   VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=NONE
vex amd64-&gt;IR:   PFX.66=0 PFX.F2=0 PFX.F3=0
==10913== valgrind: Unrecognised instruction at address 0x4011d04.
==10913==    at 0x4011D04: _dl_allocate_tls_storage (in /lib64/ld-2.22.so)
==10913==    by 0x4000B9A: init_tls (in /lib64/ld-2.22.so)
==10913==    by 0x40034AF: dl_main (in /lib64/ld-2.22.so)
==10913==    by 0x4016978: _dl_sysdep_start (in /lib64/ld-2.22.so)
==10913==    by 0x4004C28: _dl_start (in /lib64/ld-2.22.so)
==10913==    by 0x4000C47: ??? (in /lib64/ld-2.22.so)
==10913== Your program just tried to execute an instruction that Valgrind
==10913== did not recognise.  There are two possible reasons for this.
==10913== 1. Your program has a bug and erroneously jumped to a non-code
==10913==    location.  If you are running Memcheck and you just saw a
==10913==    warning about a bad jump, it&apos;s probably your program&apos;s fault.
==10913== 2. The instruction is legitimate but Valgrind doesn&apos;t handle it,
==10913==    i.e. it&apos;s Valgrind&apos;s fault.  If you think this is the case or
==10913==    you are not sure, please let us know and we&apos;ll try to fix it.
==10913== Either way, Valgrind will now raise a SIGILL signal which will
==10913== probably kill your program.
==10913== 
==10913== Process terminating with default action of signal 4 (SIGILL)
==10913==  Illegal opcode at address 0x4011D04
==10913==    at 0x4011D04: _dl_allocate_tls_storage (in /lib64/ld-2.22.so)
==10913==    by 0x4000B9A: init_tls (in /lib64/ld-2.22.so)
==10913==    by 0x40034AF: dl_main (in /lib64/ld-2.22.so)
==10913==    by 0x4016978: _dl_sysdep_start (in /lib64/ld-2.22.so)
==10913==    by 0x4004C28: _dl_start (in /lib64/ld-2.22.so)
==10913==    by 0x4000C47: ??? (in /lib64/ld-2.22.so)
==10913== Jump to the invalid address stated on the next line
==10913==    at 0x596: ???
==10913==  Address 0x596 is not stack&apos;d, malloc&apos;d or (recently) free&apos;d
==10913== 
==10913== 
==10913== Process terminating with default action of signal 11 (SIGSEGV)
==10913==  Bad permissions for mapped region at address 0x596
==10913==    at 0x596: ???
==10913== 
==10913== HEAP SUMMARY:
==10913==     in use at exit: 0 bytes in 0 blocks
==10913==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==10913== 
==10913== All heap blocks were freed -- no leaks are possible
==10913== 
==10913== For counts of detected and suppressed errors, rerun with: -v
==10913== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Segmentation fault


Reproducible: Always

Steps to Reproduce:
1. valgrind gdb
2. crash



I am using Valgrind 3.11.0 and glibc-2.22 (compiled with -arch=native and -O2)

uname -a:
Linux localhost 4.3.0-gentoo #1 SMP Sat Dec 5 16:08:19 2015 x86_64 AMD A8-4500M APU with Radeon(tm) HD Graphics AuthenticAMD GNU/Linux</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1563586</commentid>
    <comment_count>1</comment_count>
    <who name="">muellppb</who>
    <bug_when>2015-12-14 23:38:12 +0000</bug_when>
    <thetext>Ooops. Just found it now. Sorry.

*** This bug has been marked as a duplicate of bug 328357 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>