You are not logged in.

#1 2012-07-09 01:00:05

kalio
Member
Registered: 2012-07-08
Posts: 8

Using PulseAudio in Flash 11.2.202.236 crashes Firefox

PulseAudio has been crashing flashplugin in Firefox directly after a Flash object begins playing. It seems to only happen on some Flash objects; from what I have seen, objects that don't play sound are unaffected. Here is the error message in terminal after the plugin crashes:

Assertion '!m->thread || !pa_thread_is_running(m->thread) || !in_worker(m)' failed at pulse/thread-mainloop.c:169, function pa_threaded_mainloop_lock(). Aborting.

This occurs in all browsers when Flash is playing sound through PulseAudio directly by means of the libflashsupport-pulse package. Oddly enough, maybe 5% of the time, it won't crash and everything is fine. The workaround is to use pulseaudio-alsa and uninstall libflashsupport-pulse. Here is some of my system information:

- x86_64
- linux 3.4.4-2
- flashplugin 11.2.202.236-1
- pulseaudio 2.0-2
- libflashsupport-pulse 20120528-1
- firefox 13.0.1-1

Apparently, this has already been reported as a bug in PulseAudio, but the report is at a standstill. I don't think everyone using PulseAudio in Flash is experiencing this, or there would be a lot more information. All input is appreciated.

Last edited by kalio (2012-07-09 01:01:31)

Offline

#2 2012-07-24 07:13:18

daasdingo
Member
Registered: 2010-09-03
Posts: 9

Re: Using PulseAudio in Flash 11.2.202.236 crashes Firefox

It happpens to me as well,
I have the same version as you, but I think the problem is only at 64 bit systems.

I have to reload pages about 10 times until it works. Also, jumping in YouTube videos
crashes most of the time as well. It seems to happen more frequently if the video
has NOT been loaded at the jump point.

EDIT: I wanted to get an error log as well, but now that I want it to crash, it doesn't. Weird. But it crashes very often in normal use.\

EDIT2: finally got the log of 2 crashes, maybe this gives a clue to someone:

[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
plugin-container: xcb_io.c:178: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
plugin-container: xcb_io.c:273: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
WARNING: pipe error (57): Connection reset by peer: file /build/src/mozilla-release/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 419

Last edited by daasdingo (2012-07-24 07:23:14)

Offline

#3 2012-09-14 12:41:34

linqcan
Member
Registered: 2012-09-14
Posts: 5

Re: Using PulseAudio in Flash 11.2.202.236 crashes Firefox

Hi,

I think I am seeing the same issues as well on a newly installed 64bit machine.
Skipping through Flash videos, or just clicking on video control buttons, will cause Flash to crash and Chromium to output the following message:

[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
romium/chromium --type=plugin --plugin-path=/usr/lib/mozilla/plugins/libflashplayer.so --lang=en-US --channel=2254.622.1259458414: xcb_io.c:273: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.

SW versions:
Gnome 3.4.2
NVidia driver 304.43
PulseAudio 2.1
Chromium 21.0.1180.89
Shockwave Flash 11.2 r202
Linux 3.5.3-1-ARCH x86_64

Issue cannot be reproduced on a 32bit machine with Intel GPU. The error message above indicates that it might be 64bit issue (not GPU related).

Edit: Added PA version, since that was the OT.

Last edited by linqcan (2012-09-14 12:42:48)

Offline

Board footer

Powered by FluxBB