<?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>353471</bug_id>
          
          <creation_ts>2015-10-02 21:01:17 +0000</creation_ts>
          <short_desc>memcheck/tests/x86/xor-undef-x86 fails on OS X 10.11</short_desc>
          <delta_ts>2024-05-13 20:03:08 +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>general</component>
          <version>3.10 SVN</version>
          <rep_platform>macOS (DMG)</rep_platform>
          <op_sys>macOS</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>348909</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Rhys Kidd">rhyskidd</reporter>
          <assigned_to name="Paul Floyd">pjfloyd</assigned_to>
          <cc>pjfloyd</cc>
          
          <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>1547634</commentid>
    <comment_count>0</comment_count>
      <attachid>94817</attachid>
    <who name="Rhys Kidd">rhyskidd</who>
    <bug_when>2015-10-02 21:01:17 +0000</bug_when>
    <thetext>Created attachment 94817
Failing test report

On OS X 1.11 Valgrind does not report conditional jump or move in one test.

Reproducible: Always

Steps to Reproduce:
1. $ make check
2. $ perl tests/vg_regtest memcheck/tests/x86/xor-undef-x86

Actual Results:  
The above tests fails on OS X 10.11 but does not on the predecessor OS X 10.10.

Expected Results:  
Test passes, per OS X 10.10.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2277074</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Floyd">pjfloyd</who>
    <bug_when>2023-12-29 09:23:35 +0000</bug_when>
    <thetext>On macOS 10.13 stderr contains

+valgrind: m_syswrap/syswrap-darwin.c:9826 (void vgSysWrap_darwin_csrctl_before(ThreadId, SyscallArgLayout *, SyscallArgs *, SyscallStatus *, UWord *)): Assertion &apos;sizeof(user_addr_t) &lt;= sizeof(RegWord)&apos; failed.
 
Might be an easy fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2277186</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Floyd">pjfloyd</who>
    <bug_when>2023-12-29 20:53:11 +0000</bug_when>
    <thetext>If I get past the assert then I just get

vex x86-&gt;IR: unhandled instruction bytes: 0x66 0xF 0x3A 0x22
==19671== valgrind: Unrecognised instruction at address 0x18038d.
==19671==    at 0x18038D: ??? (in /usr/lib/system/libdispatch.dylib)

which is an unsupported (on x86) sse4 instruction.

I&apos;ll probably mark this as wontfix as we&apos;re not going to add sse4 to x86 and macOS dropped x86 with 10.15 Catalina in 2019.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2277190</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Floyd">pjfloyd</who>
    <bug_when>2023-12-29 21:14:29 +0000</bug_when>
    <thetext>the opcode is pinsrd, see
https://bugs.kde.org/show_bug.cgi?id=282910</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2319378</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Floyd">pjfloyd</who>
    <bug_when>2024-05-13 20:03:08 +0000</bug_when>
    <thetext>With the patch from 282910 this testcase now passes on 10.13. Can&apos;t easily test this on 10.11.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>94817</attachid>
            <date>2015-10-02 21:01:17 +0000</date>
            <delta_ts>2015-10-02 21:01:17 +0000</delta_ts>
            <desc>Failing test report</desc>
            <filename>xor-undef-x86.stderr.diff</filename>
            <type>text/plain</type>
            <size>467</size>
            <attacher name="Rhys Kidd">rhyskidd</attacher>
            
              <data encoding="base64">LS0tIHhvci11bmRlZi14ODYuc3RkZXJyLmV4cAkyMDE0LTEwLTE0IDE4OjU4OjM2LjAwMDAwMDAw
MCArMTEwMAorKysgeG9yLXVuZGVmLXg4Ni5zdGRlcnIub3V0CTIwMTUtMTAtMDMgMDE6NDA6MDgu
MDAwMDAwMDAwICsxMDAwCkBAIC0xLDkgKzAsMCBAQAotQ29uZGl0aW9uYWwganVtcCBvciBtb3Zl
IGRlcGVuZHMgb24gdW5pbml0aWFsaXNlZCB2YWx1ZShzKQotICAgYXQgMHguLi4uLi4uLjogbWFp
biAoeG9yLXVuZGVmLXg4Ni5jOjE3KQotCi1Db25kaXRpb25hbCBqdW1wIG9yIG1vdmUgZGVwZW5k
cyBvbiB1bmluaXRpYWxpc2VkIHZhbHVlKHMpCi0gICBhdCAweC4uLi4uLi4uOiBtYWluICh4b3It
dW5kZWYteDg2LmM6MzgpCi0KLUNvbmRpdGlvbmFsIGp1bXAgb3IgbW92ZSBkZXBlbmRzIG9uIHVu
aW5pdGlhbGlzZWQgdmFsdWUocykKLSAgIGF0IDB4Li4uLi4uLi46IG1haW4gKHhvci11bmRlZi14
ODYuYzo2NykKLQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>