Flash causes Firefox crash to desktop in Jaunty with NVIDIA: Segmentation Fault

Asked by Tommy Lim

Hi all, new here.

I have been searching all over the net for months and have not found a working solution to my current problem. I do not know if it's something that can be fixed by setup or it is an outright bug that requires work from either Ubuntu, NVIDIA, or Adobe, or what.

I'm running on an Acer Aspire 4935G with NVIDIA 9300M GS video

Fresh install of Jaunty 32 bit, no NVIDIA driver, and the following Flash options tried on Firefox 3.0.11, but same results with NVIDIA 180 and 185 drivers, same results on Firefox 3.5
1. adobe flash plugin 9
2. adobe flash plugin 10
3. gnash swfdec etc
4. flashplugin-nonfree with and without nsplugin-wrapper
5. various combinations of the above

I've also tried some of the PulseAudio setup fixes to no avail.

There are many flash applications, Facebook games most often, that cause Firefox to crash to desktop with a Segmentation fault. In Opera the flash apps just go blank without crashing the browser.

It used to be just games, and just an inconvenience. But now many websites with flash, maybe in the ads, are triggering the crash, among them imdb.com, and some sites with video other than Youtube videos.

The situation is the same with all the flash options I've tried similar to the above with Jaunty 64 bit.

I installed Hardy on VBox on top of Jaunty and the crashes do not happen in the VBox's Firefox, all the flash is slow as expected, but it's not crashing.

I am not very versed in reporting bug-like things in Ubuntu yet so if additional information is needed I'd appreciate instructions that will provide that debug information.

I am hoping I won't be forced to revert to Hardy.

Thanks in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Tommy Lim
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

hmm, ok

i'd pull all the flashes out, if you have more than one they fight and you get no flash and/or crashes so get that all out.

Get your video driver installand checked. If you can run 3d games (like warzone 2100 in the repos or frets on fire) then that is fine and not an issue.

I recommend you pull out all flases using synaptic or apt-get etc.

You will also want to run:

sudo apt-get --purge autoremove to pull out any dependancys or configs remaining.

You can then browse to:

http://www.rathergood.com/blode2

and you will be offered flash as you are using 32bit. It will be autoinstalled for you.

Revision history for this message
Tommy Lim (silberner-drache) said :
#2

Sorry if you thought I had all of the listed items installed at one time. That was not the case except for one trial.

I initially tried them *individually* before trying them in combination and crash-wise the best result I had was no crash but flash app is blank. I also been doing the cleanups between trials, removing everything that got added before trying something else.

Frets on Fire runs fine, as does the Second Life client which is a heavy OpenGL graphics load.

The site you gave asked me to install but it did not auto install. I was asked to do so manually. Apparently there is a slightly newer Flash 10 available, which I tried just now, but the crashes still happen. I'm using the new Flash 10 right now, alone.

This is a log of my most detailed series of attempts at fixing this problem. My reference apps are: Typing Maniac is a facebook game I use because of guaranteed no-run or crash and Word Challenge which can sometimes run. I used the IMDB Transformers2 page as a webpage that always crashes as of the time I was testing.

LOG BEGINS
Currently using the dropped-so-in-plugin-folder
adding flashplugin-nonfree
it will add flashplugin-installer
result: still crashes

adding swfdec-mozilla
it will add libswfdec-0.8-0
result: still crashes

adding mozilla-plugin-gnash
it will add: gnash, gnash-common, libboost-date-time1.34.1, libboost-thread1.34.1
result: still crashes

moved "so" out of plugin folder
result: still crashes
[Word Challenge: runs][Restaurant City: ][imdb Transformers page: crashes]

removed flashplugin-installer
removed flashplugin-nonfree
dropped in flash 9 so into plugin folder
result: typing maniac does not preload (gnash is active)

removed mozilla-plugin-gnash, gnash, gnash-common, libboost-date-time1.34.1, libboost-thread1.34.1
result: timer switched to swfdec
result: typing maniac does not preload (swfdec is active)

removing swfdec-mozilla, libswfdec-0.8-0
result: timer switched to adobe flash 9 runs without sound
result: typing maniac crashes
result: word challenge runs without sound
result: imdb transformers page crashes

switched to so plugin 10
sudo apt-get install gsfonts gsfonts-x11 flashplugin-nonfree
result: typing maniac crashes
result: imdb transformers page crashes

removed plugins, now using the nonfree (as flash10)
result: typing maniac crashes
result: word challenge runs
result: restaurant city crashes

use Apport once
sudo force_start=1 /etc/init.d/apport restart

added mozilla-plugin-gnash
+ gnash, gnash-common, libboost-date-time1.34.1, libboost-thread1.34.1

My current setup is clean + the latest Flash 10

Revision history for this message
Tommy Lim (silberner-drache) said :
#3

I forgot to add:
timer is a small flash app I made a long time ago that I used here to determine if flash is present.
also
the last line + gnash, gnash-common, libboost-date-time1.34.1, libboost-thread1.34.1 still resulted in crashing

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

You will get garunteed issues if you try more than 1 flash plugin at a time. Ok the games run fine so the graphics driver is no longer an issue (gotta love frets on fire)

uninstall all the flsh plugins you have added using:

sudo apt-get --purge remove flashplugin-nonfree swfdec-mozilla mozilla-plugin-gnash; sudo apt-get --purge autoremove; sudo apt-get clean

Then close all firefoxes and in a terminal run:

cd ~; sudo mkdir ~/.mozilla/plugins; wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz; tar zxvf ./install_flash_player_10_linux.tar.gz; rm install_flash_player_10_linux.tar.gz; mv ~/libflashplayer.so ~/.mozilla/plugins

restart firefox

This will install a 32bit flash to the system.

Revision history for this message
Tommy Lim (silberner-drache) said :
#5

Sorry actionparsnip, it's still crashing.

sudo apt-get --purge remove flashplugin-nonfree swfdec-mozilla mozilla-plugin-gnash; sudo apt-get --purge autoremove

result:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package flashplugin-nonfree is not installed, so not removed
Package swfdec-mozilla is not installed, so not removed
Package mozilla-plugin-gnash is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

the folder already exists so I left out the mkdir part
wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz; tar zxvf ./install_flash_player_10_linux.tar.gz; rm install_flash_player_10_linux.tar.gz; mv ~/libflashplayer.so ~/.mozilla/plugins

result:
--2009-08-04 17:27:04-- http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz
Resolving fpdownload.macromedia.com... 122.252.58.70
Connecting to fpdownload.macromedia.com|122.252.58.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4044751 (3.9M) [application/x-gzip]
Saving to: `install_flash_player_10_linux.tar.gz'

100%[======================================>] 4,044,751 2.00M/s in 1.9s

2009-08-04 17:27:07 (2.00 MB/s) - `install_flash_player_10_linux.tar.gz' saved [4044751/4044751]

I do agree that having more than one flash plugin can have issues, but even singly the crashes were there. There were some combos that were better in some ways but in the end, the one that kept the most important things going was the plain adobe flash dropped into the plugins folder. It however had a large number things that made it crash and what pains me is the list is growing.

Revision history for this message
Tommy Lim (silberner-drache) said :
#6

To add:
I just noticed right now NVIDIA has a new driver 185.18.31 (I'm on 185.18.14) as of a few days ago. Going to try it out and hope it solved the problem.

Revision history for this message
Tommy Lim (silberner-drache) said :
#7

Upgraded to 185.18.31. Situation still the same. =(

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

You can verify the install using:

file ~/.mozilla/plugins/libflashplayer.so

If there is no error output then you are ready to rock. The nvidia driver was fine, you simply have to tweak flash.

now i you run:

sudo apt-get install flashplugin-installer

Then restart firefox, you should be ok.

If not, run firefox from a terminal and paste the output here.

Thanks

Revision history for this message
Tommy Lim (silberner-drache) said :
#9

I just cleared the problem. There wasn't anything wrong with the install.

I could do a major D'OH right now. The problem was the .macromedia folder permissions were all wrong. I decided to investigate the segmentation fault and it led me to a site that said to use strace, which I'd never used before.

strace revealed a super long list of "permission denied" on a .macromedia folder which I didn't notice until I did the strace. The permissions must have gotten changed somewhere along the line when I made a backup of my data space when transiting from Intrepid to Jaunty.

Altering the permissions cleared the problem. But, I decided after to delete the folder and let flash regenerate it.

Thanks so much for the help, what is important is you shook me look elsewhere because I had been focusing obsessively on my setup which by all your descriptions should have worked outright.

=) very very happy right now, thanks!

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

Cool, you got the gold and thats what matters.

I suggest you use gksudo to run gui apps and not sudo, this is one way you can lose you ownership of your own folders