[Bug 727064]

Neleai 727064 at bugs.launchpad.net
Mon Aug 19 23:48:50 UTC 2013


On Mon, Aug 12, 2013 at 05:19:54PM +0000, tudorb at gmail dot com wrote:
> --- Comment #28 from Tudor Bosman <tudorb at gmail dot com> ---
> FYI, this bug has bitten me in a different way: memcpy() copying backwards
> defeats the MADV_SEQUENTIAL flag to madvise(). A trivial file copier
> implementation (mmap source, mmap destination, set MADV_SEQUENTIAL, memcpy from
> source to destination) would perform much worse on machines that support SSSE3
> than on machines that don't because of this bug.
>
Wait, do you have overlapping source and destination areas? If so then a
backward copy is necessary.

Or is backward copy called for not overlapping areas? 
I have a patch that could call backward copy only if src-n < dest < src+n holds.

> (Before anyone tells me that I should copy files using read() and write(), my
> actual usage pattern was more complex, but the details are irrelevant.)
> 
> -- 
> You are receiving this mail because:
> You are on the CC list for the bug.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/727064

Title:
  [Natty] Strange beeping sound when viewing flash video

Status in The GNU C Library:
  Fix Released
Status in “adobe-flashplugin” package in Ubuntu:
  Confirmed
Status in “eglibc” package in Ubuntu:
  Fix Released
Status in “flashplugin-nonfree” package in Ubuntu:
  Confirmed
Status in “glibc” package in Fedora:
  Unknown

Bug description:
  Binary package hint: adobe-flashplugin

  As describe in the thread
  http://ubuntuforums.org/showthread.php?t=1692707 the sound is bad in
  natty.

  Workaround: patch the flash plugin to change memcpy call to memmove
  - Download https://bugzilla.redhat.com/attachment.cgi?id=460254
  - Run this script: $ sudo bash ./fix-flash.sh /usr/lib/flashplugin-installer/libflashplayer.so
  - Restart the browser

To manage notifications about this bug go to:
https://bugs.launchpad.net/glibc/+bug/727064/+subscriptions




More information about the foundations-bugs mailing list