New issue
Advanced search Search tips

Issue 777771 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner:
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

ChromeTracingDelegateBrowserTestOnStartup.StartupTracingThrottle flaky

Project Member Reported by battre@chromium.org, Oct 24 2017

Issue description

ChromeTracingDelegateBrowserTestOnStartup.StartupTracingThrottle is very flaky on all platforms

From https://chromium-swarm.appspot.com/task?id=39630979df477e10&refresh=10&show_raw=1

[ RUN      ] ChromeTracingDelegateBrowserTestOnStartup.StartupTracingThrottle
[7595:7595:1023/102052.118784:WARNING:chrome_browser_main_chromeos.cc(643)] Running as stub user with profile dir: test-user
[7595:7595:1023/102052.127805:WARNING:install_attributes.cc(117)] Install attributes missing, first sign in
[7595:7595:1023/102052.294752:ERROR:input_method_manager_impl.cc(1031)] IMEEngine for "fgoepimhcoialccpbmpnnblemnepkkao" is not registered
[7595:7776:1023/102052.301401:WARNING:freezer_cgroup_process_manager.cc(62)] Cgroup freezer does not exist or is not writable. Unable to freeze renderer processes.
[7595:7595:1023/102052.439604:INFO:chrome_cryptauth_service.cc(230)] Refresh token not yet available; waiting before starting CryptAuth managers.
BrowserTestBase received signal: Segmentation fault. Backtrace:
#0 0x0000030decbc base::debug::StackTrace::StackTrace()
#1 0x0000035b5378 content::(anonymous namespace)::DumpStackTraceSignalHandler()
#2 0x7fa4043fdcb0 <unknown>
#3 0x000002529c5a tracing::Coordinator::StreamEventsForCurrentLabel()
#4 0x000002529424 tracing::Coordinator::OnRecorderDataChange()
#5 0x0000030df43f base::debug::TaskAnnotator::RunTask()
#6 0x00000312e8f5 base::internal::TaskTracker::RunOrSkipTask()
#7 0x00000312f27c base::internal::TaskTrackerPosix::RunOrSkipTask()
#8 0x00000312e257 base::internal::TaskTracker::RunNextTask()
#9 0x00000316eb1b base::internal::SchedulerWorker::Thread::ThreadMain()
#10 0x000003137efd base::(anonymous namespace)::ThreadFunc()
#11 0x7fa4077c5184 start_thread
#12 0x7fa4044c4ffd clone


From https://chromium-swarm.appspot.com/task?id=39660c914a263e10&refresh=10&show_raw=1

[ RUN      ] ChromeTracingDelegateBrowserTestOnStartup.StartupTracingThrottle

[6696:5136:1024/001947.308:WARNING:chrome_browser_main_win.cc(612)] Command line too long for RegisterApplicationRestart:  --brave-new-test-launcher --cfi-diag=0 --gtest_also_run_disabled_tests --gtest_filter=ChromeTracingDelegateBrowserTestOnStartup.StartupTracingThrottle --single_process --test-launcher-bot-mode --test-launcher-output="C:\Users\CHROME~2\AppData\Local\Temp\scoped_dir3220_28002\results3220_23514\test_results.xml" --test-launcher-summary-output="e:\b\swarm_slave\w\iol75d57\output.json" --user-data-dir="C:\Users\CHROME~2\AppData\Local\Temp\scoped_dir3220_28002\d3220_23481" --disable-offline-auto-reload --force-fieldtrials=BackgroundTracing/TestGroup --force-fieldtrial-params=BackgroundTracing.TestGroup:config/default_config_for_testing --no-first-run --no-default-browser-check --enable-logging=stderr --safebrowsing-disable-auto-update --disable-default-apps --wm-window-animations-disabled --disable-component-update --test-type=browser --force-color-profile=srgb --disable-zero-browsers-open-for-tests --ipc-connection-timeout=30 --allow-file-access-from-files --dom-automation --log-gpu-control-list-decisions --disable-backgrounding-occluded-windows --disable-gl-drawing-for-tests --override-use-software-gl-for-tests --force-color-profile=srgb --disable-features=NetworkPrediction --flag-switches-begin --flag-switches-end --restore-last-session about:blank

[6696:5136:1024/001947.475:INFO:chrome_cryptauth_service.cc(222)] Profile is not authenticated yet; waiting before starting CryptAuth managers.

Received fatal exception EXCEPTION_ACCESS_VIOLATION

Backtrace:
	tracing::Coordinator::OnRecorderDataChange [0x022BF281+145]
	base::internal::Invoker<base::internal::BindState<void (__thiscall extensions::WebrtcAudioPrivateGetAssociatedSinkFunction::*)(std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &),scoped_refptr<extensions::WebrtcAudioPrivateGetAss [0x03F641D3+19]
	tracing::Recorder::OnConnectionError [0x022C125A+42]
	base::debug::TaskAnnotator::RunTask [0x02C48A37+151]
	base::internal::TaskTracker::RunOrSkipTask [0x02C590FA+442]
	base::internal::TaskTracker::RunNextTask [0x02C58A9A+202]
	base::internal::SchedulerWorker::Thread::ThreadMain [0x02C78622+274]
	base::PlatformThread::GetCurrentThreadPriority [0x02BEF5B9+297]
	BaseThreadInitThunk [0x7582337A+18]
	RtlInitializeExceptionChain [0x77009882+99]
	RtlInitializeExceptionChain [0x77009855+54]


From https://chromium-swarm.appspot.com/task?id=396614d4d1011110&refresh=10&show_raw=1

[ RUN      ] ChromeTracingDelegateBrowserTestOnStartup.StartupTracingThrottle
[52380:4867:1024/003105.484074:WARNING:notification_platform_bridge_mac.mm(519)] AlertNotificationService: XPC connection invalidated.
[00:31:05.553] vtDecompressionDuctCreate signalled err=-8973 (err) (Could not select and open decoder instance) at /SourceCache/CoreMedia_frameworks/CoreMedia-1562.240/Sources/VideoToolbox/VTDecompressionSession.c line 1181
<<<< VTVideoEncoderSelection >>>> VTSelectAndCreateVideoEncoderInstanceInternal: no video encoder found for 'avc1'

[00:31:05.675] VTSelectAndCreateVideoEncoderInstanceInternal signalled err=-12908 (err) (Video encoder not available) at /SourceCache/CoreMedia_frameworks/CoreMedia-1562.240/Sources/VideoToolbox/VTVideoEncoderSelection.c line 1245
[00:31:05.675] VTCompressionSessionCreate signalled err=-12908 (err) (Could not select and open encoder instance) at /SourceCache/CoreMedia_frameworks/CoreMedia-1562.240/Sources/VideoToolbox/VTCompressionSession.c line 946
[52380:779:1024/003106.276247:WARNING:ipc_message_attachment_set.cc(49)] MessageAttachmentSet destroyed with unconsumed attachments: 0/1
[52380:779:1024/003106.309783:INFO:chrome_cryptauth_service.cc(222)] Profile is not authenticated yet; waiting before starting CryptAuth managers.
BrowserTestBase received signal: Segmentation fault: 11. Backtrace:
0   browser_tests                       0x000000010368375c base::debug::StackTrace::StackTrace(unsigned long) + 28
1   browser_tests                       0x0000000103c79fd8 content::(anonymous namespace)::DumpStackTraceSignalHandler(int) + 200
2   libsystem_platform.dylib            0x00007fff8a2d4f1a _sigtramp + 26
3   libvDSP.dylib                       0x00007fff8f61ffff libvDSP.dylib + 24575
4   browser_tests                       0x0000000102a5c914 tracing::Coordinator::OnRecorderDataChange(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 308
5   browser_tests                       0x0000000103683f5c base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) + 188
6   browser_tests                       0x00000001036f0a7c base::internal::TaskTracker::RunOrSkipTask(std::__1::unique_ptr<base::internal::Task, std::__1::default_delete<base::internal::Task> >, base::internal::Sequence*, bool) + 588
7   browser_tests                       0x00000001036f163c base::internal::TaskTrackerPosix::RunOrSkipTask(std::__1::unique_ptr<base::internal::Task, std::__1::default_delete<base::internal::Task> >, base::internal::Sequence*, bool) + 76
8   browser_tests                       0x00000001036f03d7 base::internal::TaskTracker::RunNextTask(scoped_refptr<base::internal::Sequence>, base::internal::CanScheduleSequenceObserver*) + 215
9   browser_tests                       0x00000001036eb1e0 base::internal::SchedulerWorker::Thread::ThreadMain() + 304
10  browser_tests                       0x00000001036fc3c7 base::(anonymous namespace)::ThreadFunc(void*) + 87
11  libsystem_pthread.dylib             0x00007fff8f61405a _pthread_body + 131
12  libsystem_pthread.dylib             0x00007fff8f613fd7 _pthread_body + 0
13  libsystem_pthread.dylib             0x00007fff8f6113ed thread_start + 13
 

Comment 1 by battre@chromium.org, Oct 24 2017

Cc: oysteine@chromium.org simonhatch@chromium.org
Components: Speed>Tracing Tests>Flaky
Owner: primiano@chromium.org
Status: Assigned (was: Untriaged)
Could you take a look? I did not disable the test, yet, because there seems to be an entire cascade of tests. (PRE_PRE_, PRE_, ...)
Cc: primiano@chromium.org
Owner: chiniforooshan@chromium.org
-> Ehsan. This seems related with the new tracing service.
Mergedinto: 774276
Status: Duplicate (was: Assigned)
I think this is probably a dup of crbug.com/774276. Looks like PRE_StartupTracingThrottle triggers a StopAndFlush but does not wait for it to finish. The crash happens when the coordinator is in the middle of recording traces on a background thread while the browser is shutting down.

Comment 4 Deleted

Comment 5 Deleted

Comment 6 Deleted

Comment 7 Deleted

Comment 8 Deleted

Sign in to add a comment