LocalInputMonitorTest.Basic fails |
|||
Issue description
When running the test locally I see the following error:
$ ./out/a/remoting_unittests --gtest_filter="LocalI*"
IMPORTANT DEBUGGING NOTE: batches of tests are run inside their
own process. For debugging a test inside a debugger, use the
--gtest_filter=<your_test_name> flag along with
--single-process-tests.
Using sharding settings from environment. This is shard 0/1
Using 1 parallel jobs.
Note: Google Test filter = LocalInputMonitorTest.Basic
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from LocalInputMonitorTest
[ RUN ] LocalInputMonitorTest.Basic
Received signal 11 SEGV_MAPERR 000000000238
#0 0x7f00fff5baae base::debug::StackTrace::StackTrace()
#1 0x7f00fff5b5ef base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7f010039b330 <unknown>
#3 0x7f00fff705b8 scoped_refptr<>::scoped_refptr()
#4 0x7f00fff6f86c base::FileDescriptorWatcher::Controller::Controller()
#5 0x7f00fff6ff82 base::FileDescriptorWatcher::WatchReadable()
#6 0x0000012cbba6 remoting::(anonymous namespace)::LocalInputMonitorX11::Core::StartOnInputThread()
#7 0x0000012cbf2e _ZN4base8internal13FunctorTraitsIMN8remoting12_GLOBAL__N_120LocalInputMonitorX114CoreEFvvEvE6InvokeIRK13scoped_refptrIS5_EJEEEvS7_OT_DpOT0_
#8 0x0000012cbe31 _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIRKMN8remoting12_GLOBAL__N_120LocalInputMonitorX114CoreEFvvEJRK13scoped_refptrIS7_EEEEvOT_DpOT0_
#9 0x0000012cbdd2 _ZN4base8internal7InvokerINS0_9BindStateIMN8remoting12_GLOBAL__N_120LocalInputMonitorX114CoreEFvvEJ13scoped_refptrIS6_EEEEFvvEE7RunImplIRKS8_RKSt5tupleIJSA_EEJLm0EEEEvOT_OT0_NS_13IndexSequenceIJXspT1_EEEE
#10 0x0000012cbd1c _ZN4base8internal7InvokerINS0_9BindStateIMN8remoting12_GLOBAL__N_120LocalInputMonitorX114CoreEFvvEJ13scoped_refptrIS6_EEEEFvvEE3RunEPNS0_13BindStateBaseE
#11 0x7f00fff2c0ab base::internal::RunMixin<>::Run()
#12 0x7f00fff61391 base::debug::TaskAnnotator::RunTask()
#13 0x7f00ffff16a4 base::MessageLoop::RunTask()
#14 0x7f00ffff1934 base::MessageLoop::DeferOrRunPendingTask()
#15 0x7f00ffff1c1e base::MessageLoop::DoWork()
#16 0x7f010000c49e base::MessagePumpLibevent::Run()
#17 0x7f00ffff1216 base::MessageLoop::RunHandler()
#18 0x7f01000968f4 base::RunLoop::Run()
#19 0x0000007e1156 remoting::LocalInputMonitorTest_Basic_Test::TestBody()
#20 0x0000006a0b2a _ZN7testing8internal12InvokeHelperIvSt5tupleIJEEE12InvokeMethodIN8remoting8protocol39MessageReaderTest_ReadFromCallback_TestEMNS7_17MessageReaderTestEFvvEEEvPT_T0_RKS3_
#21 0x000000a843fe testing::internal::HandleExceptionsInMethodIfSupported<>()
#22 0x000000a78c65 testing::Test::Run()
#23 0x000000a79408 testing::TestInfo::Run()
#24 0x000000a799aa testing::TestCase::Run()
#25 0x000000a7ecec testing::internal::UnitTestImpl::RunAllTests()
#26 0x000000a9937a testing::internal::HandleSehExceptionsInMethodIfSupported<>()
#27 0x000000a85d0e testing::internal::HandleExceptionsInMethodIfSupported<>()
#28 0x000000a7e98f testing::UnitTest::Run()
#29 0x000001353021 RUN_ALL_TESTS()
#30 0x000001351f82 base::TestSuite::Run()
#31 0x0000004f2039 _ZN4base8internal13FunctorTraitsIMN18OAuth2TokenService7FetcherEFvvEvE6InvokeIPS3_JEEEvS5_OT_DpOT0_
#32 0x0000004f1f61 _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIRKMN18OAuth2TokenService7FetcherEFvvEJPS5_EEEvOT_DpOT0_
#33 0x000000597137 _ZN4base8internal7InvokerINS0_9BindStateIMNS_9TestSuiteEFivEJNS0_17UnretainedWrapperIS3_EEEEEFivEE7RunImplIRKS5_RKSt5tupleIJS7_EEJLm0EEEEiOT_OT0_NS_13IndexSequenceIJXspT1_EEEE
#34 0x00000059707c _ZN4base8internal7InvokerINS0_9BindStateIMNS_9TestSuiteEFivEJNS0_17UnretainedWrapperIS3_EEEEEFivEE3RunEPNS0_13BindStateBaseE
#35 0x00000051e38b base::internal::RunMixin<>::Run()
#36 0x000001354ac9 base::(anonymous namespace)::LaunchUnitTestsInternal()
#37 0x000001354934 base::LaunchUnitTests()
#38 0x000000596ee3 main
#39 0x7f00f9e53f45 __libc_start_main
#40 0x0000004a0975 <unknown>
r8: 0000000000000000 r9: 00000000012cd020 r10: 0000000000000000 r11: 00007f00f9fb8390
r12: 00000000004a094c r13: 00007ffff90f90b0 r14: 0000000000000000 r15: 0000000000000000
di: 0000000000000238 si: 0000392904f5d9c8 bp: 00007ffff90f6030 bx: 0000000000000000
dx: 0b719a0855e52e00 ax: 0000000000000238 cx: 0b719a0855e52e00 sp: 00007ffff90f6010
ip: 00007f00fff705b8 efl: 0000000000010202 cgf: 0000000000000033 erf: 0000000000000004
trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000238
[end of stack trace]
[1011/145050:ERROR:kill_posix.cc(84)] Unable to terminate process group 136049: No such process
[1/1] LocalInputMonitorTest.Basic (CRASHED)
1 test crashed:
LocalInputMonitorTest.Basic (../../remoting/host/local_input_monitor_unittest.cc:68)
Tests took 1 seconds.
This looks to be caused by https://codereview.chromium.org/2402593003. Not sure why it doesn't affect bots.
,
Oct 12 2016
Issue 655236 has been merged into this issue.
,
Oct 12 2016
,
Oct 12 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/36d99cbe255108f1b7358f122c1e8961112e7600 commit 36d99cbe255108f1b7358f122c1e8961112e7600 Author: sergeyu <sergeyu@chromium.org> Date: Wed Oct 12 20:06:00 2016 Add FileDescriptorWatcher in LocalInputMonitorTest The test was failing without FileDescriptorWatcher. BUG= 654895 Review-Url: https://codereview.chromium.org/2412733002 Cr-Commit-Position: refs/heads/master@{#424832} [modify] https://crrev.com/36d99cbe255108f1b7358f122c1e8961112e7600/remoting/host/local_input_monitor_unittest.cc |
|||
►
Sign in to add a comment |
|||
Comment 1 by sergeyu@chromium.org
, Oct 11 2016