FLASH 9 FIX

Please post any bugs you have found
Post Reply
Message
Author
User avatar
DesertPuppy
Posts: 34
Joined: Tue 08 Aug 2006, 20:58
Location: Mississippi

FLASH 9 FIX

#1 Post by DesertPuppy »

Note: this was a tread in the developers forum I have posted here so that the most people will see the fix this has been tested on PUP214 final and beta full hd install and live cd it should work for everyone so that once and for all we have a stable browser with current flash.

Billcnz , I have found the part of the vector script that is fixing the crash problem, what I did was add each different part to the script and what I came up with is this:

Code: Select all

# Include /usr/lib/mozilla/plugins in the plugin path:
#added to fix the FLASH 9 bug that crashes the browser
if [ "$MOZ_PLUGIN_PATH" ] ; then
  MOZ_PLUGIN_PATH=$MOZ_PLUGIN_PATH:${moz_libdir}/plugins:/usr/lib/mozilla/plugins
else
  MOZ_PLUGIN_PATH=${moz_libdir}/plugins:/usr/lib/mozilla/plugins
fi
export MOZ_PLUGIN_PATH
#end of add to fix the FLASH 9 bug that crashes the browser
EDIT: Ok all you have to do is add the code above to the /usr/lib/seamonkey-1.0.6/mozilla-bin file on the next line after #!/bin/sh
I just tried it running a fresh install of 2.14final from CD and it works great!

Code: Select all

FILE: /usr/lib/seamonkey-1.0.6/mozilla-bin
#!/bin/sh

#This has been added to fix Flash 9 crash problems
# Include /usr/lib/mozilla/plugins in the plugin path:

if [ "$MOZ_PLUGIN_PATH" ] ; then
  MOZ_PLUGIN_PATH=$MOZ_PLUGIN_PATH:${moz_libdir}/plugins:/usr/lib/mozilla/plugins
else
  MOZ_PLUGIN_PATH=${moz_libdir}/plugins:/usr/lib/mozilla/plugins
fi
export MOZ_PLUGIN_PATH

#end of add to fix Flash 9 crash problems
#

#hack to fix a bug...
DEPFND="`ldd /usr/lib/mozilla/components/libgfx_gtk.so | grep 'libpangoxft'`"

[ "$DEPFND" = "" ] && export LD_PRELOAD="/usr/lib/libpangoxft-1.0.so.0"

#v2.14 Billcnz found that disabling pango considerably speeds page rendering time
#on older CPUs (official builds do not have --enable-pango)...
export MOZ_DISABLE_PANGO=1

exec /usr/lib/mozilla/seamonkey-bin $@


EDIT: I use firefox on my system and have it installed to /usr/lib/firefox
I added the code to the file firefox the following is the instructions for this setup


I inserted it in the same place that the vector script had it right after setting the env vars

FILE: /usr/lib/firefox/firefox (if you installed firefox to /usr/lib)

Code: Select all

....
#uncomment for debugging
#set -x

moz_libdir=/usr/local/lib/firefox-2.0.0.1
MRE_HOME=/usr/local/lib/mre/mre-2.0.0.1

# Include /usr/lib/mozilla/plugins in the plugin path:
#added to fix the FLASH 9 crash bug

if [ "$MOZ_PLUGIN_PATH" ] ; then
  MOZ_PLUGIN_PATH=$MOZ_PLUGIN_PATH:${moz_libdir}/plugins:/usr/lib/mozilla/plugins
else
  MOZ_PLUGIN_PATH=${moz_libdir}/plugins:/usr/lib/mozilla/plugins
fi
export MOZ_PLUGIN_PATH

#end of add to fix FLASH 9 crash bug


# Use run-mozilla.sh in the current dir if it exists
# If not, then start resolving symlinks until we find run-mozilla.sh
.....

This was on firefox 2.0.0.1 but should work fine for seamonkey(see edit above)

It must have something to do with the plugin path, I tested on the site you suggested and without the add it crashes and with the add it works the way it should. I hope we can get a lot of users to test this so we can have a sable current Flash once and for all.
User avatar
lvds
Posts: 340
Joined: Tue 23 Jan 2007, 15:15
Location: Near the window

#2 Post by lvds »

Hi,

I did apply your patch on firefox-2.0.0.2 and i confirm it works too.

THANK YOU VERY MUCH

Best regards,
Laurent.
User avatar
ohyes
Posts: 159
Joined: Thu 03 May 2007, 12:59
Location: Right Here

#3 Post by ohyes »

Just tried the fix with firefox 2.0.0.3 using 2.14 and

IT WORKS WELL !

Thanks to DesertPuppy
User avatar
gdemonta
Posts: 190
Joined: Mon 19 Feb 2007, 08:17
Location: Paris, France

#4 Post by gdemonta »

works great! Beware of not installing firefox 2.001, insert the flash fix, and then updating to 2.003, ass it will erase the fix.
[color=blue]Dumbledore: "The evidence of the Dark Lord's return is incontrovertible"[/color]
IBM X31 - Puppy 2.16 Hard disk install with EZpup
jonyo

#5 Post by jonyo »

Anyone try this with 2.15CE live cd & where to get the flash download?
User avatar
Artie
Posts: 448
Joined: Tue 04 Oct 2005, 17:45
Location: Norway
Contact:

#6 Post by Artie »

I'm using Firefox 2.0.0.3 in Puppy 2.12. I installed the latest Flash 9.0 r31 with the browser and now the browser is crashing. Firefox is installed in usr/local/firefox. Exactly what do I place where? I'm very confused. Thanks.

Artie
User avatar
lvds
Posts: 340
Joined: Tue 23 Jan 2007, 15:15
Location: Near the window

#7 Post by lvds »

Artie wrote:I'm using Firefox 2.0.0.3 in Puppy 2.12. I installed the latest Flash 9.0 r31 with the browser and now the browser is crashing. Firefox is installed in usr/local/firefox. Exactly what do I place where? I'm very confused. Thanks.

Artie
Hi,

the key here is very simple : to have things pont where they really are.
if you look at moz_libdir variable it is not related to a /usr/local/firefox or wherever you put. So create symlinks in aboslute mode.

best regards,
Laurent
Skipper
Posts: 23
Joined: Sun 22 Apr 2007, 06:31

#8 Post by Skipper »

Really good job.

It works for me on Firefox 2.0.0.3 and Flash Player 9. Puppy 2.15CE Viz.
Post Reply