LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 11-11-2007, 08:35 AM   #1
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 6,741
Blog Entries: 2
Thanked: 216
firefox 2.0.0.9 crashes insanely with any flash plugin


[Log in to get rid of this advertisement]
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
H_TeXMeX_H is offline     Reply With Quote
Old 11-11-2007, 09:03 AM   #2
WebGraphics
Member
 
Registered: Jan 2006
Location: Canada, AB
Distribution: Slackware 12.1
Posts: 70
Thanked: 1
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.
WebGraphics is offline     Reply With Quote
Old 11-11-2007, 09:11 AM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 6,741
Blog Entries: 2
Thanked: 216

Original Poster
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 ?
H_TeXMeX_H is offline     Reply With Quote
Old 11-11-2007, 09:49 AM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 6,741
Blog Entries: 2
Thanked: 216

Original Poster
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.
H_TeXMeX_H is offline     Reply With Quote
Old 11-11-2007, 10:54 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 2,867
Thanked: 228
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
Alien Bob is offline     Reply With Quote
Old 11-12-2007, 04:42 PM   #6
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Slackware sans KDE4 (Gnome Slackbuild)
Posts: 444
Thanked: 6
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.
mattydee is offline     Reply With Quote
Old 11-13-2007, 03:23 AM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 6,741
Blog Entries: 2
Thanked: 216

Original Poster
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.
H_TeXMeX_H is offline     Reply With Quote
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
Thanked: 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
digumarty is offline  
Tag This Post , ,
Reply With Quote

Reply

Bookmarks


Thread Tools

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 11:12 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration