blog.fridns.se

Fedora 14 – Flashplayer Weird Sound Issue

| Comments

There is a really annoying problem with the flashplayer in Fedora 14 when it comes to playing flashvideos with mp3’s in them. You will hear this kind of clipping/high pitched sound which is really unbearable. Luckily there is a quite easy solution, download this script (Ray Strode, Red Hat) and apply it to your libflashplayer.so, something like

1
2
3
wget https://bugzilla.redhat.com/attachment.cgi?id=460254 -O libflashplayerpatch.sh
sudo sh libflashplayerpatch.sh  /usr/lib64/flash-plugin/libflashplayer.so
sudo chmod 644 /usr/lib64/flash-plugin/libflashplayer.so

will do the trick. It may take a couple of minutes to finish depending on your computer. While the script is running you will se alot of lines like,

1
2
3
4
Changing call at offset 0x7c1d64 from [60 c1 8f ff] to [50 bf 8f ff]
Changing call at offset 0x7c9b3f from [85 43 8f ff] to [75 41 8f ff]
Changing call at offset 0x7c9b5c from [68 43 8f ff] to [58 41 8f ff]
Changing call at offset 0x7ca0bb from [09 3e 8f ff] to [f9 3b 8f ff]

I don’t know if the chmod 644 line is really neccecary, although on my system the libflashplayer.so got 600 after running the script which means that no one, except root, will be able to use the plugin. Other than that it should be all good.

Enjoy!

For the curious reader : It’s a recent change in memcpy() in glibc that made libflashplayer break. Although the bug was introduced by this change, the actual bug lies in how Adobe implements memcpy(), rather then in glibc. You can read a more detailed explanation here.