Issue metadata
Sign in to add a comment
|
blink_platform_perftests crashes
Reported by
milko.le...@imgtec.com,
May 5 2017
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 Steps to reproduce the problem: 1. build blink_platform_perftests 2. run blink_platform_perftests What is the expected behavior? blink_platform_perftests should execute What went wrong? blink_platform_perftests crashes with error message: [==========] Running 4 tests from 1 test case. [----------] Global test environment set-up. [----------] 4 tests from TaskQueueManagerPerfTest [ RUN ] TaskQueueManagerPerfTest.RunTenThousandDelayedTasks_OneQueue Received signal 11 SEGV_MAPERR 00000000001c #0 0x00000046e6c4 base::debug::(anonymous namespace)::StackDumpSignalHandler() #1 0x7fe707eec390 <unknown> #2 0x0000004313ee WTF::VectorBufferBase<>::allocateBuffer() #3 0x0000004311e1 WTF::Deque<>::expandCapacity() #4 0x000000430d27 blink::scheduler::internal::WorkQueue::Push() #5 0x000000433574 blink::scheduler::internal::TaskQueueImpl::WakeUpForDelayedWork() #6 0x000000430355 blink::scheduler::TimeDomain::UpdateWorkQueues() #7 0x00000042d265 blink::scheduler::TaskQueueManager::UpdateWorkQueues() #8 0x00000042c943 blink::scheduler::TaskQueueManager::DoWork() #9 0x000000437f3e base::debug::TaskAnnotator::RunTask() #10 0x00000043e23d base::MessageLoop::RunTask() #11 0x00000043e985 base::MessageLoop::DoWork() #12 0x00000043faba base::MessagePumpDefault::Run() #13 0x00000043df67 base::MessageLoop::RunHandler() #14 0x00000044953e base::RunLoop::Run() #15 0x000000418da3 blink::scheduler::TaskQueueManagerPerfTest::Benchmark() #16 0x0000004189e4 blink::scheduler::TaskQueueManagerPerfTest_RunTenThousandDelayedTasks_OneQueue_Test::TestBody() #17 0x00000047f9ae testing::Test::Run() #18 0x0000004803c0 testing::TestInfo::Run() #19 0x000000480817 testing::TestCase::Run() #20 0x0000004877f7 testing::internal::UnitTestImpl::RunAllTests() #21 0x00000048740a testing::UnitTest::Run() #22 0x00000047a1c1 base::TestSuite::Run() #23 0x000000419be4 main #24 0x7fe705a2d830 __libc_start_main #25 0x000000418569 <unknown> r8: 0000000000000000 r9: 00002cc302426c80 r10: 0000000000000000 r11: 0000000000000246 r12: 0000000000000000 r13: 0000000000000000 r14: 00002cc302450870 r15: 00002cc302450870 di: 00002cc302450870 si: 0000000000000000 bp: 00002cc302446e00 bx: 0000000000000500 dx: 0000000000000058 ax: 0000000000000000 cx: 0000000000000000 sp: 00007ffc4c7dfdb0 ip: 00000000004313ee efl: 0000000000010213 cgf: 0000000000000033 erf: 0000000000000004 trp: 000000000000000e msk: 0000000000000000 cr2: 000000000000001c [end of stack trace] Did this work before? Yes r443449 Chrome version: r443450 Channel: n/a OS Version: Ubuntu Flash Version: This issue was reported at: https://groups.google.com/a/chromium.org/forum/#!msg/chromium-dev/-eUK53jXvHo/KlZg5BtYBwAJ Issue started after change: https://codereview.chromium.org/2579773002 Some info from gdb: [==========] Running 4 tests from 1 test case. [----------] Global test environment set-up. [----------] 4 tests from TaskQueueManagerPerfTest [ RUN ] TaskQueueManagerPerfTest.RunTenThousandDelayedTasks_OneQueue Program received signal SIGSEGV, Segmentation fault. 0x00000000004313ee in WTF::VectorBufferBase<blink::scheduler::internal::TaskQueueImpl::Task, false, WTF::PartitionAllocator>::allocateBuffer(unsigned long) () (gdb) bt #0 0x00000000004313ee in WTF::VectorBufferBase<blink::scheduler::internal::TaskQueueImpl::Task, false, WTF::PartitionAllocator>::allocateBuffer(unsigned long) () #1 0x00000000004311e1 in WTF::Deque<blink::scheduler::internal::TaskQueueImpl::Task, 0ul, WTF::PartitionAllocator>::expandCapacity() () #2 0x0000000000430d27 in blink::scheduler::internal::WorkQueue::Push(blink::scheduler::internal::TaskQueueImpl::Task) () #3 0x0000000000433574 in blink::scheduler::internal::TaskQueueImpl::WakeUpForDelayedWork(blink::scheduler::LazyNow*) () #4 0x0000000000430355 in blink::scheduler::TimeDomain::UpdateWorkQueues(blink::scheduler::LazyNow) () #5 0x000000000042d265 in blink::scheduler::TaskQueueManager::UpdateWorkQueues(blink::scheduler::LazyNow) () #6 0x000000000042c943 in blink::scheduler::TaskQueueManager::DoWork(base::TimeTicks, bool) () #7 0x0000000000437f3e in base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) () #8 0x000000000043e23d in base::MessageLoop::RunTask(base::PendingTask*) () #9 0x000000000043e985 in base::MessageLoop::DoWork() () #10 0x000000000043faba in base::MessagePumpDefault::Run(base::MessagePump::Delegate*) () #11 0x000000000043df67 in base::MessageLoop::RunHandler() () #12 0x000000000044953e in base::RunLoop::Run() () #13 0x0000000000418da3 in blink::scheduler::TaskQueueManagerPerfTest::Benchmark(std::string const&, base::Callback<void (), (base::internal::CopyMode)1, (base::internal::RepeatMode)1> const&) () #14 0x00000000004189e4 in blink::scheduler::TaskQueueManagerPerfTest_RunTenThousandDelayedTasks_OneQueue_Test::TestBody() () #15 0x000000000047f9ae in testing::Test::Run() () #16 0x00000000004803c0 in testing::TestInfo::Run() () #17 0x0000000000480817 in testing::TestCase::Run() () #18 0x00000000004877f7 in testing::internal::UnitTestImpl::RunAllTests() () #19 0x000000000048740a in testing::UnitTest::Run() () #20 0x000000000047a1c1 in base::TestSuite::Run() () #21 0x0000000000419be4 in main () (gdb) info r rax 0x0 0 rbx 0x500 1280 rcx 0x0 0 rdx 0x58 88 rsi 0x0 0 rdi 0x354b4418d870 58597381298288 rbp 0x354b44183e00 0x354b44183e00 rsp 0x7fffffffcac0 0x7fffffffcac0 r8 0x0 0 r9 0x354b4415bc80 58597381094528 r10 0x0 0 r11 0x246 582 r12 0x0 0 r13 0x0 0 r14 0x354b4418d870 58597381298288 r15 0x354b4418d870 58597381298288 rip 0x4313ee 0x4313ee <WTF::VectorBufferBase<blink::scheduler::internal::TaskQueueImpl::Task, false, WTF::PartitionAllocator>::allocateBuffer(unsigned long)+174> eflags 0x10213 [ CF AF IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) disassemble $pc-16, $pc+16 Dump of assembler code from 0x4313de to 0x4313fe: 0x00000000004313de <_ZN3WTF16VectorBufferBaseIN5blink9scheduler8internal13TaskQueueImpl4TaskELb0ENS_18PartitionAllocatorEE14allocateBufferEm+158>: cmp $0x1,%rcx 0x00000000004313e2 <_ZN3WTF16VectorBufferBaseIN5blink9scheduler8internal13TaskQueueImpl4TaskELb0ENS_18PartitionAllocatorEE14allocateBufferEm+162>: sbb $0xffffffffffffffff,%rdx 0x00000000004313e6 <_ZN3WTF16VectorBufferBaseIN5blink9scheduler8internal13TaskQueueImpl4TaskELb0ENS_18PartitionAllocatorEE14allocateBufferEm+166>: mov 0x500(%rax,%rdx,8),%rax => 0x00000000004313ee <_ZN3WTF16VectorBufferBaseIN5blink9scheduler8internal13TaskQueueImpl4TaskELb0ENS_18PartitionAllocatorEE14allocateBufferEm+174>: cmpb $0x0,0x1c(%rax) 0x00000000004313f2 <_ZN3WTF16VectorBufferBaseIN5blink9scheduler8internal13TaskQueueImpl4TaskELb0ENS_18PartitionAllocatorEE14allocateBufferEm+178>: je 0x431441 <_ZN3WTF16VectorBufferBaseIN5blink9scheduler8internal13TaskQueueImpl4TaskELb0ENS_18PartitionAllocatorEE14allocateBufferEm+257> 0x00000000004313f4 <_ZN3WTF16VectorBufferBaseIN5blink9scheduler8internal13TaskQueueImpl4TaskELb0ENS_18PartitionAllocatorEE14allocateBufferEm+180>: mov 0x18(%rax),%ebx 0x00000000004313f7 <_ZN3WTF16VectorBufferBaseIN5blink9scheduler8internal13TaskQueueImpl4TaskELb0ENS_18PartitionAllocatorEE14allocateBufferEm+183>: lea 0xfd260(%rip),%rsi # 0x52e65e End of assembler dump.
,
May 16 2017
Looks like we're not initializing WTF correctly.
,
May 18 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/7193b8bf79618904d350e62f31d860f22e7f05be commit 7193b8bf79618904d350e62f31d860f22e7f05be Author: Sami Kyostila <skyostil@chromium.org> Date: Thu May 18 20:17:48 2017 scheduler: Fix blink perf test crash Fix perf test crash by making sure WTF is initialized. BUG= 718894 Change-Id: I4b653e63bb5e3b8c285484435686691eb754e694 Reviewed-on: https://chromium-review.googlesource.com/506727 Commit-Queue: Sami Kyöstilä <skyostil@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#472912} [modify] https://crrev.com/7193b8bf79618904d350e62f31d860f22e7f05be/third_party/WebKit/Source/platform/BUILD.gn [add] https://crrev.com/7193b8bf79618904d350e62f31d860f22e7f05be/third_party/WebKit/Source/platform/testing/BlinkPerfTestSuite.cpp [add] https://crrev.com/7193b8bf79618904d350e62f31d860f22e7f05be/third_party/WebKit/Source/platform/testing/BlinkPerfTestSuite.h [modify] https://crrev.com/7193b8bf79618904d350e62f31d860f22e7f05be/third_party/WebKit/Source/platform/testing/DEPS [add] https://crrev.com/7193b8bf79618904d350e62f31d860f22e7f05be/third_party/WebKit/Source/platform/testing/RunAllPerfTests.cpp
,
May 19 2017
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by alexclarke@chromium.org
, May 11 2017Components: Blink>Scheduling
Status: Untriaged (was: Unconfirmed)