New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 38 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug

Blocked on:
issue 134940



Sign in to add a comment

Pepper Flash: tons of dmix error messages

Reported by bol.dani...@gmail.com, Jun 29 2012

Issue description

Chrome Version       : 20.0.1132.47
OS Version: Ubuntu 12.04 amd64,  3.2.0-26-generic #41-Ubuntu x86_64
URLs (if applicable) : mail.google.com
Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
  Firefox 13.0.1: OK
  Opera 12.00 : OK

What steps will reproduce the problem?
1. start Chrome, and go to the site  mail.google.com and logged in
2.
3. This problem appears on (2) two computers with the same Ubuntu 12.04

What is the expected result?
Still the gmail page is opened, the log file is growing with this line
all long, each second
-----------------------------------------------------------------------------------------------
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
-----------------------------------------------------------------------------------------------


I check the log file  ~/.xsession-errors  


=======================================================================
When Firefox and Opera  start the page "mail.google.com" and logged in
I got this in the log file, that's it, it's OK.
=======================================================================
No bp log location saved, using default.
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:000] Using Gtk2 toolkit
[000:004] Starting client channel.
[000:004] Warning(clientchannel.cc:435): Unreadable or no port file.  Could not initiate GoogleTalkPlugin connection
[000:005] Warning(clientchannel.cc:410): Could not initiate GoogleTalkPlugin connection
[000:005] GoogleTalkPlugin not running. Starting new process...
[000:005] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:005] Warning(pluginutils.cc:260): Failed to get GoogleTalkPlugin path. Trying default.
[000:007] Started GoogleTalkPlugin, path=/opt/google/talkplugin/GoogleTalkPlugin
[000:007] Waiting for GoogleTalkPlugin to start...
[001:104] Attempting to connect to GoogleTalkPlugin...
[001:104] Read port file, port=54179
[001:136] Initiated connection to GoogleTalkPlugin
[001:205] Socket connection established
[001:205] ScheduleOnlineCheck: Online check in 5000ms
[001:305] Got cookie response, socket is authorized
[001:305] AUTHORIZED; socket handshake complete
[006:217] HandleOnlineCheck: Starting check
[006:217] HandleOnlineCheck: OK; current state: 3
=======================================================================

What happens instead?

No bp log location saved, using default.
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:000] Using Gtk2 toolkit
[000:008] Starting client channel.
[000:008] Warning(clientchannel.cc:435): Unreadable or no port file.  Could not initiate GoogleTalkPlugin connection
[000:010] Warning(clientchannel.cc:410): Could not initiate GoogleTalkPlugin connection
[000:010] GoogleTalkPlugin not running. Starting new process...
[000:010] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:010] Warning(pluginutils.cc:260): Failed to get GoogleTalkPlugin path. Trying default.
[000:012] Started GoogleTalkPlugin, path=/opt/google/talkplugin/GoogleTalkPlugin
[000:012] Waiting for GoogleTalkPlugin to start...
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
[001:104] Attempting to connect to GoogleTalkPlugin...
[001:104] Read port file, port=54319
[001:119] Initiated connection to GoogleTalkPlugin
[001:205] Socket connection established
[001:206] ScheduleOnlineCheck: Online check in 5000ms
[001:306] Got cookie response, socket is authorized
[001:306] AUTHORIZED; socket handshake complete
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
[006:219] HandleOnlineCheck: Starting check
[006:219] HandleOnlineCheck: OK; current state: 3
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

...... and the file is always growing with this last line about 1 line/second still i stop
the gmail tab.



Please provide any additional information below. Attach a screenshot if
possible.

UserAgentString: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11


Daniel Bolduc


 

Comment 1 by dharani@google.com, Jun 30 2012

Cc: rtenneti@chromium.org
Labels: -Area-Undefined Area-Internals
raman@: could it be network stack?

Comment 2 by 2007n...@gmail.com, Jul 1 2012

Have the same problem on Ubuntu 12.04 64bit with Chromium, Firefox, Opera and Chrome. 
Labels: Feature-Plugins
> raman@: could it be network stack? 

dharani@: not sure.

Bol.DanielBolduc,
  If it won't leak anything private, can you follow the instructions on https://sites.google.com/a/chromium.org/dev/for-testers/providing-network-details to get us a net-internals dump and attach it here?
I have a third one machine with Ubuntu 12.04 x64, but i didn't install the GoogleTalkPlugin, and i got the same error problem.

I sent you by email the dump file, i will add it here.
bolduc_chrome_dump_2012_07_02.tgz
151 KB Download
Blockedon: chromium:134940
Cc: anan...@chromium.org viettrungluu@chromium.org
Labels: Feature-Plugins-Pepper
Is it possible to try with --disable-bundled-ppapi-flash and see if it still happens. Wondering if it is related to  issue 134940 .
Here, the log appears after launch command in the console
Nothing was added in the .session-logs.



bolduc@hp9180-bol:~/Téléchargements$ <b>google-chrome --disable-bundled-ppapi-flash</b>
[9187:9206:23015871474:ERROR:phonenumberutil.cc(1615)] Invalid or unknown region code (ZZ) provided.
[9187:9206:23016334700:ERROR:phonenumberutil.cc(1615)] Invalid or unknown region code (ZZ) provided.
[9187:9206:23016335296:ERROR:phonenumberutil.cc(1615)] Invalid or unknown region code (ZZ) provided.
[9187:9206:23016335999:ERROR:phonenumberutil.cc(1615)] Invalid or unknown region code (ZZ) provided.
No bp log location saved, using default.
[000:000] Browser XEmbed support present: 1
[000:001] Browser toolkit is Gtk2.
[000:001] Using Gtk2 toolkit
[000:008] Starting client channel.
[000:009] Warning(clientchannel.cc:435): Unreadable or no port file.  Could not initiate GoogleTalkPlugin connection
[000:010] Warning(clientchannel.cc:410): Could not initiate GoogleTalkPlugin connection
[000:010] GoogleTalkPlugin not running. Starting new process...
[000:010] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:010] Warning(pluginutils.cc:260): Failed to get GoogleTalkPlugin path. Trying default.
[000:012] Started GoogleTalkPlugin, path=/opt/google/talkplugin/GoogleTalkPlugin
[000:012] Waiting for GoogleTalkPlugin to start...
[001:105] Attempting to connect to GoogleTalkPlugin...
[001:105] Read port file, port=38088
[001:106] Initiated connection to GoogleTalkPlugin
[001:206] Socket connection established
[001:206] ScheduleOnlineCheck: Online check in 5000ms
[001:307] Got cookie response, socket is authorized
[001:307] AUTHORIZED; socket handshake complete
[006:217] HandleOnlineCheck: Starting check
[006:217] HandleOnlineCheck: OK; current state: 3

When running chrome with --disable-bundled-ppapi-flash, the problem doesn't happen.

Comment 8 by rhudd...@gmail.com, Aug 6 2012

i'm running a system halfway upgraded from ubuntu-lucid to ubuntu-precise, but all the sound libs are precise

i'm seeing a ton of these lines in xsession-errors
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

perhaps this might help, i don't believe chrome should be using any alsa components when running through pulseaudio.  

when playing an mp3 with vlc, i get
sudo lsof +D /usr/lib | grep -i vlc | grep -e pulse -e alsa
vlc       16374   mem    REG  252,0   385240  663060 /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
vlc       16374   mem    REG  252,0   294704  663061 /usr/lib/x86_64-linux-gnu/libpulse.so.0.13.5

but chrome is doing this
sudo lsof +D /usr/lib | grep -i chrome | grep -e pulse -e alsa
chrome    10644   mem    REG  252,0    27248  917575 /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
chrome    10644   mem    REG  252,0   385240  663060 /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
chrome    10644   mem    REG  252,0   294704  663061 /usr/lib/x86_64-linux-gnu/libpulse.so.0.13.5

i don't think chrome should be accessing libasound_module_pcm_pulse.so

Comment 9 by rhudd...@gmail.com, Aug 6 2012

i don't see how this issue is blocked on  issue 134940  (at least in my case), i have tons of sse instruction support

cat /proc/cpuinfo  | grep -i flags | tr ' ' '\n' | grep -i sse | sort -u
sse
sse2
sse4_1
sse4_2
ssse3

Project Member

Comment 10 by bugdroid1@chromium.org, Aug 10 2012

Labels: -Pri-2 pri-1 Action-NeedsReview
There were at least 10 stars on this issue, in the last 90 days, increasing priority for review.

Comment 11 by garf@google.com, Aug 23 2012

I'm seeing this a well on my Google-provided laptop. I can provide any information desired if you contact me internally.

No bp log location saved, using default.
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:000] Using Gtk2 toolkit
[000:016] Starting client channel.
[000:016] Warning(clientchannel.cc:435): Unreadable or no port file.  Could not initiate GoogleTalkPlugin connection
[000:018] Warning(clientchannel.cc:410): Could not initiate GoogleTalkPlugin connection
[000:018] GoogleTalkPlugin not running. Starting new process...
[000:018] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:019] Warning(pluginutils.cc:260): Failed to get GoogleTalkPlugin path. Trying default.
[000:021] Started GoogleTalkPlugin, path=/opt/google/talkplugin/GoogleTalkPlugin
[000:021] Waiting for GoogleTalkPlugin to start...
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
[001:105] Attempting to connect to GoogleTalkPlugin...
[001:105] Read port file, port=54969
[001:107] Initiated connection to GoogleTalkPlugin
[001:206] Socket connection established
[001:207] ScheduleOnlineCheck: Online check in 5000ms
[001:307] Got cookie response, socket is authorized
[001:307] AUTHORIZED; socket handshake complete
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
^C
I get this too in Ubuntu 12.04, Chrome Version 21.0.1180.81. Steps to reproduce:

1) tail -f ~/.xsession-errors
2) While playing an MP3 with Rhythmbox Music Player, go to Gmail Inbox.

ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
[... snip, until I close the Gmail tab ...]
Cc: mkrebs@chromium.org
Status: Untriaged
Summary: Pepper Flash: tons of dmix error messages
I've seen this on a couple machines now.  They were both running Ubuntu 12.04 LTS, although I don't know if that's relevant.

If I kill the flash plugin process, the messages stop.  If I run chrome with --disable-bundled-ppapi-flash the messages never show up.

I'm changing the summary from "GoogleTalkPlugin with Chrome loop error when mail.google.com active on a tab" since I think this is pretty clearly a Pepper issue.  Feel free to change it to something even better, though.

FYI, I can reproduce this by simply going to gmail.com.  I'm currently running Chrome 22.0.1229.14 beta.  Let me know if you need more info.

Same problem on Linux Mint 13 using it since the standard plugin messed up my youtube colours. I get the problem with Youtube, not tried gmail yet.
It works too when  http://translate.google.com/  is  active on a tab.

Comment 16 by Deleted ...@, Oct 2 2012

@Comment 14, colour issue (Presuming you mean the false colour image type effect seems to most commonly verge on the blue side in my own case and in others when I have seen it.)  This one occurs with multiple browsers on linux, has done for some time I remember fixing it on FF back probably over 12 months ago now.  Disabling hardware acceleration in flash will stop that.  I know it's workarounds ontop of workarounds but hopefully that way you can get some joy using the standard plugin for now.

On to the crome issue, I've been having the same issue, I noticed it when I spotted my backup program in the middle of trying to back up a 5.1GB  ~/.xsession-errors and was naturally taken aback by this and looked into it more closely to discover that it was filled with the above message, using the switch mentioned in comment 5 removes the logspam so it seems pretty clear the fault lies with the component that switch disables.

Wonder if this will also fix the sound corruption issues that happened after around 24h+ of uptime requiring a restart of pulse to fix or not, interestingly every time that began would always be crome that would go first then get progressively worse until it spread to other PA clients.  Of course could be an unrelated issue, just the coincidence of the two makes me inclined to monitor it closely and see if the issue recurs with this workaround in place.
@Comment 16 Non-hardware acceleration is extremely slow, that was the way I fixed it at first...

Comment 18 by Deleted ...@, Oct 4 2012

@17, True there, I'm probably lucky in having a pretty powerful machine so it's performance without HW acceleration is acceptable.  Only other workaround I know of and it's much more hastle is to actually download the video first, by that I am meaning using a browser plugin or one of the many conversion sites to download the actual video sans flash container.

I personally found that a more acceptable workaround were the video something in particular I was looking up and might actually want to keep around, if just browsing videos at random it would be a complete nightmare. Is why I didn't mention that one at first as I considered it a suboptimal workaround, then again if all else fails it does work.

Also, I wanted to add a small follow-up to my comments above, has been almost 48 hours since adding the workaround and no more of the issues with pulseaudio which were previously about 24h of uptime, I have also noticed that pulse is cycling through memory blocks at a far more reasonable pace now according to pactl stat:

ps -C pulseaudio -o pid,etime,time,%cpu,%mem,command; echo; pactl stat short
         ELAPSED     TIME %CPU %MEM COMMAND
      1-21:10:12 00:36:08  1.3  0.0 pulseaudio

Currently in use: 34 blocks containing 249.9 KiB bytes total.
Allocated during whole lifetime: 35232153 blocks containing 67.2 GiB bytes total.
Sample cache size: 54.0 KiB

Compared to monitoring the same output for 20 mins or so while I had the logging issue, same audio stream running both times

ps -C pulseaudio -o etimetime,%cpu,%mem,command; echo; pactl stat short
         ELAPSED     TIME %CPU %MEM COMMAND
           21:12 00:00:18  1.5  0.0 pulseaudio

Currently in use: 156 blocks containing 318.9 KiB bytes total.
Allocated during whole lifetime: 2936012 blocks containing 5.6 GiB bytes total.
Sample cache size: 258.0 KiB

The memory block curn rate is down about 84%,  I can only guess the repeated constant failed attempts to connect were forcing pulse to keep alloacating and reallocating buffers or something.  That said, while it definately seems to be the bug here which was the root cause makes me think there has to be a bug in pulseaudio also, repeated connection attempts even a few times per second really shouldn't be resulting in that kind of progressive loss of performance in the daemon itself, though perhaps the 5.2GB logfile that alerted me to there being a major problem expains that.  I would suspect that open/append operations on extremely large files begin to become slower than on a more ordinary sized file an order of magnitude smaller guess I should count myself lucky it didn't have to seek/read from the file every cycle instead, probably would have brought the box to a standstill full of ps in iowait.

Comment 19 by Deleted ...@, Oct 15 2012

Well yep I get this even when opening a blank page.  It's definitely caused by the internal Chrome version of Flash (Pepper).  As I tested disabling the internal Flash plugin but leaving the external NSAPI one and the errors stopped.

I'm think that it's most likely from the internal Flash version trying to get access to the microphone for use in Flash but failing due to a permissions issue.  I haven't looked into this yet.  Someone else want to have a look further?
Google Chrome Version 23.0.1271.97
Linux hp9180-bol 3.2.0-34-generic #53-Ubuntu SMP Thu Nov 15 10:48:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Long time, i didn't check, but today i retested and there not a tons of pepper flash . Only the 3 lines in the middle of the text.

No bp log location saved, using default.
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:000] Using Gtk2 toolkit
[000:008] Starting client channel.
[000:008] Warning(clientchannel.cc:435): Unreadable or no port file.  Could not initiate GoogleTalkPlugin connection
[000:009] Warning(clientchannel.cc:410): Could not initiate GoogleTalkPlugin connection
[000:009] GoogleTalkPlugin not running. Starting new process...
[000:009] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:009] Warning(pluginutils.cc:268): Failed to get GoogleTalkPlugin path. Trying default.
[000:011] Started GoogleTalkPlugin, path=/opt/google/talkplugin/GoogleTalkPlugin
[000:012] Waiting for GoogleTalkPlugin to start...
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
[001:105] Attempting to connect to GoogleTalkPlugin...
[001:105] Read port file, port=43938
[001:106] Initiated connection to GoogleTalkPlugin
[001:206] Socket connection established
[001:206] ScheduleOnlineCheck: Online check in 5000ms
[001:306] Got cookie response, socket is authorized
[001:307] AUTHORIZED; socket handshake complete
[006:255] HandleOnlineCheck: Starting check
[006:255] HandleOnlineCheck: OK; current state: 3

Daniel
Project Member

Comment 21 by bugdroid1@chromium.org, Mar 10 2013

Labels: -Area-Internals -Feature-Plugins -Feature-Plugins-Pepper Cr-Internals Cr-Content-Plugins Cr-Content-Plugins-Pepper
Project Member

Comment 22 by bugdroid1@chromium.org, Apr 6 2013

Labels: Cr-Blink
Project Member

Comment 23 by bugdroid1@chromium.org, Apr 6 2013

Labels: -Cr-Content-Plugins Cr-Internals-Plugins
Project Member

Comment 24 by bugdroid1@chromium.org, Apr 6 2013

Labels: -Cr-Content-Plugins-Pepper Cr-Internals-Plugins-Pepper
Labels: -Cr-Internals-Plugins

Comment 26 by tkent@chromium.org, Aug 26 2015

Labels: -Cr-Blink

Sign in to add a comment