New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 825028 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

DomDistillerJsTest.RunJsTests fails on Android under ASan with allocation failure

Project Member Reported by r...@chromium.org, Mar 22 2018

Issue description

Current logs look like:
C  288.644s Main  [UNKNOWN] DomDistillerJsTest.RunJsTests:
C  288.644s Main  [ RUN      ] DomDistillerJsTest.RunJsTests
C  288.644s Main  [WARNING:dns_config_service_posix.cc(351)] Failed to read DnsConfig.
C  288.644s Main  [ERROR:devtools_http_handler.cc(292)] Cannot start http server for devtools. Stop devtools.
C  288.644s Main  [WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file assets/snapshot_blob_64.bin
C  288.644s Main  [WARNING:simple_synchronous_entry.cc(1255)] Could not open platform files for entry.
C  288.644s Main  ==9970==AddressSanitizer's allocator is terminating the process instead of returning 0
C  288.644s Main  ==9970==If you don't like this behavior set allocator_may_return_null=1
C  288.644s Main  ==9970==AddressSanitizer CHECK failed: /b/c/b/ToTAndroidASan/src/third_party/llvm/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc:226 "((0)) != (0)" (0x0, 0x0)

https://ci.chromium.org/buildbot/chromium.clang/ToTAndroidASan/592

This test is probably allocating too much memory in a loop or asking for a single over-large allocation like 0xffffffff bytes.
 

Comment 1 by r...@chromium.org, Mar 26 2018

Blocking: 823655

Comment 2 by r...@chromium.org, Mar 27 2018

Cc: h...@chromium.org thakis@chromium.org euge...@chromium.org inglorion@chromium.org
Evgeniy, who do you think should look into this? I don't have a device ready to reproduce this.

I also don't see any bots on the main waterfall that build in this configuration, so I can't tell if the clang roll (which landed) is breaking anything. Do we run test this configuration continuously?

I think we should go ahead and disable the test to green the bot for now.
Cc: alekseys@chromium.org
https://reviews.llvm.org/D44404 should help debugging issues like this.

Comment 4 by h...@chromium.org, Mar 27 2018

https://go/clankbot has the bots I was thinking about. There's one asan bot on there, but it doesn't run components_browsertests ¯\_(ツ)_/¯

Comment 5 by r...@chromium.org, Mar 27 2018

Blocking: -823655
If these tests aren't run on any main waterfall, I guess it's not a blocker. :)

Let's wait for D44404 to roll in. Then we should get a symbolized stack, and that will help us decide if this is an ASan or Chromium bug and what to do about it.

Comment 6 by h...@chromium.org, Mar 28 2018

I wanted to try running the test on swarming before and after the roll, but as far as I can tell components_browsertests on Android doesn't run on swarming :-/
What's the plan here? Add components_browsertests to go/clankbot, and then disable the one failing test?

Sign in to add a comment