Open syx1031 opened 1 year ago
Today I tried compiled Brave in Debug mode, and the fatal above has disappeared, but when I visited www.youtube.com, the page occurred an error message and crashed. There are some information from terminal, cut from verbose logs produced in debug mode.
Description
I compiled Brave(Component) from source code(v1.50.30) in a Ubuntu 20.04 virtual machine established by VMware Workstation. And when I start to use it , I found that Brave always crashed when I minimized it and waited for less than 2 minutes, and I got information below.
Steps to Reproduce
Actual result:
like picture above
Expected result:
It seems like this fault leads to a linux core dump, I have searched for "compositorAnimationObserver is active for too long (793.801s)" and "open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)" for several times and found nothing about the first problem. But I found that the second problem means that Ubuntu missed cpu scaling driver (https://wiki.archlinux.org/title/CPU_frequency_scaling) which working for scaling governors to scale cpu's frequence for power saving, and it should not work on virtual machine(because VM's cpu is virtual cpu). in other word, it's normal that brave can't find this document, and someone (https://www.linuxquestions.org/questions/linux-newbie-8/cpu-frequency-scale-4175535615/) has said that this error always appear in any chromium browser and it doesn't matter.
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
Version/Channel Information:
1.50.30, I will then do experience on Release version and Debug version.
Other Additional Information:
Miscellaneous Information:
May some developers could come and help me find out at last what is "CompositorAnimationObserver is active for too long (793.801s)"