Chromium's MPRIS implementation freezes and then crashes the browser when trying to play any video with Laine gnome-shell extension

Bug #1835623 reported by BavarianPH
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

(upstream bug report: https://bugs.chromium.org/p/chromium/issues/detail?id=983203)

Ubuntu 18.04
I expect Chrome to play videos.
When I try to play any video on Google Chrome for Linux, any version of 75 or higher, Google Chrome freezes.
Chrome 75 will allow sound but no video.
All mouse clicks become unresponsive.
Attempting to close Chrome after many mouse clicks causes Chrome to crash.
Even worse it often also crashes Ubuntu 18.04.
Google Chrome 74 or lower work without any problems playing videos.
It is a Google Chrome Linux version 75 or higher problem.
I cannot believe that neither Google or Ubuntu or any other Linux OS seem to completely ignore this extremely serious problem.
I am forced to install Google Chrome 71 to fix video playback problem.
I posted on Ubuntu ask, and show over 90 views but no comments.
One answer confirms that he has the exact same problem.
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Desktop-Session:
 'ubuntu'
 '/etc/xdg/xdg-ubuntu:/etc/xdg'
 '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop'
DetectedPlugins:

DistroRelease: Ubuntu 18.04
Env:
 'None'
 'None'
InstallationDate: Installed on 2019-05-02 (66 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20181019)
Load-Avg-1min: 1.47
Load-Processes-Running-Percent: 0.1%
MachineType: MSI MS-7641
NonfreeKernelModules: nvidia_modeset nvidia
Package: chromium-browser 75.0.3770.90-0ubuntu0.18.04.1
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-55-generic root=UUID=7181ee96-0bd0-4b3c-9100-fa205ef6bd1d ro quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 4.15.0-55.60-generic 4.15.18
Tags: bionic
Uname: Linux 4.15.0-55-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm adm cdrom cdrom dip dip lpadmin lpadmin plugdev plugdev sambashare sambashare sudo sudo
_MarkForUpload: True
dmi.bios.date: 04/20/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V25.1
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 760GMA-P34(FX) (MS-7641)
dmi.board.vendor: MSI
dmi.board.version: 5.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 5.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV25.1:bd04/20/2015:svnMSI:pnMS-7641:pvr5.0:rvnMSI:rn760GMA-P34(FX)(MS-7641):rvr5.0:cvnMSI:ct3:cvr5.0:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: MS-7641
dmi.product.version: 5.0
dmi.sys.vendor: MSI
etcconfigcpepperflashpluginnonfree:
 flashso="/usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so"
 flashversion=`strings $flashso 2> /dev/null | grep LNX | cut -d ' ' -f 2 | sed -e "s/,/./g"`
 CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ppapi-flash-path=$flashso --ppapi-flash-version=$flashversion"
modified.conffile..etc.default.chromium-browser: [deleted]

Revision history for this message
BavarianPH (bavarianph) wrote :

Chromium version 75 has the exact same video issue as Google Chrome 75.
It freezes when I try to play any video.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Thanks for the report!
Can you please run the following command in a terminal to attach additional debugging information to the bug report? Thanks in advance!

    apport-collect 1835623

Revision history for this message
Olivier Tilloy (osomon) wrote :

Please also share the link to that askubuntu post where you describe the issue.

Revision history for this message
BavarianPH (bavarianph) wrote : ChromiumPrefs.txt

apport information

tags: added: apport-collected bionic
description: updated
Revision history for this message
BavarianPH (bavarianph) wrote : CurrentDmesg.txt

apport information

Revision history for this message
BavarianPH (bavarianph) wrote : Dependencies.txt

apport information

Revision history for this message
BavarianPH (bavarianph) wrote : DiskUsage.txt

apport information

Revision history for this message
BavarianPH (bavarianph) wrote : InstalledPlugins.txt

apport information

Revision history for this message
BavarianPH (bavarianph) wrote : Lspci.txt

apport information

Revision history for this message
BavarianPH (bavarianph) wrote : Lsusb.txt

apport information

Revision history for this message
BavarianPH (bavarianph) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
BavarianPH (bavarianph) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
BavarianPH (bavarianph) wrote : ProcInterrupts.txt

apport information

Revision history for this message
BavarianPH (bavarianph) wrote : ProcModules.txt

apport information

Revision history for this message
BavarianPH (bavarianph) wrote : RelatedPackageVersions.txt

apport information

Revision history for this message
BavarianPH (bavarianph) wrote : RelatedPackagesPolicy.txt

apport information

Revision history for this message
BavarianPH (bavarianph) wrote : UdevDb.txt

apport information

Revision history for this message
BavarianPH (bavarianph) wrote : etcconfigc00example.txt

apport information

Revision history for this message
BavarianPH (bavarianph) wrote : Re: Google Chrome Linux version 75 freezes and then crashes when trying to play any video
Revision history for this message
Olivier Tilloy (osomon) wrote :

Since chrome is also affected, would you mind filing an upstream bug at https://crbug.com, and sharing the link to it here?

Also, can you run chromium from a terminal like this, reproduce the problem and attach the full output?

    chromium-browser --enable-logging=stderr --v=1

Thanks!

Changed in chromium-browser (Ubuntu):
status: New → Incomplete
Revision history for this message
BavarianPH (bavarianph) wrote :

chromium-browser --enable-logging=stderr --v=1
When I reproduce the problem chromium 75 and Ubuntu 18.04 freeze.
After many mouse clicks chromium and Ubuntu 18.04 crash.
There is no output from the terminal because it also crashes.
Chromium does not produce an error report because it is frozen and crashes before it can make a report.
Are you telling me that nobody else has these same severe problems?
How can chrome and chromium 74 and older work perfectly and versions 75 freezes and crashes.
It is a chromium and chrome 75 issue, and not a Ubuntu 18.04.
Filing a bug with https://crbug.com is too complicated.
I am not a developer, I just need chrome and chromium to work.
Please contact the developers of chrome and chromium 75 and have them work on this, instead of hiding this insidious issue.
Why don't you use Ubuntu 18.04 with firewall on install chrome and chromium 75 and see what happens.
I am tired of solving other peoples errors.
I will just continue to use chrome 71 till google and chromium decide to fix this very well known issue.

Revision history for this message
BavarianPH (bavarianph) wrote :

This bug report is only incomplete because I am unable to reproduce the issue and get output.
Not getting usable error output or an error report IS part of the issue!

Revision history for this message
BavarianPH (bavarianph) wrote :

I just filed a bug report on https://crbug.com/

Revision history for this message
BavarianPH (bavarianph) wrote :

I just discovered that I can play audio but chromium freezes as well.
Also after clicking in chromium many times chromium crashes, and Ubuntu crashes but not always.
It seems that in chromium 75 the media process is started and then blocked.
Whatever they added to control media playing seems to be the issue in version 75.
Windows 10 chrome 75 seems to work fine

Revision history for this message
BavarianPH (bavarianph) wrote :

https://crbug.com/
Issue 983203 in chromium: video playback fails and freezes chromium and Ubuntu and then crashes
Inbox
x
Updates
x

dalecur… via monorail <email address hidden>
12:55 PM (8 hours ago)
to me

Comment #1 on issue 983203 by <email address hidden>: video playback fails and freezes chromium and Ubuntu and then crashes
https://bugs.chromium.org/p/chromium/issues/detail?id=983203#c1

Sorry we don't provide support for Chromium builds. You'll need to see if the issue reproduces with an official Google Chrome build:
https://www.google.com/chrome/

The official build should generate a crash report in chrome://crashes then. Have you tried this?

Revision history for this message
BavarianPH (bavarianph) wrote :

chrome://crashes does not give a crash report after chrome 75 freezes and then crashes
HELP!
chromium 75 is the same, no crash report

Revision history for this message
BavarianPH (bavarianph) wrote :

since I cannot give a an error report about chromium or chrome
You cannot possibly say that my bug report is incomplete.

Revision history for this message
BavarianPH (bavarianph) wrote :

I now have 100 people look at my ask ubuntu question.

https://askubuntu.com/questions/1152145/how-to-repair-chrome-75-video-playback-with-freezes-and-crashes?

Apparently they do not have a solution either.

Is anyone taking this serious?

Olivier Tilloy (osomon)
Changed in chromium-browser (Ubuntu):
status: Incomplete → New
description: updated
Revision history for this message
Olivier Tilloy (osomon) wrote :

Thank you for filing an upstream bug.

Your issue is being treated as seriously as other incoming bugs. The problem right now is that triagers haven't observed or managed to reproduce the problem, which makes it difficult to know where to start. No one else has reported similar issues on Launchpad either, so the bug you're experiencing doesn't seem to be affecting many people (fortunately).

Can you browse to chrome://media-internals/, click the button to save the logs, and attach the log file here? Thanks!

Revision history for this message
BavarianPH (bavarianph) wrote : Re: [Bug 1835623] Re: Google Chrome Linux version 75 freezes and then crashes when trying to play any video
Download full text (8.7 KiB)

chrome://media-internals/
Recent Player
none
Audio
{
  "AudioServiceAudioStreams": "Disabled",
  "AudioServiceLaunchOnStartup": "Disabled",
  "AudioServiceOutOfProcess": "Disabled",
  "AudioServiceOutOfProcessKillAtHang": "Disabled",
  "AudioServiceSandbox": "Disabled",
  "WebRtcApmInAudioService": "Disabled"
}

[]
Input Controller
none

Output Controllers
none

Output Streams
none

Video Capture Device Capabilities
none

Audio Focus
Active Sessionsnone

On Mon, Jul 15, 2019 at 4:50 AM Olivier Tilloy <email address hidden>
wrote:

> Thank you for filing an upstream bug.
>
> Your issue is being treated as seriously as other incoming bugs. The
> problem right now is that triagers haven't observed or managed to
> reproduce the problem, which makes it difficult to know where to start.
> No one else has reported similar issues on Launchpad either, so the bug
> you're experiencing doesn't seem to be affecting many people
> (fortunately).
>
> Can you browse to chrome://media-internals/, click the button to save
> the logs, and attach the log file here? Thanks!
>
> ** Changed in: chromium-browser (Ubuntu)
> Status: Incomplete => New
>
> ** Description changed:
>
> + (upstream bug report:
> + https://bugs.chromium.org/p/chromium/issues/detail?id=983203)
> +
> Ubuntu 18.04
> I expect Chrome to play videos.
> When I try to play any video on Google Chrome for Linux, any version of
> 75 or higher, Google Chrome freezes.
> Chrome 75 will allow sound but no video.
> All mouse clicks become unresponsive.
> Attempting to close Chrome after many mouse clicks causes Chrome to
> crash.
> Even worse it often also crashes Ubuntu 18.04.
> Google Chrome 74 or lower work without any problems playing videos.
> It is a Google Chrome Linux version 75 or higher problem.
> I cannot believe that neither Google or Ubuntu or any other Linux OS
> seem to completely ignore this extremely serious problem.
> I am forced to install Google Chrome 71 to fix video playback problem.
> I posted on Ubuntu ask, and show over 90 views but no comments.
> One answer confirms that he has the exact same problem.
> - ---
> + ---
> ProblemType: Bug
> ApportVersion: 2.20.9-0ubuntu7.6
> Architecture: amd64
> CurrentDesktop: ubuntu:GNOME
> Desktop-Session:
> - 'ubuntu'
> - '/etc/xdg/xdg-ubuntu:/etc/xdg'
> - '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop'
> + 'ubuntu'
> + '/etc/xdg/xdg-ubuntu:/etc/xdg'
> + '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop'
> DetectedPlugins:
> -
> +
> DistroRelease: Ubuntu 18.04
> Env:
> - 'None'
> - 'None'
> + 'None'
> + 'None'
> InstallationDate: Installed on 2019-05-02 (66 days ago)
> InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64
> (20181019)
> Load-Avg-1min: 1.47
> Load-Processes-Running-Percent: 0.1%
> MachineType: MSI MS-7641
> NonfreeKernelModules: nvidia_modeset nvidia
> Package: chromium-browser 75.0.3770.90-0ubuntu0.18.04.1
> PackageArchitecture: amd64
> ProcEnviron:
> - TERM=xterm-256color
> - PATH=(custom, no user)
> - XDG_RUNTIME_DIR=<set>
> - LANG=en_US.UTF-8
> - SHELL=/bin/bash
> + TERM=x...

Read more...

Revision history for this message
BavarianPH (bavarianph) wrote :

chrome://media-internals/
Recent Player
none

Audio
{
  "AudioServiceAudioStreams": "Disabled",
  "AudioServiceLaunchOnStartup": "Disabled",
  "AudioServiceOutOfProcess": "Disabled",
  "AudioServiceOutOfProcessKillAtHang": "Disabled",
  "AudioServiceSandbox": "Disabled",
  "WebRtcApmInAudioService": "Disabled"
}

[]
Input Controller
none

Output Controllers
none

Output Streams
none

Video Capture Device Capabilities
none

Audio Focus
Active Sessions
none

Revision history for this message
BavarianPH (bavarianph) wrote : Re: Google Chrome Linux version 75 freezes and then crashes when trying to play any video

What changed about video and audio playback on version 75 of chrome and chromium?

As I said before any earlier version worked just fine.

In chrome or chromium 75 when I click on any video to play, the moving circle appears and then
freezes instantly, as if it is stopped on purpose.
It may have to do with the process that stops videos from automatically starting until one clicks on the play arrow.
Except in this case clicking on a video is treated as if it were a automatic video start?

I still cannot believe that no one else has reported this issue.

my askubuntu question:

https://askubuntu.com/questions/1152145/how-to-repair-chrome-75-video-playback-with-freezes-and-crashes
has had 103 views, which leads me to believe that at least over 100 users are affected.

Revision history for this message
BavarianPH (bavarianph) wrote :

I suppose many Linux users probably use Firefox as a browser.
And I can use the newest version of Firefox to play videos without any trouble.

But with chrome and chromium 75:
Even after deleting all files and programs related to these browsers and starting totally fresh,
video will not play and freeze the browsers.
Could it be my nvidia drivers?
But even audio play freezes.
So it appears that all active media is affected on versions 75 and up, including beta and unstable versions.

Revision history for this message
BavarianPH (bavarianph) wrote :
Revision history for this message
BavarianPH (bavarianph) wrote :
Revision history for this message
BavarianPH (bavarianph) wrote :
Revision history for this message
BavarianPH (bavarianph) wrote :
Revision history for this message
BavarianPH (bavarianph) wrote :
Revision history for this message
BavarianPH (bavarianph) wrote :

Bug solved!

In my case, the Laine gnome-shell extension was causing all the problems. when I turned the Laine extension off both google-chrome and chromium versions 75 (newest updates) worked again.
Both video and audio playback ran normally again.

Revision history for this message
BavarianPH (bavarianph) wrote : Re: [Bug 1835623] Re: Google Chrome Linux version 75 freezes and then crashes when trying to play any video
Download full text (4.2 KiB)

Bug solved!

In my case, the Laine gnome-shell extension was causing all the problems.
when I turned the Laine extension off both google-chrome and chromium
versions 75 (newest updates) worked again. Both video and audio playback
ran normally again.

On Tue, Jul 16, 2019 at 2:51 PM BavarianPH <email address hidden> wrote:

> ** Attachment added: "Security_log"
>
> https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1835623/+attachment/5277514/+files/log_messages_Security.log
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1835623
>
> Title:
> Google Chrome Linux version 75 freezes and then crashes when trying to
> play any video
>
> Status in chromium-browser package in Ubuntu:
> New
>
> Bug description:
> (upstream bug report:
> https://bugs.chromium.org/p/chromium/issues/detail?id=983203)
>
> Ubuntu 18.04
> I expect Chrome to play videos.
> When I try to play any video on Google Chrome for Linux, any version of
> 75 or higher, Google Chrome freezes.
> Chrome 75 will allow sound but no video.
> All mouse clicks become unresponsive.
> Attempting to close Chrome after many mouse clicks causes Chrome to
> crash.
> Even worse it often also crashes Ubuntu 18.04.
> Google Chrome 74 or lower work without any problems playing videos.
> It is a Google Chrome Linux version 75 or higher problem.
> I cannot believe that neither Google or Ubuntu or any other Linux OS
> seem to completely ignore this extremely serious problem.
> I am forced to install Google Chrome 71 to fix video playback problem.
> I posted on Ubuntu ask, and show over 90 views but no comments.
> One answer confirms that he has the exact same problem.
> ---
> ProblemType: Bug
> ApportVersion: 2.20.9-0ubuntu7.6
> Architecture: amd64
> CurrentDesktop: ubuntu:GNOME
> Desktop-Session:
> 'ubuntu'
> '/etc/xdg/xdg-ubuntu:/etc/xdg'
> '/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop'
> DetectedPlugins:
>
> DistroRelease: Ubuntu 18.04
> Env:
> 'None'
> 'None'
> InstallationDate: Installed on 2019-05-02 (66 days ago)
> InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64
> (20181019)
> Load-Avg-1min: 1.47
> Load-Processes-Running-Percent: 0.1%
> MachineType: MSI MS-7641
> NonfreeKernelModules: nvidia_modeset nvidia
> Package: chromium-browser 75.0.3770.90-0ubuntu0.18.04.1
> PackageArchitecture: amd64
> ProcEnviron:
> TERM=xterm-256color
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-55-generic
> root=UUID=7181ee96-0bd0-4b3c-9100-fa205ef6bd1d ro quiet splash vt.handoff=1
> ProcVersionSignature: Ubuntu 4.15.0-55.60-generic 4.15.18
> Tags: bionic
> Uname: Linux 4.15.0-55-generic x86_64
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups: adm adm cdrom cdrom dip dip lpadmin lpadmin plugdev plugdev
> sambashare sambashare sudo sudo
> _MarkForUpload: True
> dmi.bios.date: 04/20/2015
> dmi.bios.vendor: American Megatrends Inc.
> dmi.bios.ve...

Read more...

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: Google Chrome Linux version 75 freezes and then crashes when trying to play any video

Thanks for the feedback. I'm closing this bug accordingly.

Note that "Delete this seriously flawed extension!" (on https://extensions.gnome.org/extension/937/laine/ and https://gitlab.com/jhoran/Laine/issues/52) is not usually considered constructive feedback. I'm sure the developers of that extension will be more than happy to investigate and fix the problem, now that it has been reported to them. Wording the report in friendly terms wouldn't hurt.

Changed in chromium-browser (Ubuntu):
status: New → Invalid
Revision history for this message
BavarianPH (bavarianph) wrote :

I am sorry about suggesting to delete the extension. One can also turn off the extension until the developer has found a fix. It seems that the use of MPRIS and Pulseaudio may be causing a conflict with Chrome and Chromium version 75 and newer. Any older versions seem not to be affected by the use of Laine.

Revision history for this message
BavarianPH (bavarianph) wrote :

In my case, the Laine gnome-shell extension was causing all the problems.
when I turned the Laine extension off both google-chrome and chromium versions 75 (newest updates) worked again.
Both video and audio playback ran normally again.

It may be an MPRIS or pulseaudio, or other gnome-shell media extension interaction with chrome or chromium 75.

this link may have further answers.

https://bugs.chromium.org/p/chromium/issues/detail?id=983203#c24

There really is a bug, so I do not understand why this bug report is invalid.

The above web link tells you that there is a bug!

Revision history for this message
Olivier Tilloy (osomon) wrote :

So this is indeed a bug in upstream chromium. Correcting the status accordingly.
Unfortunately launchpad is not able to track remote bugs at bugs.chromium.org, so we will have to update the status again once the fix is released.

Changed in chromium-browser (Ubuntu):
status: Invalid → Confirmed
importance: Undecided → Medium
summary: - Google Chrome Linux version 75 freezes and then crashes when trying to
- play any video
+ Chromium's MPRIS implementation freezes and then crashes the browser
+ when trying to play any video with Laine gnome-shell extension
Revision history for this message
BavarianPH (bavarianph) wrote :

see also
https://chromium-review.googlesource.com/c/chromium/src/+/1715233

MPRIS: Return list of artists instead of an artist string

This CL changes the MPRIS artist metadata to be a list of strings
instead of just one string. This makes MPRIS correctly match the spec
of the xesam:artist property. This fixes an issue where some users of
MPRIS (e.g. the Laine GNOME extension) would crash when reading the
xesam:artist value since they assume it's a list instead of just a
string.

Bug: 983203
Change-Id: Icfc9c089ca503792e93dcae636b8d9a438552e6d

Revision history for this message
BavarianPH (bavarianph) wrote :

Re: Laine | Laine extension breaks video and audio playback in google chrome and chromium versions 75 and newer! (#52)
Inbox
x
Updates
x

Tommy Steimel <email address hidden> Unsubscribe
Tue, Jul 23, 3:10 PM (20 hours ago)
to me

Tommy Steimel commented:

Chrome 75 doesn't correctly follow the spec for the xesam:artist attribute. It's supposed to be a list of strings, but Chrome just returns a string. I have a fix out for that here: crrev.com/c/1715233. Some MPRIS clients gracefully handle that case though, so it may be worth updating Laine to not break when given just a string. Thanks!

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.