-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.gardening
Description
From this log:
/=====================================================================\
| vm/cc/Profiler_GetSourceReport broke (Pass -> Crash, expected Pass) |
\=====================================================================/
--- Command "run_vm_unittest" (took 35.000785s):
DART_CONFIGURATION=ReleaseTSANX64 out/ReleaseTSANX64/run_vm_tests --dfe=/b/s/w/ir/cache/builder/sdk/out/ReleaseTSANX64/gen/kernel-service.dart.snapshot --ignore-unrecognized-flags Profiler_GetSourceReport
exit code:
-6
stdout:
Running test: Profiler_GetSourceReport
Done: Profiler_GetSourceReport
stderr:
/usr/bin/addr2line: '/memfd:dart-codespace (deleted)': No such file
==15872==WARNING: Can't read from symbolizer at fd 9
/usr/bin/addr2line: '/memfd:dart-codespace (deleted)': No such file
==15872==WARNING: Can't read from symbolizer at fd 9
/usr/bin/addr2line: '/memfd:dart-codespace (deleted)': No such file
==15872==WARNING: Can't read from symbolizer at fd 9
/usr/bin/addr2line: '/memfd:dart-codespace (deleted)': No such file
==15872==WARNING: Can't read from symbolizer at fd 9
==15872==WARNING: Failed to use and restart external symbolizer!
/usr/bin/addr2line: '/memfd:dart-codespace (deleted)': No such file
==================
WARNING: ThreadSanitizer: data race (pid=15872)
Read of size 8 at 0x7f4547319fd8 by main thread:
#0 dart::Sample::head_sample() const ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:367 (run_vm_tests+0x3b949a3)
#1 dart::SampleBuffer::VisitSamples(dart::SampleVisitor*) ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:637 (run_vm_tests+0x3b949a3)
#2 dart::Dart_TestHelperProfiler_GetSourceReport(dart::Thread*) ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2340 (run_vm_tests+0x3b949a3)
#3 dart::Dart_TestProfiler_GetSourceReport() ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2305 (run_vm_tests+0x3b949a3)
#4 dart::TestCase::Run() ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:52 (run_vm_tests+0x3a477ec)
#5 dart::TestCaseBase::RunTest() ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:64 (run_vm_tests+0x3a479c1)
#6 dart::TestCaseBase::RunAll() ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:86 (run_vm_tests+0x3be8508)
#7 dart::Main(int, char const**) ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:394 (run_vm_tests+0x3a484d3)
#8 main ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:425 (run_vm_tests+0x3a47d3e)
Previous write of size 8 at 0x7f4547319fd8 by thread T4:
#0 memset ../recipe_cleanup/clangshYTOG/llvm_build_dir/tools/clang/stage2-bins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:784 (run_vm_tests+0x39e0e59)
#1 dart::Sample::Clear() ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:211 (run_vm_tests+0x40b7556)
#2 dart::Sample::Init(long, long, unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:191 (run_vm_tests+0x40b7556)
#3 dart::SetupSample(dart::Thread*, dart::SampleBuffer*, unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/profiler.cc:985 (run_vm_tests+0x40b7556)
#4 dart::Profiler::SampleThread(dart::Thread*, dart::InterruptedThreadState const&) ../../out/ReleaseTSANX64/../../runtime/vm/profiler.cc:1362 (run_vm_tests+0x40b7556)
#5 dart::ThreadInterrupterLinux::ThreadInterruptSignalHandler(int, siginfo_t*, void*) ../../out/ReleaseTSANX64/../../runtime/vm/thread_interrupter_linux.cc:47 (run_vm_tests+0x41a0c57)
#6 __tsan::CallUserSignalHandler(__tsan::ThreadState*, bool, bool, bool, int, __sanitizer::__sanitizer_siginfo*, void*) ../recipe_cleanup/clangshYTOG/llvm_build_dir/tools/clang/stage2-bins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1907 (run_vm_tests+0x39ddd2f)
#7 StackResource ../../out/ReleaseTSANX64/../../runtime/vm/allocation.h:25 (run_vm_tests+0x3fc7c66)
#8 ThreadStackResource ../../out/ReleaseTSANX64/../../runtime/vm/thread_stack_resource.h:21 (run_vm_tests+0x3fc7c66)
#9 TransitionSafepointState ../../out/ReleaseTSANX64/../../runtime/vm/heap/safepoint.h:162 (run_vm_tests+0x3fc7c66)
#10 TransitionGeneratedToVM ../../out/ReleaseTSANX64/../../runtime/vm/heap/safepoint.h:181 (run_vm_tests+0x3fc7c66)
#11 dart::NativeEntry::BootstrapNativeCallWrapper(_Dart_NativeArguments*, void (*)(_Dart_NativeArguments*)) ../../out/ReleaseTSANX64/../../runtime/vm/native_entry.cc:135 (run_vm_tests+0x3fc7c66)
#12 <null> <null> (memfd:dart-codespace (deleted)+0x22f3)
#13 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/dart_entry.cc:147 (run_vm_tests+0x3f20ab2)
#14 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&) ../../out/ReleaseTSANX64/../../runtime/vm/dart_entry.cc:37 (run_vm_tests+0x3f24b5f)
#15 dart::DartLibraryCalls::HandleMessage(dart::Object const&, dart::Instance const&) ../../out/ReleaseTSANX64/../../runtime/vm/dart_entry.cc:792 (run_vm_tests+0x3f24b5f)
#16 dart::IsolateMessageHandler::HandleMessage(std::__2::unique_ptr<dart::Message, std::__2::default_delete<dart::Message> >) ../../out/ReleaseTSANX64/../../runtime/vm/isolate.cc:1379 (run_vm_tests+0x3f7ac5a)
#17 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool) ../../out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:233 (run_vm_tests+0x3fc50a0)
#18 dart::MessageHandler::TaskCallback() ../../out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:443 (run_vm_tests+0x3fc5aa4)
#19 dart::MessageHandlerTask::Run() ../../out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:31 (run_vm_tests+0x3fc6493)
#20 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:158 (run_vm_tests+0x41a1e5c)
#21 dart::ThreadPool::Worker::Main(unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:323 (run_vm_tests+0x41a2845)
#22 dart::ThreadStart(void*) ../../out/ReleaseTSANX64/../../runtime/vm/os_thread_linux.cc:153 (run_vm_tests+0x40ae512)
Location is global '<null>' at 0x000000000000 (memfd:dart-profiler (deleted)+0x000000121fd8)
Thread T4 'DartWorker' (tid=15880, running) created by main thread at:
#0 pthread_create ../recipe_cleanup/clangshYTOG/llvm_build_dir/tools/clang/stage2-bins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:962 (run_vm_tests+0x39d759b)
#1 dart::OSThread::Start(char const*, void (*)(unsigned long), unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/os_thread_linux.cc:172 (run_vm_tests+0x40ae39c)
#2 dart::ThreadPool::Worker::StartThread() ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:296 (run_vm_tests+0x41a1519)
#3 dart::ThreadPool::RunImpl(std::__2::unique_ptr<dart::ThreadPool::Task, std::__2::default_delete<dart::ThreadPool::Task> >) ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:94 (run_vm_tests+0x41a1519)
#4 bool dart::ThreadPool::Run<dart::MessageHandlerTask, dart::MessageHandler*>(dart::MessageHandler*&&) ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.h:46 (run_vm_tests+0x3fc4bbd)
#5 dart::MessageHandler::Run(dart::ThreadPool*, dart::MessageHandler::MessageStatus (*)(unsigned long), void (*)(unsigned long), unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:121 (run_vm_tests+0x3fc4bbd)
#6 Dart_NewNativePort ../../out/ReleaseTSANX64/../../runtime/vm/native_api_impl.cc:90 (run_vm_tests+0x48e9a10)
#7 KernelCompilationRequest ../../out/ReleaseTSANX64/../../runtime/vm/kernel_isolate.cc:437 (run_vm_tests+0x3faf505)
#8 dart::KernelIsolate::CompileToKernel(char const*, unsigned char const*, long, int, Dart_SourceFile*, bool, char const*, char const*, char const*) ../../out/ReleaseTSANX64/../../runtime/vm/kernel_isolate.cc:1031 (run_vm_tests+0x3faf505)
#9 dart::TestCase::CompileTestScriptWithDFE(char const*, int, Dart_SourceFile*, unsigned char const**, long*, bool, bool, char const*, char const*) ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:328 (run_vm_tests+0x3be96a1)
#10 dart::TestCase::LoadTestScriptWithDFE(int, Dart_SourceFile*, void (*(*)(_Dart_Handle*, int, bool*))(_Dart_NativeArguments*), bool, bool, bool, char const*, char const*, char const*) ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:482 (run_vm_tests+0x3be9cf9)
#11 dart::TestCase::LoadTestScript(char const*, void (*(*)(_Dart_Handle*, int, bool*))(_Dart_NativeArguments*), char const*, bool, bool) ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:430 (run_vm_tests+0x3be9bbb)
#12 dart::LoadTestScript(char const*) ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:162 (run_vm_tests+0x3b970b9)
#13 dart::Dart_TestHelperProfiler_GetSourceReport(dart::Thread*) ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2332 (run_vm_tests+0x3b94904)
#14 dart::Dart_TestProfiler_GetSourceReport() ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2305 (run_vm_tests+0x3b94904)
#15 dart::TestCase::Run() ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:52 (run_vm_tests+0x3a477ec)
#16 dart::TestCaseBase::RunTest() ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:64 (run_vm_tests+0x3a479c1)
#17 dart::TestCaseBase::RunAll() ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:86 (run_vm_tests+0x3be8508)
#18 dart::Main(int, char const**) ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:394 (run_vm_tests+0x3a484d3)
#19 main ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:425 (run_vm_tests+0x3a47d3e)
SUMMARY: ThreadSanitizer: data race ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:367 in dart::Sample::head_sample() const
==================
==================
WARNING: ThreadSanitizer: data race (pid=15872)
Read of size 8 at 0x7f4547319f98 by main thread:
#0 dart::Sample::port() const ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:197 (run_vm_tests+0x3b949bc)
#1 dart::SampleBuffer::VisitSamples(dart::SampleVisitor*) ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:645 (run_vm_tests+0x3b949bc)
#2 dart::Dart_TestHelperProfiler_GetSourceReport(dart::Thread*) ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2340 (run_vm_tests+0x3b949bc)
#3 dart::Dart_TestProfiler_GetSourceReport() ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2305 (run_vm_tests+0x3b949bc)
#4 dart::TestCase::Run() ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:52 (run_vm_tests+0x3a477ec)
#5 dart::TestCaseBase::RunTest() ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:64 (run_vm_tests+0x3a479c1)
#6 dart::TestCaseBase::RunAll() ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:86 (run_vm_tests+0x3be8508)
#7 dart::Main(int, char const**) ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:394 (run_vm_tests+0x3a484d3)
#8 main ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:425 (run_vm_tests+0x3a47d3e)
Previous write of size 8 at 0x7f4547319f98 by thread T4:
#0 memset ../recipe_cleanup/clangshYTOG/llvm_build_dir/tools/clang/stage2-bins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:784 (run_vm_tests+0x39e0e59)
#1 dart::Sample::Clear() ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:204 (run_vm_tests+0x40b7523)
#2 dart::Sample::Init(long, long, unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:191 (run_vm_tests+0x40b7523)
#3 dart::SetupSample(dart::Thread*, dart::SampleBuffer*, unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/profiler.cc:985 (run_vm_tests+0x40b7523)
#4 dart::Profiler::SampleThread(dart::Thread*, dart::InterruptedThreadState const&) ../../out/ReleaseTSANX64/../../runtime/vm/profiler.cc:1362 (run_vm_tests+0x40b7523)
#5 dart::ThreadInterrupterLinux::ThreadInterruptSignalHandler(int, siginfo_t*, void*) ../../out/ReleaseTSANX64/../../runtime/vm/thread_interrupter_linux.cc:47 (run_vm_tests+0x41a0c57)
#6 __tsan::CallUserSignalHandler(__tsan::ThreadState*, bool, bool, bool, int, __sanitizer::__sanitizer_siginfo*, void*) ../recipe_cleanup/clangshYTOG/llvm_build_dir/tools/clang/stage2-bins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1907 (run_vm_tests+0x39ddd2f)
#7 StackResource ../../out/ReleaseTSANX64/../../runtime/vm/allocation.h:25 (run_vm_tests+0x3fc7c66)
#8 ThreadStackResource ../../out/ReleaseTSANX64/../../runtime/vm/thread_stack_resource.h:21 (run_vm_tests+0x3fc7c66)
#9 TransitionSafepointState ../../out/ReleaseTSANX64/../../runtime/vm/heap/safepoint.h:162 (run_vm_tests+0x3fc7c66)
#10 TransitionGeneratedToVM ../../out/ReleaseTSANX64/../../runtime/vm/heap/safepoint.h:181 (run_vm_tests+0x3fc7c66)
#11 dart::NativeEntry::BootstrapNativeCallWrapper(_Dart_NativeArguments*, void (*)(_Dart_NativeArguments*)) ../../out/ReleaseTSANX64/../../runtime/vm/native_entry.cc:135 (run_vm_tests+0x3fc7c66)
#12 <null> <null> (memfd:dart-codespace (deleted)+0x22f3)
#13 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/dart_entry.cc:147 (run_vm_tests+0x3f20ab2)
#14 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&) ../../out/ReleaseTSANX64/../../runtime/vm/dart_entry.cc:37 (run_vm_tests+0x3f24b5f)
#15 dart::DartLibraryCalls::HandleMessage(dart::Object const&, dart::Instance const&) ../../out/ReleaseTSANX64/../../runtime/vm/dart_entry.cc:792 (run_vm_tests+0x3f24b5f)
#16 dart::IsolateMessageHandler::HandleMessage(std::__2::unique_ptr<dart::Message, std::__2::default_delete<dart::Message> >) ../../out/ReleaseTSANX64/../../runtime/vm/isolate.cc:1379 (run_vm_tests+0x3f7ac5a)
#17 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool) ../../out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:233 (run_vm_tests+0x3fc50a0)
#18 dart::MessageHandler::TaskCallback() ../../out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:443 (run_vm_tests+0x3fc5aa4)
#19 dart::MessageHandlerTask::Run() ../../out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:31 (run_vm_tests+0x3fc6493)
#20 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:158 (run_vm_tests+0x41a1e5c)
#21 dart::ThreadPool::Worker::Main(unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:323 (run_vm_tests+0x41a2845)
#22 dart::ThreadStart(void*) ../../out/ReleaseTSANX64/../../runtime/vm/os_thread_linux.cc:153 (run_vm_tests+0x40ae512)
Location is global '<null>' at 0x000000000000 (memfd:dart-profiler (deleted)+0x000000121f98)
Thread T4 'DartWorker' (tid=15880, running) created by main thread at:
#0 pthread_create ../recipe_cleanup/clangshYTOG/llvm_build_dir/tools/clang/stage2-bins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:962 (run_vm_tests+0x39d759b)
#1 dart::OSThread::Start(char const*, void (*)(unsigned long), unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/os_thread_linux.cc:172 (run_vm_tests+0x40ae39c)
#2 dart::ThreadPool::Worker::StartThread() ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:296 (run_vm_tests+0x41a1519)
#3 dart::ThreadPool::RunImpl(std::__2::unique_ptr<dart::ThreadPool::Task, std::__2::default_delete<dart::ThreadPool::Task> >) ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:94 (run_vm_tests+0x41a1519)
#4 bool dart::ThreadPool::Run<dart::MessageHandlerTask, dart::MessageHandler*>(dart::MessageHandler*&&) ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.h:46 (run_vm_tests+0x3fc4bbd)
#5 dart::MessageHandler::Run(dart::ThreadPool*, dart::MessageHandler::MessageStatus (*)(unsigned long), void (*)(unsigned long), unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:121 (run_vm_tests+0x3fc4bbd)
#6 Dart_NewNativePort ../../out/ReleaseTSANX64/../../runtime/vm/native_api_impl.cc:90 (run_vm_tests+0x48e9a10)
#7 KernelCompilationRequest ../../out/ReleaseTSANX64/../../runtime/vm/kernel_isolate.cc:437 (run_vm_tests+0x3faf505)
#8 dart::KernelIsolate::CompileToKernel(char const*, unsigned char const*, long, int, Dart_SourceFile*, bool, char const*, char const*, char const*) ../../out/ReleaseTSANX64/../../runtime/vm/kernel_isolate.cc:1031 (run_vm_tests+0x3faf505)
#9 dart::TestCase::CompileTestScriptWithDFE(char const*, int, Dart_SourceFile*, unsigned char const**, long*, bool, bool, char const*, char const*) ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:328 (run_vm_tests+0x3be96a1)
#10 dart::TestCase::LoadTestScriptWithDFE(int, Dart_SourceFile*, void (*(*)(_Dart_Handle*, int, bool*))(_Dart_NativeArguments*), bool, bool, bool, char const*, char const*, char const*) ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:482 (run_vm_tests+0x3be9cf9)
#11 dart::TestCase::LoadTestScript(char const*, void (*(*)(_Dart_Handle*, int, bool*))(_Dart_NativeArguments*), char const*, bool, bool) ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:430 (run_vm_tests+0x3be9bbb)
#12 dart::LoadTestScript(char const*) ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:162 (run_vm_tests+0x3b970b9)
#13 dart::Dart_TestHelperProfiler_GetSourceReport(dart::Thread*) ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2332 (run_vm_tests+0x3b94904)
#14 dart::Dart_TestProfiler_GetSourceReport() ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2305 (run_vm_tests+0x3b94904)
#15 dart::TestCase::Run() ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:52 (run_vm_tests+0x3a477ec)
#16 dart::TestCaseBase::RunTest() ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:64 (run_vm_tests+0x3a479c1)
#17 dart::TestCaseBase::RunAll() ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:86 (run_vm_tests+0x3be8508)
#18 dart::Main(int, char const**) ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:394 (run_vm_tests+0x3a484d3)
#19 main ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:425 (run_vm_tests+0x3a47d3e)
SUMMARY: ThreadSanitizer: data race ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:197 in dart::Sample::port() const
==================
Source positions for function 'file:///test-lib_::_doWork' {
7f4547c80350-7f4547c80389: Function 'doWork': static.@-12
7f4547c8038a-7f4547c80392: Function 'doWork': static.@-7
7f4547c80393-7f4547c803a5: Function 'doWork': static.@11
7f4547c803a6-7f4547c803bd: Function 'doWork': static.@19
7f4547c803be-7f4547c803c0: Function 'doWork': static.@19
7f4547c803c1-7f4547c803c3: Function 'doWork': static.@-1
7f4547c803c4-7f4547c803ef: Function 'doWork': static.@19
7f4547c803f0-7f4547c803f8: Function 'doWork': static.@17
7f4547c803f9-7f4547c80413: Function 'doWork': static.@0
7f4547c80414-7f4547c80415: Function 'doWork': static.@0
}
Source positions for function 'file:///test-lib_::_main' {
7f4547c80190-7f4547c801d1: Function 'main': static.@-12
7f4547c801d2-7f4547c801da: Function 'main': static.@-7
7f4547c801db-7f4547c801ed: Function 'main': static.@32
7f4547c801ee-7f4547c801f6: Function 'main': static.@47
7f4547c801f7-7f4547c80205: Function 'main': static.@65
7f4547c80206-7f4547c8020b: Function 'main': static.@63
7f4547c8020c-7f4547c80214: Function 'main': static.@-7
7f4547c80215-7f4547c80238: Function 'main': static.@54
7f4547c80239-7f4547c8023b: Function 'main': static.@-1
7f4547c8023c-7f4547c80252: Function 'main': static.@72
7f4547c80253-7f4547c8026f: Function 'main': static.@72
7f4547c80270-7f4547c80276: Function 'main': static.@-5
7f4547c80277-7f4547c80299: Function 'main': static.@98
7f4547c8029a-7f4547c802ad: Function 'main': static.@95
7f4547c802ae-7f4547c802af: Function 'main': static.@95
7f4547c802b0-7f4547c802b3: Function 'main': static.@91
7f4547c802b4-7f4547c802b6: Function 'main': static.@-1
7f4547c802b7-7f4547c802ca: Function 'main': static.@80
7f4547c802cb-7f4547c802cc: Function 'main': static.@80
7f4547c802cd-7f4547c802d0: Function 'main': static.@79
7f4547c802d1-7f4547c802e7: Function 'main': static.@-7
7f4547c802e8-7f4547c802f3: Function 'main': static.@115
7f4547c802f4-7f4547c8030e: Function 'main': static.@24
7f4547c8030f-7f4547c8032f: Function 'main': static.@54
7f4547c80330-7f4547c80334: Function 'main': static.@54
}
ThreadSanitizer: reported 2 warnings
--- Re-run this test:
python tools/test.py -n dartk-tsan-linux-release-x64 vm/cc/Profiler_GetSourceReport
Metadata
Metadata
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.gardening