brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
18k stars 2.36k forks source link

Brave(Component v1.50.30 compiled from source code) crashed after minimizing it #28671

Open syx1031 opened 1 year ago

syx1031 commented 1 year ago

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

  1. compile from source code(Component pattern)

图片 图片

  1. Open brave by terminal(I use bash without su or sudo) and wait for less than 2 minutes.

图片 图片

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)"

syx1031 commented 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. image There are some information from terminal, cut from verbose logs produced in debug mode. image image image image