Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874594 - www-client/chromium: crash when casting
Summary: www-client/chromium: crash when casting
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-03 09:00 UTC by Daiajo Tibdixious
Modified: 2022-10-12 21:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daiajo Tibdixious 2022-10-03 09:00:04 UTC
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
Comment 1 Stephan Hartmann (RETIRED) gentoo-dev 2022-10-03 10:00:04 UTC
Can you try with --disable-feature=GlobalMediaControlsCastStartStop?
Comment 2 Stephan Hartmann (RETIRED) gentoo-dev 2022-10-03 10:01:11 UTC
--disable-features=GlobalMediaControlsCastStartStop ofc
Comment 3 Daiajo Tibdixious 2022-10-03 10:09:52 UTC
When started from the command line with
--disable-features=GlobalMediaControlsCastStartStop
Casting is now working.
Can I disable this in settings?
Comment 4 Stephan Hartmann (RETIRED) gentoo-dev 2022-10-03 14:50:24 UTC
You can put it in CHROMIUM_FLAGS in /etc/chromium/default for the moment until we figure out why it crashes.
Comment 5 Stephan Hartmann (RETIRED) gentoo-dev 2022-10-03 18:46:52 UTC
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.
Comment 6 Larry the Git Cow gentoo-dev 2022-10-06 09:12:53 UTC
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(+)
Comment 7 Larry the Git Cow gentoo-dev 2022-10-07 12:22:20 UTC
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(-)
Comment 8 Larry the Git Cow gentoo-dev 2022-10-09 11:48:49 UTC
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(-)
Comment 9 Daiajo Tibdixious 2022-10-12 21:45:20 UTC
After upgrading chromium, I removed the option from /etc/chromium/default & restarted chromium.
Casting is now working as expected.