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

Issue 10830009: Redefine the ASan options for nacl_helper so that ASan does not handle SIGSEGV/SIGBUS (Closed)

Created:
8 years, 5 months ago by Alexander Potapenko
Modified:
8 years, 4 months ago
CC:
chromium-reviews, native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Redefine the ASan options for nacl_helper so that ASan does not handle SIGSEGV/SIGBUS This should allow the platform qualification test to pass and make it possible to launch NaCl programs from an instrumented browser without additional env settings. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=152314

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M chrome/nacl/nacl_helper_linux.cc View 1 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Alexander Potapenko
Mark, Brad, what do you think? This is better than https://chromiumcodereview.appspot.com/10095012/ since we do not ...
8 years, 5 months ago (2012-07-25 15:32:28 UTC) #1
Brad Chen (chromium)
http://codereview.chromium.org/10830009/diff/1/chrome/nacl/nacl_helper_linux.cc File chrome/nacl/nacl_helper_linux.cc (right): http://codereview.chromium.org/10830009/diff/1/chrome/nacl/nacl_helper_linux.cc#newcode201 chrome/nacl/nacl_helper_linux.cc:201: #if defined(ADDRESS_SANITIZER) I don't understand how this will change ...
8 years, 5 months ago (2012-07-26 20:04:58 UTC) #2
Alexander Potapenko
http://codereview.chromium.org/10830009/diff/1/chrome/nacl/nacl_helper_linux.cc File chrome/nacl/nacl_helper_linux.cc (right): http://codereview.chromium.org/10830009/diff/1/chrome/nacl/nacl_helper_linux.cc#newcode201 chrome/nacl/nacl_helper_linux.cc:201: #if defined(ADDRESS_SANITIZER) On 2012/07/26 20:04:58, Brad Chen (chromium) wrote: ...
8 years, 4 months ago (2012-07-27 08:42:54 UTC) #3
Mark Seaborn
LGTM http://codereview.chromium.org/10830009/diff/1/chrome/nacl/nacl_helper_linux.cc File chrome/nacl/nacl_helper_linux.cc (right): http://codereview.chromium.org/10830009/diff/1/chrome/nacl/nacl_helper_linux.cc#newcode204 chrome/nacl/nacl_helper_linux.cc:204: const char *kAsanDefaultOptionsNaCl = "handle_segv=0"; The Chromium style ...
8 years, 4 months ago (2012-07-27 17:12:02 UTC) #4
Mark Seaborn
http://codereview.chromium.org/10830009/diff/1/chrome/nacl/nacl_helper_linux.cc File chrome/nacl/nacl_helper_linux.cc (right): http://codereview.chromium.org/10830009/diff/1/chrome/nacl/nacl_helper_linux.cc#newcode201 chrome/nacl/nacl_helper_linux.cc:201: #if defined(ADDRESS_SANITIZER) On 2012/07/26 20:04:58, Brad Chen (chromium) wrote: ...
8 years, 4 months ago (2012-07-27 17:21:03 UTC) #5
Alexander Potapenko
> It has two other effects: > > 1) It will allow NaCl's fault handling ...
8 years, 4 months ago (2012-07-27 18:47:33 UTC) #6
Alexander Potapenko
http://codereview.chromium.org/10830009/diff/1/chrome/nacl/nacl_helper_linux.cc File chrome/nacl/nacl_helper_linux.cc (right): http://codereview.chromium.org/10830009/diff/1/chrome/nacl/nacl_helper_linux.cc#newcode204 chrome/nacl/nacl_helper_linux.cc:204: const char *kAsanDefaultOptionsNaCl = "handle_segv=0"; On 2012/07/27 17:12:02, Mark ...
8 years, 4 months ago (2012-07-27 18:51:23 UTC) #7
Alexander Potapenko
Brad, the today's Clang roll will bring the support for __asan_default_options(), so I'll be able ...
8 years, 4 months ago (2012-07-31 17:38:46 UTC) #8
Brad Chen
LGTM Yes please go ahead when asan support is ready.
8 years, 4 months ago (2012-07-31 19:42:49 UTC) #9
Alexander Potapenko
On 2012/07/31 19:42:49, Brad Chen wrote: > LGTM > > Yes please go ahead when ...
8 years, 4 months ago (2012-08-20 08:45:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/glider@chromium.org/10830009/4002
8 years, 4 months ago (2012-08-20 08:46:05 UTC) #11
commit-bot: I haz the power
Try job failure for 10830009-4002 (retry) on win_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 4 months ago (2012-08-20 11:20:33 UTC) #12
Alexander Potapenko
8 years, 4 months ago (2012-08-20 11:22:23 UTC) #13
On 2012/08/20 11:20:33, I haz the power (commit-bot) wrote:
> Try job failure for 10830009-4002 (retry) on win_rel for step
> "interactive_ui_tests".
> It's a second try, previously, step "interactive_ui_tests" failed.
>
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Committing the CL with --no_presubmit.
The win_rel failures are obviously unrelated.

Powered by Google App Engine
This is Rietveld 408576698