LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-11-2007, 08:35 AM   #1
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
firefox 2.0.0.9 crashes insanely with any flash plugin


Anyone else getting these kind of crashes ? It crashes with flash player 9 plugin, and even swfdec, which I installed in an attempt to stop the crashing. I think it's definitely a bug with FF. Right ? I keep sending those crash reports through the FF crash manager, I hope that'll be enough.

I think this is ridiculous, what is causing these crashes ? There have been reports of flash-related crashes for a very long time. I want to get to the bottom of this. It is really pissing me off
 
Old 11-11-2007, 09:03 AM   #2
WebGraphics
Member
 
Registered: Jan 2006
Location: Canada, AB
Distribution: Slackware 12.1
Posts: 70

Rep: Reputation: 18
I'm not sure if this helps but I am running FF 2.0.0.6 with adobe flash player 9 and I haven't had any crashes.
 
Old 11-11-2007, 09:11 AM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Original Poster
Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I found something interesting. I attached gdb onto running firefox-bin, to see what kind of error messages I would get. Well here they are:

For swfdec:
Code:
rogram received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1223784752 (LWP 9262)]
0xb22cec75 in composite_in_argb_sse () from /usr/lib/liboil-0.3.so.0
For flash player 9:
Code:
ALSA lib pcm_rate.c:1381:(snd_pcm_rate_open) Cannot find rate converter

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1224132912 (LWP 9426)]
0xb020dd54 in snd_pcm_close () from /usr/lib/libasound.so
It is interesting to see that libasound.so is involved ... that's the alsa library, right ? Maybe I'll try to install a new alsa version and see if it helps ?
 
Old 11-11-2007, 09:49 AM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Original Poster
Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Ok, I found what the problem was. I recently added a line to '~/.asoundrc' that read:
Code:
defaults.pcm.rate_converter "samplerate_best"
as suggested in a post on here in an attempt to improve sound quality ... bad idea. This was what was causing the crash. I deleted '~/.asoundrc' and the problem is no more. How silly, a single line in a text file can cause this crash.

Problem solved, for me at least.
 
Old 11-11-2007, 10:54 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,332

Rep: Reputation: Disabled
I found that web sites with flash made my firefox and seamonkey browsers crash after upgrading to the latest -current.
Re-installing the flashplayer plugin fixed this issue for me.

Eric
 
Old 11-12-2007, 04:42 PM   #6
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian
Posts: 462

Rep: Reputation: 39
Quote:
Originally Posted by H_TeXMeX_H View Post
Ok, I found what the problem was. I recently added a line to '~/.asoundrc' that read:
Code:
defaults.pcm.rate_converter "samplerate_best"
as suggested in a post on here in an attempt to improve sound quality ... bad idea. This was what was causing the crash. I deleted '~/.asoundrc' and the problem is no more. How silly, a single line in a text file can cause this crash.

Problem solved, for me at least.
That was me. Just to be clear however, I did not suggest to do this. I reported that this line was causing problems for me, namely crashing the KDE sound system. I also later discovered that that I was having the same problem as you experienced.

I haven't found out how to get this to work and am still looking around. Meanwhile I do this for playing music:

Code:
#!/bin/bash

cp /home/matty/.asoundrc-crap /home/matty/.asoundrc
amarok &
sleep 5
rm /home/matty/.asoundrc
It seems to be working for me.
 
Old 11-13-2007, 03:23 AM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Original Poster
Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
From the looks of it:
Code:
ALSA lib pcm_rate.c:1381:(snd_pcm_rate_open) Cannot find rate converter
it doesn't look like there is support for the rate converter.
 
Old 11-25-2007, 12:32 AM   #8
digumarty
LQ Newbie
 
Registered: Nov 2007
Location: Somewhere in New Jersey - US
Distribution: Debian / Slackware
Posts: 2

Rep: Reputation: 0
Post Possible workaround for flash 9 crashing in firefox

Flash 9 under linux uses ALSA to play sound, which is still a work in progress (and probably will be for some time) - I am talking about flash under ALSA and not about ALSA itself.
Depending on your hardware/alsa drivers your flash plugin may or may not crash - unfortunately your's does

A work around may be possible by using OSS to play your flash sound.

Follow the directions here:

http://labs.adobe.com/wiki/index.php...port_for_Linux


This works for me on firefox 2.0.0.9 and flash player beta 9.0.64.0 under debian etch.



---- The BUILD instructions have an error use this instead -------------------------------------------

cc -shared -O2 -Wall -Werror -licuuc -lssl flashsupport.c -o libflashsupport.so
ldd libflashsupport.so
sudo cp libflashsupport.so /usr/lib/mozilla/plugins (same directory as your flash plugin)

------------------------------------------------------------------------------------------------------



PS - I just joined LQ to reply to your question so I hope it works.



Quote:
Originally Posted by H_TeXMeX_H View Post
Anyone else getting these kind of crashes ? It crashes with flash player 9 plugin, and even swfdec, which I installed in an attempt to stop the crashing. I think it's definitely a bug with FF. Right ? I keep sending those crash reports through the FF crash manager, I hope that'll be enough.

I think this is ridiculous, what is causing these crashes ? There have been reports of flash-related crashes for a very long time. I want to get to the bottom of this. It is really pissing me off

Last edited by digumarty; 11-25-2007 at 10:14 PM. Reason: fix build instructions
 
  


Reply

Tags
firefox, flash, mozilla


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
flash plugin crashes in firefox under ubuntu edgy LinuxLover Ubuntu 4 12-12-2006 06:02 AM
Flash Plugin Crashes Mozilla chunkymunky Linux - Software 2 10-01-2005 12:13 AM
flash plugin for firefox nicoc Linux - Software 6 07-16-2004 08:37 AM
Mozilla crashes when I try and use flash plugin dwbassett Linux - Software 2 07-26-2003 02:47 PM
Flash Plugin Crashes Phoenix Crashed_Again Linux - Software 3 04-08-2003 11:55 AM


All times are GMT -5. The time now is 05:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration