Mozilla Firefox hangs when loading most macromedia flash files

Bug #25681 reported by Juan Jose Amor Iglesias
12
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

After flash file execution (with Macromedia flashplayer) Firefox usually hangs.
(That is, the flash execution occurs, but when exiting it by typing another URL,
for example, firefox usually hangs).

This does not occurs with previous Firefox versions, or by using Epiphany.

Revision history for this message
Sam Liddicott (sam-liddicott) wrote :

Does it for me too,
Try viewing disney.go.com for more than a few minutes.

I've tried
export XLIB_SKIP_ARGB_VISUALS=1 in /usr/bin/firefox but to no effect.

(I already have ALSA mixing anyway)

Sometimes strace -p on firefox jerks it out of the "hang" but not always, it
gets stuck again though, it gets stucj in this poll:

select(0, NULL, NULL, NULL, {0, 11000}) = 0 (Timeout)
gettimeofday({1132871877, 902792}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 11000}) = 0 (Timeout)
ioctl(38, 0x54a1, 0x90e425c) = 0
gettimeofday({1132871877, 913977}, NULL) = 0
poll([{fd=38, events=POLLIN|POLLERR|POLLNVAL, revents=POLLIN}], 1, -1) = 1
read(38, "U\205E\1\20\0\0\0", 8) = 8
read(38, 0xbfbc8584, 8) = -1 EAGAIN (Resource temporarily
unavailable)
poll(

which strace can pull it out of, so can quitting strace pull it out too. Maybe
it aborts the poll systemcall?
SIGSTP and SIGCONT also seem to recover it.

I think it is more likely ot happen if there is more than one firefox instance
on the page.
It happens with the mozilla non-free flash plugin or one of the free ones.

Maybe its to do with alsamixer? If I remove "aoss" in
/etc/mozilla-firefox/mozilla-firefoxrc and put in "none" then apart from sound
still mysteriously working in flash (it doesn't in epiphany) it also doesn;t
lock up.

So maybe this is really an alsa bug related to poll??

sam

Revision history for this message
Sam Liddicott (sam-liddicott) wrote :

I meant "more than one flash instance" not "more than one firefox instance"

Revision history for this message
Sam Liddicott (sam-liddicott) wrote :

I meant "more than one flash instance" not "more than one firefox instance"

And its definately ALSA that is to blame, I even went back to the shipping
asound.conf but disney.go.com crashed within seconds of mouse-waving, but as
soon as I turn of aoss for mozilla-firefox it works fine for ages.

Hope this info helps this finally get fixed, its been hanging around a long time.

Sam

Revision history for this message
Sam Liddicott (sam-liddicott) wrote :

I think this is the ALSA bug:

http://article.gmane.org/gmane.linux.alsa.devel/28556

If you look here
http://www.google.co.uk/search?q=alsa+hang+poll&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox&rls=org.mozilla:en-GB:unofficial

You will see how nearly everything that uses ALSA has hanging problems; so.....
now we know how to file the bug.

It has been fixed in CSV it seems, I think it is important to pull this fix to
Ubuntu Breezy and maybe Hoary:
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1559

Revision history for this message
Ian Jackson (ijackson) wrote :

This bug has been marked as a duplicate of bug 14911.

Ian Jackson (ijackson)
Changed in firefox:
assignee: ijackson → nobody
Revision history for this message
Michael R. Head (burner) wrote :

I think this is a symptom of the sound-related problems that flash has (which cause browser hangs) or . Bug 14911 is about the visual problems (which cause browser crashs) flash has

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.