Package: chromium
Followup-For: Bug #854511

I think this bug is fixed in the latest version, 59. The in-built Media Router
extension works and you don't need an extra cast-extension. At least I've been
using it to watch youtube videos on my TV for the past few days. It didn't work
in 58 but after upgrading to 59 it works fine.

Sometimes it causes segfaults however, then your chromium will keep segfaulting
every time it starts. To fix this, you can remove the extension directory, 
disable
the router, restart chrome, reenable the router, restart chrome again. In a 
script
for your convenience:

~~~~
#!/bin/sh
# If Chrome segfaults while running Chrome Cast, it will keep segfaulting on 
startup.
# Run this to fix things and get back to where you were.
CHROMIUM_CONFIGDIR="${CHROMIUM_CONFIGDIR:-$HOME/.config/chromium}"
CHROMIUM_PROFILE="${CHROMIUM_PROFILE:-$CHROMIUM_CONFIGDIR/Default}"

rm -rf "${CHROMIUM_PROFILE}/Extensions/pkedcjkdefgpdelpbcmbmeomcjbeemfm/"
sed -i -e 
"s/load-media-router-component-extension@1/load-media-router-component-extension@0/"
 "$CHROMIUM_CONFIGDIR/Local State"
chromium &
sleep 1; kill $!; wait $! # otherwise non-exited child processes will clobber 
the value below
sed -i -e 
"s/load-media-router-component-extension@0/load-media-router-component-extension@1/"
 "$CHROMIUM_CONFIGDIR/Local State"
chromium
~~~~

X

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (300, 'unstable'), (200, 'experimental'), (1, 
'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages chromium depends on:
ii  libasound2           1.1.3-5
ii  libatk1.0-0          2.22.0-1
ii  libavcodec57         7:3.2.5-1
ii  libavformat57        7:3.2.5-1
ii  libavutil55          7:3.2.5-1
ii  libc6                2.24-11
ii  libcairo2            1.14.8-1
ii  libcups2             2.2.1-8
ii  libdbus-1-3          1.10.18-1
ii  libdrm2              2.4.74-1
ii  libevent-2.0-5       2.0.21-stable-3
ii  libexpat1            2.2.0-2
ii  libflac8             1.3.2-1
ii  libfontconfig1       2.11.0-6.7+b1
ii  libfreetype6         2.6.3-3.2
ii  libgcc1              1:6.3.0-18
ii  libgdk-pixbuf2.0-0   2.36.5-2
ii  libglib2.0-0         2.50.3-2
ii  libgtk2.0-0          2.24.31-2
ii  libharfbuzz0b        1.4.2-1
ii  libicu57             57.1-6
ii  libjpeg62-turbo      1:1.5.1-2
ii  libminizip1          1.1-8+b1
ii  libnspr4             2:4.12-6
ii  libnss3              2:3.26.2-1.1
ii  libpango-1.0-0       1.40.5-1
ii  libpangocairo-1.0-0  1.40.5-1
ii  libpng16-16          1.6.28-1
ii  libpulse0            10.0-1
ii  libre2-3             20170101+dfsg-1
ii  libsnappy1v5         1.1.3-3
ii  libstdc++6           6.3.0-18
ii  libvpx4              1.6.1-3
ii  libwebp6             0.5.2-1
ii  libwebpdemux2        0.5.2-1
ii  libx11-6             2:1.6.4-3
ii  libx11-xcb1          2:1.6.4-3
ii  libxcb1              1.12-1
ii  libxcomposite1       1:0.4.4-2
ii  libxcursor1          1:1.1.14-1+b4
ii  libxdamage1          1:1.1.4-2+b3
ii  libxext6             2:1.3.3-1+b2
ii  libxfixes3           1:5.0.3-1
ii  libxi6               2:1.7.9-1
ii  libxml2              2.9.4+dfsg1-2.2
ii  libxrandr2           2:1.5.1-1
ii  libxrender1          1:0.9.10-1
ii  libxslt1.1           1.1.29-2.1
ii  libxss1              1:1.2.2-1
ii  libxtst6             2:1.2.3-1
ii  x11-utils            7.7+3+b1
ii  xdg-utils            1.1.1-1
ii  zlib1g               1:1.2.8.dfsg-5

Versions of packages chromium recommends:
ii  fonts-liberation  1:1.07.4-2

Versions of packages chromium suggests:
pn  chromium-driver    <none>
pn  chromium-l10n      <none>
pn  chromium-shell     <none>
pn  chromium-widevine  <none>

-- Configuration Files:
/etc/chromium.d/default-flags changed [not included]

-- no debconf information

Reply via email to