Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Issue 7492012: Lion x86 compatibility for mach_override (Closed)

Created:
9 years, 5 months ago by Mark Mentovai
Modified:
9 years, 5 months ago
Reviewers:
Robert Sesek, Nico
CC:
chromium-reviews
Visibility:
Public.

Description

Lion x86 compatibility for mach_override. This enables makeIslandExecutable for x86. Main executables linked and run on Mac OS X 10.7 ("Lion") have non-executable heap pages by default. BUG=79642 TEST=Build and run on Lion. Renderers should not crash instantly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93690

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -12 lines) Patch
M third_party/mach_override/LICENSE View 0 chunks +-1 lines, --1 lines 0 comments Download
MM third_party/mach_override/README.chromium View 1 2 chunks +20 lines, -4 lines 0 comments Download
M third_party/mach_override/mach_override.c View 1 4 chunks +11 lines, -9 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Mark Mentovai
I’ll send this upstream once committed to our repository. Robert, could you verify that this ...
9 years, 5 months ago (2011-07-22 16:12:52 UTC) #1
Nico
LGTM :-/
9 years, 5 months ago (2011-07-22 16:14:32 UTC) #2
Mark Mentovai
Why the angly face, thakis?
9 years, 5 months ago (2011-07-22 16:15:20 UTC) #3
Nico
'cause I broke renderers on lion On Fri, Jul 22, 2011 at 9:15 AM, <mark@chromium.org> ...
9 years, 5 months ago (2011-07-22 16:18:09 UTC) #4
Nico
I'M SOWWY On Fri, Jul 22, 2011 at 9:18 AM, Nico Weber <thakis@chromium.org> wrote: > ...
9 years, 5 months ago (2011-07-22 16:18:29 UTC) #5
Mark Mentovai
Not for everyone, only for those suffering through doing builds on Lion. Basically just Robert, ...
9 years, 5 months ago (2011-07-22 16:23:24 UTC) #6
Robert Sesek
Getting this: [5566:1031:76645417214358:FATAL:renderer_main.cc(63)] Check failed: (mach_error_t)0 == err (0 vs. -134217727) Backtrace: 0 Chromium Framework ...
9 years, 5 months ago (2011-07-22 16:26:41 UTC) #7
Robert Sesek
Also, is it safe to enable this for i386 binaries on OS<Lion?
9 years, 5 months ago (2011-07-22 16:27:03 UTC) #8
Mark Mentovai
I’ll fix this. Yes, this is safe to enable pre-10.7. Those pages were already marked ...
9 years, 5 months ago (2011-07-22 16:32:48 UTC) #9
Mark Mentovai
The CHECK failure Robert saw was because this was trying to mprotect an unmapped page ...
9 years, 5 months ago (2011-07-22 18:51:41 UTC) #10
Robert Sesek
9 years, 5 months ago (2011-07-22 19:06:28 UTC) #11
Works for me -> LGTM

Powered by Google App Engine
This is Rietveld 408576698