[webkit-changes] [WebKit/WebKit] bc8891: Crash on WebCore::FrameLoader::effectiveReferrerPo...

Carlos Alberto Lopez Perez noreply at github.com
Tue May 21 11:24:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bc889156b6fb70f9bde783b237fa4abb10e450ed
      https://github.com/WebKit/WebKit/commit/bc889156b6fb70f9bde783b237fa4abb10e450ed
  Author: Carlos Alberto Lopez Perez <clopez at igalia.com>
  Date:   2024-05-21 (Tue, 21 May 2024)

  Changed paths:
    M Source/WebCore/page/Page.cpp

  Log Message:
  -----------
  Crash on WebCore::FrameLoader::effectiveReferrerPolicy() after 274396 at main on ARM64 with GCC -O3
https://bugs.webkit.org/show_bug.cgi?id=273703

Reviewed by Michael Catanzaro.

This workarounds a bug on GCC (affecting at least GCC 12, 13, 14, 15-nightly)
where the compiler produces wrong code on ARM64 at certain optimization levels
(like -O3) which seems related to lambdas and variants.

This wrong code later leads to a crash when the browser starts at
WebCore::FrameLoader::effectiveReferrerPolicy()

* Source/WebCore/page/Page.cpp:
(WebCore::createMainFrame):

Canonical link: https://commits.webkit.org/279066@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list