Bug 240806 - www/chromium: Newly Installed via pkg upgrade Causes chromium to run at near 100% All CPU Cores Overheating Causing CPU Thermal Shutdown
Summary: www/chromium: Newly Installed via pkg upgrade Causes chromium to run at near ...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-chromium (Nobody)
URL:
Keywords: needs-qa, performance
Depends on:
Blocks:
 
Reported: 2019-09-25 08:09 UTC by John
Modified: 2022-11-20 00:16 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (chromium)


Attachments
Console from last boot and showing some of the excessive CPU Core use of Chromium vs Firefox (460.65 KB, text/plain)
2019-09-25 08:09 UTC, John
no flags Details
Console from boot time with pkg list and pkg upgrade leading to bug (86.11 KB, text/plain)
2019-09-25 08:11 UTC, John
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John 2019-09-25 08:09:45 UTC
Created attachment 207787 [details]
Console from last boot and showing some of the excessive CPU Core use of Chromium vs Firefox

After doing a pkg update 20190925 02:19+0000 UTC that performed many XFCE updates that seemed related to "Installed packages to be UPGRADED:" xfce: 4.12_1 -> 4.14 based set of updates there was "New packages to be INSTALLED:" xfce4-screensaver: 0.1.8.

The pkg upgrade proceed with no issues and the FreeBSD 11.3 based system was immediately rebooted by me not only due to the extent of the many upgraded XFCE4 packages, but there was an update for xorg-server: 1.18.4_11,1 -> 1.18.4_12,1.

The reboot and CLI startx (to start xfce4 by default) proceeded just fine, and clearly a new look an feel for XFCE4.  I was away from the machine for about 8 miinutes and upon return found the laptop powered off.  There was no power interruption and the laptop battery is in excellent condition and 100% changed.

Restarted the laptop where many FreeBSD 11.3 kernel messages occurred that looked like VFS dumping.  The messages occurred to fast and my phone SD card is not working so unable to to take pics or video of issues.  The FreeBSD kernel then immediately rebooted.  Started XFCE4 as usual via CLI after reboot via startx.

I am still new to FreeBSD, but have used Unix since 1999 as only OS.  I have used Unix prior on/off as result of my career and even when in high school.  I do not know if the boot messages are stored in some place I can still retrieve the boot messages that may shed some light on this matter.


Started chromium and widget displayed saying chromium configuration file is corrupted.  Yet chromium able to restart all windows and tabs previously open.  

Started to key in bug report at time not aware of real cause of issue, but some other cause such as XFCE. As entering new bug report system shut down with no warning.  Discovered laptop bottom very very warm.  Suspect this and prior shutdown due to system overheating.  System has never overheated in past.

Allowed system to cool down as was very hot underneath most of laptop area.

Rebooted.

Something let me to check CPU temperatures and foudn all cores running near 80+% and all CPU cores about 82+C.  Checked htop and sense from htop was chromium was cause of all cores use and resulting very high all CPU core temperatures.  Killed chromium and as soon as did all CPU cores dropped to near Zero usage.  There was a small immediate drop in all CPU core temperatures.  It took a while for all CPU core temperatures to drop to reasonable temperatures due to level and time CPU cores where running over 80%.  During that time ran CLI commands to take CPU core temperatures.

Started chromium again and as soon as did all cores of CPU went to over 80% and all CPU cores temperatures started to rise quickly.  Again tool CPU core temperatures via CLI.  Then killed chromium again and again all CPU cores dropped to near Zero and all CPU cores started to drop in temperature again.

I had been running chromium for few weeks prior to the pkg update of 20190925 02:19 that involved in summary xfce: 4.12_1 -> 4.14 and xorg-server: 1.18.4_11,1 -> 1.18.4_12,1.   Both sets of updates likely, but not certain may have some impact on chromium causing CPU cores to all run 80+% and causing thermal CPU shutdown and file/system corruption.

I would thing others would be also impacted by this issue at least from excessive CPU core use that may also lead to other systems having a CPU thermal protection shut down.

Started firefox and other than basic normal all cores high use for about 20 seconds system CPU core temperatures are running in the expected normal range of  68C-70C.

Therefore this bug was entered via firefox as chromium would have caused CPU cores to overheat and shut down system before able to complete this bug report.

Also note chromium was running after the pkg upgrade/reboot that lead to the first in hindsight CPU thermal shutdown.
Comment 1 John 2019-09-25 08:11:32 UTC
Created attachment 207788 [details]
Console from boot time with pkg list and pkg upgrade leading to bug

File of the FreeBSD upgrade believed to be related to the bug.
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2022-11-20 00:16:22 UTC
Thermal shutdown would be indicative of a hardware issue. 

For the software, assuming that you still use STABLE: is the performance issue (excessive use of CPU) reproducible with the most recently packaged Chromium on 13.1-STABLE?