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

Issue 845180 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

DomDistillerJsTest.RunJsTests fails under msan

Project Member Reported by thakis@chromium.org, May 21 2018

Issue description

I'm enabling components_browsertests on the memory bots in https://chromium-review.googlesource.com/c/chromium/src/+/1067168 . DomDistillerJsTest.RunJsTests fails under msan, with a somewhat cryptic stack:

https://logs.chromium.org/v/?s=chromium%2Fbb%2Ftryserver.chromium.linux%2Flinux_chromium_msan_rel_ng%2F1054%2F%2B%2Frecipes%2Fsteps%2Fcomponents_browsertests__with_patch_%2F0%2Flogs%2FDomDistillerJsTest.RunJsTests%2F0



[ RUN      ] DomDistillerJsTest.RunJsTests
Xlib:  extension "RANDR" missing on display ":99".
DevTools listening on ws://127.0.0.1:33485/devtools/browser/ec83e03a-0c37-4cf0-b331-d824cfe94b68
BrowserTestBase received signal: Terminated. Backtrace:
    #0 0x000001939fd1 in __interceptor_backtrace /b/build/slave/linux_upload_clang/build/src/third_party/llvm/compiler-rt/lib/msan/../sanitizer_common/sanitizer_common_interceptors.inc:3980:13
    #1 0x00000a90039f in base::debug::StackTrace::StackTrace(unsigned long) ./../../base/debug/stack_trace_posix.cc:808:41
    #2 0x00000ac74c82 in content::(anonymous namespace)::DumpStackTraceSignalHandler(int) ./../../content/public/test/browser_test_base.cc:86:5
    #3 0x000001961979 in SignalHandler(int) /b/build/slave/linux_upload_clang/build/src/third_party/llvm/compiler-rt/lib/msan/msan_interceptors.cc:995:3
    #4 0x7fce85742cb0 in killpg ??:?
    #5 0x7fce85742cb0 in ?? ??:0
    #6 0x7fce857fcc9d in __poll /build/eglibc-ripdx6/eglibc-2.19/io/../sysdeps/unix/syscall-template.S:81:0
    #7 0x000001938c27 in __interceptor_poll /b/build/slave/linux_upload_clang/build/src/third_party/llvm/compiler-rt/lib/msan/../sanitizer_common/sanitizer_common_interceptors.inc:3802:13
    #8 0x7fce8bf196bc in g_main_context_poll /home/tim/chromium/src/out/Instrumented-msan-chained-origins-trusty/gen/third_party/instrumented_libraries/libglib2.0-0/glib2.0-2.40.2/glib/gmain.c:4028:11
    #9 0x7fce8bf196bc in g_main_context_iterate /home/tim/chromium/src/out/Instrumented-msan-chained-origins-trusty/gen/third_party/instrumented_libraries/libglib2.0-0/glib2.0-2.40.2/glib/gmain.c:3729:0
    #10 0x7fce8bf19bfe in g_main_context_iteration /home/tim/chromium/src/out/Instrumented-msan-chained-origins-trusty/gen/third_party/instrumented_libraries/libglib2.0-0/glib2.0-2.40.2/glib/gmain.c:3795:12
    #11 0x00000a688f34 in base::MessagePumpGlib::Run(base::MessagePump::Delegate*) ./../../base/message_loop/message_pump_glib.cc:305:30
    #12 0x00000a71f650 in base::RunLoop::Run() ./../../base/run_loop.cc:131:14
    #13 0x000001afd7d4 in dom_distiller::DomDistillerJsTest_RunJsTests_Test::RunTestOnMainThread() ./../../components/dom_distiller/content/browser/test/dom_distiller_js_browsertest.cc:140:12
    #14 0x00000ac73fa2 in content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() ./../../content/public/test/browser_test_base.cc:383:5
    #15 0x00000aab9c2e in Run ./../../base/callback.h:125:12
    #16 0x00000aab9c2e in content::ShellBrowserMainParts::PreMainMessageLoopRun() ./../../content/shell/browser/shell_browser_main_parts.cc:202:0
    #17 0x000004acacbb in content::BrowserMainLoop::PreMainMessageLoopRun() ./../../content/browser/browser_main_loop.cc:953:13
    #18 0x00000608f831 in Run ./../../base/callback.h:125:12
    #19 0x00000608f831 in content::StartupTaskRunner::RunAllTasksNow() ./../../content/browser/startup_task_runner.cc:44:0
    #20 0x000004ac3298 in content::BrowserMainLoop::CreateStartupTasks() ./../../content/browser/browser_main_loop.cc:866:25
    #21 0x000004ad7f8a in content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) ./../../content/browser/browser_main_runner_impl.cc:139:17
    #22 0x00000ac2fff1 in ShellBrowserMain(content::MainFunctionParams const&, std::__1::unique_ptr<content::BrowserMainRunner, std::__1::default_delete<content::BrowserMainRunner> > const&) ./../../content/shell/browser/shell_browser_main.cc:22:32
    #23 0x00000ac2f3de in content::ShellMainDelegate::RunProcess(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, content::MainFunctionParams const&) ./../../content/shell/app/shell_main_delegate.cc:345:16
    #24 0x00000a202bfb in content::RunNamedProcessTypeMain(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, content::MainFunctionParams const&, content::ContentMainDelegate*) ./../../content/app/content_main_runner_impl.cc:628:23
    #25 0x00000a2063d2 in content::ContentMainRunnerImpl::Run() ./../../content/app/content_main_runner_impl.cc:946:12
    #26 0x00001180ac3e in service_manager::Main(service_manager::MainParams const&) ./../../services/service_manager/embedder/main.cc:452:29
    #27 0x00000a1ddaa8 in content::ContentMain(content::ContentMainParams const&) ./../../content/app/content_main.cc:19:10
    #28 0x00000ac723d0 in content::BrowserTestBase::SetUp() ./../../content/public/test/browser_test_base.cc:321:3
    #29 0x00000aaaf428 in content::ContentBrowserTest::SetUp() ./../../content/public/test/content_browser_test.cc:100:20
    #30 0x000002092016 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0
    #31 0x000002094f0c in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2667:11
    #32 0x00000209699a in testing::TestCase::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2785:28
    #33 0x0000020cda95 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5047:43
    #34 0x0000020cc368 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0
    #35 0x00000a978111 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2329:46
    #36 0x00000a978111 in base::TestSuite::Run() ./../../base/test/test_suite.cc:275:0
    #37 0x00000ac28553 in content::ContentTestLauncherDelegate::RunTestSuite(int, char**) ./../../content/test/content_test_launcher.cc:108:48
    #38 0x00000aca408f in content::LaunchTests(content::TestLauncherDelegate*, unsigned long, int, char**) ./../../content/public/test/test_launcher.cc:625:31
    #39 0x00000ac283c8 in main ./../../content/test/content_test_launcher.cc:138:10
    #40 0x7fce8572df45 in __libc_start_main /build/eglibc-ripdx6/eglibc-2.19/csu/libc-start.c:287:0
    #41 0x0000018fd02a in _start ??:0:0
 
Cc: -wychen@chromium.org nyquist@chromium.org
Owner: wychen@chromium.org
Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".
Project Member

Comment 4 by bugdroid1@chromium.org, Aug 13

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3141871b4a173e2d74c5ff75f4cc2643c0595784

commit 3141871b4a173e2d74c5ff75f4cc2643c0595784
Author: Makoto Shimazu <shimazu@chromium.org>
Date: Mon Aug 13 01:28:49 2018

Disable DomDistillerJsTest.RunJsTests on Android CFI bot

This is continuously fails on Android CFI.

TBR=nyquist@chromium.org
NOTRY=true

Bug: 845180
Change-Id: I6829cc75cdd71eee0891838477a57c14c478e27b
Reviewed-on: https://chromium-review.googlesource.com/1171973
Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
Commit-Queue: Makoto Shimazu <shimazu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582488}
[modify] https://crrev.com/3141871b4a173e2d74c5ff75f4cc2643c0595784/components/dom_distiller/content/browser/test/dom_distiller_js_browsertest.cc

Sign in to add a comment