Bug 2403472 - GCC may miscompile AutoBuffer which causes Firefox crashes on Fedora 43 only.
Summary: GCC may miscompile AutoBuffer which causes Firefox crashes on Fedora 43 only.
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 43
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-13 07:57 UTC by Martin Stransky
Modified: 2025-10-16 06:57 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Martin Stransky 2025-10-13 07:57:42 UTC
Found upstream reports at https://bugzilla.mozilla.org/show_bug.cgi?id=1990430#c1

Firefox crash data at https://bugzilla.mozilla.org/show_bug.cgi?id=1990430 reports there are AutoBuffer array crashes on Fedora 43 only on all Firefox versions.

First crashes correlates with this GCC update: https://bodhi.fedoraproject.org/updates/FEDORA-2025-483b46505e 

This code may be wrongly align:
https://searchfox.org/firefox-main/rev/91e6069b9c1e7289d0c727b5110e144edc589204/xpcom/ds/nsTArray.h#2974


Reproducible: Always


Note You need to log in before you can comment on or make changes to this bug.