<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello Steve!<br>
    <br>
    Thanks for the patch. <br>
    <br>
    I had to use ctrl-H in the middle of a term in the terminal to
    trigger the report, was this the case for you as well?<br>
    <br>
    Lukas<br>
    <br>
    <div class="moz-cite-prefix">On 22/04/13 02:23, Steve Vinoski wrote:<br>
    </div>
    <blockquote
cite="mid:CAO+zUOUbJpZ5OWx4RrTCJE9QR4nYZ70BkCODoaruYOvodL2d8Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div style="">On Linux I noticed the following complaint while
          doing some valgrind testing:</div>
        <div style=""><br>
        </div>
        <div style="">
          <div>==18040== Thread 6:</div>
          <div>==18040== Source and destination overlap in
            memcpy(0xf3f3f04, 0xf3f3f08, 52)</div>
          <div>==18040==    at 0x4C2CFA0: <a class="moz-txt-link-abbreviated" href="mailto:memcpy@@GLIBC_2.14">memcpy@@GLIBC_2.14</a> (in
            /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)</div>
          <div>==18040==    by 0x5CF527: del_chars (ttsl_drv.c:845)</div>
          <div>==18040==    by 0x5CED5E: ttysl_from_erlang
            (ttsl_drv.c:658)</div>
          <div>==18040==    by 0x4982E3: erts_write_to_port (io.c:1235)</div>
          <div>==18040==    by 0x49A2BD: erts_port_command (io.c:2223)</div>
          <div>==18040==    by 0x48C054: do_send (bif.c:1962)</div>
          <div>==18040==    by 0x48CB6E: erl_send (bif.c:2162)</div>
          <div>==18040==    by 0x566599: process_main (beam_emu.c:1665)</div>
          <div>==18040==    by 0x4B1A95: sched_thread_func
            (erl_process.c:4834)</div>
          <div>==18040==    by 0x6075E2: thr_wrapper (ethread.c:106)</div>
          <div>==18040==    by 0x5560E99: start_thread
            (pthread_create.c:308)</div>
          <div><br>
          </div>
          <div style="">This patch fixes the problem.</div>
        </div>
        <div style=""><br>
        </div>
        git fetch git://<a moz-do-not-send="true"
          href="http://github.com/vinoski/otp.git">github.com/vinoski/otp.git</a> sv-ttsl-valgrind<br>
        <div><br>
        </div>
        <div><a moz-do-not-send="true"
href="https://github.com/vinoski/otp/compare/erlang:maint...sv-ttsl-valgrind">https://github.com/vinoski/otp/compare/erlang:maint...sv-ttsl-valgrind</a><br>
        </div>
        <div><a moz-do-not-send="true"
href="https://github.com/vinoski/otp/compare/erlang:maint...sv-ttsl-valgrind.patch">https://github.com/vinoski/otp/compare/erlang:maint...sv-ttsl-valgrind.patch</a><br>
        </div>
        <div><br>
        </div>
        <div style="">--steve</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
erlang-patches mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-patches@erlang.org">erlang-patches@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-patches">http://erlang.org/mailman/listinfo/erlang-patches</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>