FS#62977 - [gcc] A GCC9 bug leads to crashes of telegram-desktop

Attached to Project: Arch Linux
Opened by Chih-Hsuan Yen (yan12125) - Saturday, 22 June 2019, 16:53 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Saturday, 22 June 2019, 21:19 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
There is an optimization bug in GCC 9.1.0 [1], which causes telegram-desktop to crash at startup (in Data::Session::notifyIsMuted(), specifically). That optimization bug is already fixed in SVN trunk of GCC [2] but have not been backported to GCC 9 branch yet as of writing.

If I build core/gcc with that patch, and use the patched gcc to build telegram-desktop, there are no more startup crashes of telegram-desktop.

Could you consider including that patch in core/gcc?

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90949
[2] https://github.com/gcc-mirror/gcc/commit/43ac94121625f17858e6db8af7dc0e1521315671

Additional info:
* gcc 9.1.0-1

Steps to reproduce:
1. Enable [*testing]
2. Run telegram-desktop and login
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Saturday, 22 June 2019, 21:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  gcc 9.1.0-2

Loading...