Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903518 - www-client/vivaldi: random crashes
Summary: www-client/vivaldi: random crashes
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: 2023-03-29 09:58 UTC by Rafał Mużyło
Modified: 2023-04-05 21:05 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 Rafał Mużyło 2023-03-29 09:58:23 UTC
Currently on www-client/vivaldi-5.7.2921.60, the problem started being a crasher only recently (I'd say no earlier than 5.5).

Anyway, under some seemingly random conditions (like closing a tab) browser began crashing every now and then recently.

After a few misses, it seems that something that didn't *seem* to matter before, now began to: for awhile in the session log I kept seeing '/sys/devices/system/cpu/cpu*/cpufreq/scaling_*_freq' lines from the browser; the browser before just kept going, so I've ignored it. Yet now, it seems that adding X86_INTEL_PSTATE and/or X86_AMD_PSTATE to get those has made a positive difference.

So, though even if that being correct would mean it could be a chromium bug, a kernel check might not be out of place in the ebuild.
Comment 1 Larry the Git Cow gentoo-dev 2023-04-05 21:05:12 UTC
The bug has been closed via the following commit(s):

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

commit d4d1a7d02e2e2e8642925d76f2c7ba3045033eaf
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2023-04-05 20:59:16 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2023-04-05 21:04:44 +0000

    www-client/vivaldi-snapshot: Check for CPU_FREQ in Linux kernel config
    
    Vivaldi reportedly crashes without a CPU frequency driver present. The reporter
    mentioned X86_AMD_PSTATE and X86_INTEL_PSTATE specifically, but
    linux-info.eclass is quite basic. Even if I made this conditional on the amd64
    USE flag, my AMD system does not have X86_INTEL_PSTATE enabled. CPU_FREQ will
    not guarantee that you have any appropriate driver enabled, but at least it will
    nudge you in the right direction. This is arguably a Chromium bug anyway, so
    hopefully it will be addressed upstream.
    
    Closes: https://bugs.gentoo.org/903518
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 www-client/vivaldi-snapshot/vivaldi-snapshot-5.8.2970.3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6be77088b25e161405d2c9123c0997d1706ceae8

commit 6be77088b25e161405d2c9123c0997d1706ceae8
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2023-04-05 20:58:18 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2023-04-05 21:04:41 +0000

    www-client/vivaldi: Check for CPU_FREQ in Linux kernel config
    
    Vivaldi reportedly crashes without a CPU frequency driver present. The reporter
    mentioned X86_AMD_PSTATE and X86_INTEL_PSTATE specifically, but
    linux-info.eclass is quite basic. Even if I made this conditional on the amd64
    USE flag, my AMD system does not have X86_INTEL_PSTATE enabled. CPU_FREQ will
    not guarantee that you have any appropriate driver enabled, but at least it will
    nudge you in the right direction. This is arguably a Chromium bug anyway, so
    hopefully it will be addressed upstream.
    
    Closes: https://bugs.gentoo.org/903518
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 www-client/vivaldi/vivaldi-5.7.2921.65.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)