Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753973 - www-client/vivaldi-3.4.2066.86_p1 crashes with bus fault after running /opt/vivaldi/update-ffmpeg
Summary: www-client/vivaldi-3.4.2066.86_p1 crashes with bus fault after running /opt/v...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-11 07:53 UTC by Michael Moon
Modified: 2022-07-28 07:23 UTC (History)
1 user (show)

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 Michael Moon 2020-11-11 07:53:43 UTC
www-client/vivaldi-3.4.2066.86_p1 complains on startup about proprietary video support, and prompts the user to run sudo /opt/vivaldi/update-ffmpeg or /opt/bin/update-ffmpeg --user to grab a 3rd party library.

After doing so, the browser will either crash within a few seconds, or refuse to reopen after being closed.

Running it under strace indicates that it's crashing with a bus fault shortly after reading the ffmpeg library it grabs.

Removing /var/opt/vivaldi/media-codecs-* or ~/.local/lib/vivaldi/media-codecs-* returns it to working status - although it continues to complain about proprietary video codec support since we just removed the support file it installed.

Not sure if this has anything to do with Gentoo or if it's a purely upstream issue.
Comment 1 James Le Cuirot gentoo-dev 2020-11-11 22:18:26 UTC
Yeah, just don't do that, it's a bad idea.

I've only just taken on this package and I'm literally preparing some scripts for it right now. I hadn't noticed update-ffmpeg before but I think I'll just remove it entirely. I have long wanted proprietary codecs to work out of the box but the previous maintainer prevented that. Please wait while I make the relevant changes.
Comment 2 Michael Moon 2020-11-12 03:20:39 UTC
No rush, I don't use it much, just thought I'd post this issue in case others run into it :)
Comment 3 Larry the Git Cow gentoo-dev 2020-11-20 22:21:39 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6820eedb820d48207ddc90be02f276662401e7a1

commit 6820eedb820d48207ddc90be02f276662401e7a1
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2020-11-20 22:07:02 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2020-11-20 22:21:08 +0000

    www-client/vivaldi-snapshot: Add proprietary-codecs and widevine flags
    
    This also removes the upstream "update" scripts that are most likely
    to just break thing.
    
    Bug: https://bugs.gentoo.org/647738
    Bug: https://bugs.gentoo.org/653448
    Bug: https://bugs.gentoo.org/733904
    Bug: https://bugs.gentoo.org/753973
    Package-Manager: Portage-3.0.9, Repoman-3.0.1
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 www-client/vivaldi-snapshot/metadata.xml               |  4 ++++
 .../vivaldi-snapshot-3.5.2110.3.ebuild                 | 18 ++++++++++++++++++
 2 files changed, 22 insertions(+)