FS#77459 - [freetype2] Chromium crashes with 2.13.0

Attached to Project: Arch Linux
Opened by freswa (frederik) - Saturday, 11 February 2023, 14:52 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 30 May 2023, 05:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Evangelos Foutras (foutrelis)
Jan Alexander Steffens (heftig)
Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Latest upgrade breaks some applications:
- element-desktop shows a white screen
- chromium tab crashes when opening linkedin.com
- chromium crashes with some search suggestions (Haven't found a good repro yet).

The issue has been bisected to 117df36b4c3a5f7850a3789e92ce54d9341673ff. The attached patch applied to 2.13.0 fixes the issue.
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 30 May 2023, 05:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  chromium and all electrons have now been rebuilt.
Comment by Jan Alexander Steffens (heftig) - Saturday, 11 February 2023, 19:42 GMT
So FreeType 2.13.0 changed the previously-experimental COLR API before stabilizing it.

I don't think a revert is a good idea since that would break apps that properly use the stabilized API (after checking FreeType's version).

We should try to fix this is in chromium and electron, if we can.
Comment by Jan Alexander Steffens (heftig) - Saturday, 11 February 2023, 19:51 GMT
This page crashes for me: https://colrv1-emoji-vs-cbdt.glitch.me/
Comment by freswa (frederik) - Saturday, 11 February 2023, 19:55 GMT
Can confirm this triggers the crash as well.
Comment by Evangelos Foutras (foutrelis) - Sunday, 12 February 2023, 08:45 GMT
As Jan pointed out on IRC, a rebuild makes Chromium use the correct data type (and not crash).

I'm working through the electron packages now. (Edit: electron* packages have been rebuilt and can now display the above test page.)

Loading...