[Webkit-unassigned] [Bug 146440] Crash on xLarge memory allocation using bmalloc on 32bit systems

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 1 17:19:58 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=146440

Mario Sanchez Prada <mario at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrobinson at webkit.org

--- Comment #2 from Mario Sanchez Prada <mario at webkit.org> ---
I found the optimization that was messing up with bmalloc here: -ftree-sra

According to the documentation [1]

  """
  Perform scalar replacement of aggregates. This pass replaces
  structure references with scalars to prevent committing
  structures to memory too early.

  This flag is enabled by default at -O and higher. 
  """

We are normally building with -g1 (for the debug package only) and with -O2 for optimizations, so simply passing -fno-free-sra while building on top would avoid the crash from happen.

Geoffrey, any idea why this could be the case?

Also, should disabling this optimization could make sense as a reasonable workaround for 2.8.3 (similar to what it's done in bug 127777 with -fno-omit-frame-pointer and -fno-tree-dce), would it be ok to propose a patch for the CMake files for WebKitGTK+? (Adding Martin to CC)

[1] https://gcc.gnu.org/onlinedocs/gcc-4.9.0/gcc/Optimize-Options.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150702/2677923d/attachment-0001.html>


More information about the webkit-unassigned mailing list