When playing youtube, pushing the 'cast' button brings up the right list of receivers. On picking one, a brief "connecting" type messages comes up, then chromium crashes. These messages come up on the command line: [1003/195005.921451:ERROR:elf_dynamic_array_reader.h(64)] tag not found [1003/195005.921550:ERROR:elf_dynamic_array_reader.h(64)] tag not found [1003/195005.921602:ERROR:elf_dynamic_array_reader.h(64)] tag not found [1003/195005.921628:ERROR:elf_dynamic_array_reader.h(64)] tag not found [31413:31426:1003/195005.949353:ERROR:broker_posix.cc(40)] Recvmsg error: Connection reset by peer (104) [1]+ Segmentation fault chromium I have never tried casting before, and don't need it, so just for information. The device I'm casting to is a new Google Home Hub. I'm on kernel linux-5.15.69-gentoo
Can you try with --disable-feature=GlobalMediaControlsCastStartStop?
--disable-features=GlobalMediaControlsCastStartStop ofc
When started from the command line with --disable-features=GlobalMediaControlsCastStartStop Casting is now working. Can I disable this in settings?
You can put it in CHROMIUM_FLAGS in /etc/chromium/default for the moment until we figure out why it crashes.
Last relevant lines from GDB backtrace: #0 0x0000555562088fbd in media_router::MediaRouterUI::~MediaRouterUI() () #1 0x0000555562089252 in media_router::MediaRouterUI::~MediaRouterUI() () #2 0x000055556223f8a4 in MediaItemUIDeviceSelectorView::~MediaItemUIDeviceSelectorView() () #3 0x000055556223fb92 in MediaItemUIDeviceSelectorView::~MediaItemUIDeviceSelectorView() () #4 0x000055556008d362 in views::View::~View() () #5 0x0000555562754dc2 in global_media_controls::MediaItemUIView::~MediaItemUIView() () Might be a destruction ordering problem.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=362c0284fd9a43f87777977ae3402548a238bbdc commit 362c0284fd9a43f87777977ae3402548a238bbdc Author: Stephan Hartmann <sultan@gentoo.org> AuthorDate: 2022-10-06 09:11:19 +0000 Commit: Stephan Hartmann <sultan@gentoo.org> CommitDate: 2022-10-06 09:12:48 +0000 www-client/chromium: stable channel bump to 106.0.5249.103 Workaround crash with global media controls and casting. Bug: https://bugs.gentoo.org/874594 Signed-off-by: Stephan Hartmann <sultan@gentoo.org> www-client/chromium/Manifest | 1 + www-client/chromium/chromium-106.0.5249.103.ebuild | 1190 ++++++++++++++++++++ ...6-revert-GlobalMediaControlsCastStartStop.patch | 32 + 3 files changed, 1223 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12981573783987310357c534e668ac5abbec3c1d commit 12981573783987310357c534e668ac5abbec3c1d Author: Stephan Hartmann <sultan@gentoo.org> AuthorDate: 2022-10-07 12:21:55 +0000 Commit: Stephan Hartmann <sultan@gentoo.org> CommitDate: 2022-10-07 12:22:15 +0000 www-client/chromium: beta channel bump to 107.0.5304.29 Bug: https://bugs.gentoo.org/874594 Signed-off-by: Stephan Hartmann <sultan@gentoo.org> www-client/chromium/Manifest | 2 +- .../{chromium-107.0.5304.18.ebuild => chromium-107.0.5304.29.ebuild} | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa18c856abd39f116d01df7ad4d2c5899db00b1c commit fa18c856abd39f116d01df7ad4d2c5899db00b1c Author: Stephan Hartmann <sultan@gentoo.org> AuthorDate: 2022-10-09 11:47:31 +0000 Commit: Stephan Hartmann <sultan@gentoo.org> CommitDate: 2022-10-09 11:48:45 +0000 www-client/chromium: dev channel bump to 108.0.5343.2 Bug: https://bugs.gentoo.org/874594 Signed-off-by: Stephan Hartmann <sultan@gentoo.org> www-client/chromium/Manifest | 4 +- ....5327.0.ebuild => chromium-108.0.5343.2.ebuild} | 34 +++++----- .../files/chromium-108-EnumTable-crash.patch | 76 ++++++++++++++++++++++ ...8-revert-GlobalMediaControlsCastStartStop.patch | 35 ++++++++++ 4 files changed, 129 insertions(+), 20 deletions(-)
After upgrading chromium, I removed the option from /etc/chromium/default & restarted chromium. Casting is now working as expected.