New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in Isolate::FindPendingDeopt #34748

Closed
a-siva opened this Issue Oct 10, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@a-siva
Contributor

a-siva commented Oct 10, 2018

Here is the stack trace from the crashing run, which leads to the hang.

--- Command "vm" (took 02:00.000398s):
DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --hot-reload-test-mode --optimization-counter-threshold=5 --sync-async --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/tests/language_2/await_future_test.dart
exit code:
-15
diagnostics:
Process list including children: [26346]
Trying to capture stack trace for pid 26346
PID 26346 - process
TID 26346:
#0 0x00007fe072862404 pthread_cond_wait@@GLIBC_2.3.2
#1 0x0000561860ef9d88 dart::Monitor::WaitMicros(long)
#2 0x000056186110400a Dart_RunLoop
#3 0x0000561860bc1bac dart::bin::RunMainIsolate(char const*, dart::bin::CommandLineOptions*)
#4 0x0000561860bc26a1 dart::bin::main(int, char**)
#5 0x0000561860bc2f09 main
#6 0x00007fe071a86f45 __libc_start_main
#7 0x0000561860bc1029 _start
TID 26353:
#0 0x00007fe071b636d3 epoll_wait
#1 0x0000561860bca365 dart::bin::EventHandlerImplementation::Poll(unsigned long)
#2 0x0000561860be999e dart::bin::ThreadStart(void*)
#3 0x00007fe07285e184 start_thread
#4 0x00007fe071b6303d __clone
TID 26355:
#0 0x00007fe072862404 pthread_cond_wait@@GLIBC_2.3.2
#1 0x0000561860ef9d88 dart::Monitor::WaitMicros(long)
#2 0x0000561860e4d1c6 dart::MonitorLocker::WaitWithSafepointCheck(dart::Thread*, long)
#3 0x00005618610e0f9d dart::HeapIterationScope::HeapIterationScope(dart::Thread*, bool)
#4 0x0000561860eb8871 dart::Code::LookupCodeInVmIsolate(unsigned long)
#5 0x0000561860eff30a dart::ProfilerStackWalker::Append(unsigned long)
#6 0x0000561860efd101 dart::ProfilerNativeStackWalker::walk()
#7 0x0000561860efd084 dart::Profiler::DumpStackTrace(unsigned long, unsigned long, unsigned long, bool)
#8 0x0000561860efcef4 dart::Profiler::DumpStackTrace(void*)
#9 0x0000561860bcd555 dart::bin::segv_handler(int, siginfo*, void*)
#10 0x00007fe072866330 __restore_rt
#11 0x0000561860e26c90 dart::Isolate::FindPendingDeopt(unsigned long) const
#12 0x0000561860f85a0f dart::StackFrameIterator::FrameSetIterator::NextFrame(bool)
#13 0x0000561860f856f4 dart::StackFrameIterator::NextFrame()
#14 0x0000561860f99fa4 dart::Thread::VisitObjectPointers(dart::ObjectPointerVisitor*, dart::ValidationPolicy)
#15 0x0000561860f9c7c4 dart::ThreadRegistry::VisitObjectPointers(dart::ObjectPointerVisitor*, dart::ValidationPolicy)
#16 0x00005618610e3a54 dart::GCMarker::IterateRoots(dart::ObjectPointerVisitor*, long, long)
#17 0x00005618610e5249 dart::ConcurrentMarkTask::Run()
#18 0x0000561860f9c34d dart::ThreadPool::Worker::Loop()
#19 0x0000561860f9c1e4 dart::ThreadPool::Worker::Main(unsigned long)
#20 0x0000561860ef9659 dart::ThreadStart(void*)
#21 0x00007fe07285e184 start_thread
#22 0x00007fe071b6303d __clone
TID 26359:
#0 0x00007fe072864f1c __lll_lock_wait
#1 0x00007fe072860649 _L_lock_909
#2 0x00007fe072860470 pthread_mutex_lock
#3 0x0000561860ef9c01 dart::Monitor::Enter()
#4 0x0000561860e285d9 dart::Isolate::ScheduleThread(bool, bool)
#5 0x0000561860f9902c dart::Thread::EnterIsolate(dart::Isolate*)
#6 0x00005618611028d6 Dart_EnterIsolate
#7 0x000056186112c3b2 Dart_NewNativePort
#8 0x0000561860e404ea dart::KernelIsolate::CompileToKernel(char const*, unsigned char const*, long, int, Dart_SourceFile*, bool, char const*, char const*, char const*)
#9 0x0000561860e2cd0d dart::IsolateReloadContext::Reload(bool, char const*, char const*, unsigned char const*, long)
#10 0x0000561860e24416 dart::Isolate::ReloadSources(dart::JSONStream*, bool, char const*, char const*, bool)
#11 0x0000561860f57604 dart::DRT_StackOverflow(dart::NativeArguments)
#12 0x00007fe071740a82
TID 26360:
#0 0x00007fe072864f1c __lll_lock_wait
#1 0x00007fe072860649 _L_lock_909
#2 0x00007fe072860470 pthread_mutex_lock
#3 0x0000561860ef9c01 dart::Monitor::Enter()
#4 0x0000561860e285d9 dart::Isolate::ScheduleThread(bool, bool)
#5 0x0000561860f993fb dart::Thread::EnterIsolateAsHelper(dart::Isolate*, dart::Thread::TaskKind, bool)
#6 0x00005618610e51f3 dart::ConcurrentMarkTask::Run()
#7 0x0000561860f9c34d dart::ThreadPool::Worker::Loop()
#8 0x0000561860f9c1e4 dart::ThreadPool::Worker::Main(unsigned long)
#9 0x0000561860ef9659 dart::ThreadStart(void*)
#10 0x00007fe07285e184 start_thread
#11 0x00007fe071b6303d __clone
TID 26363:
#0 0x00007fe072862404 pthread_cond_wait@@GLIBC_2.3.2
#1 0x0000561860ef9d88 dart::Monitor::WaitMicros(long)
#2 0x00005618610cc23a dart::BackgroundCompiler::Run()
#3 0x0000561860f9c34d dart::ThreadPool::Worker::Loop()
#4 0x0000561860f9c1e4 dart::ThreadPool::Worker::Main(unsigned long)
#5 0x0000561860ef9659 dart::ThreadStart(void*)
#6 0x00007fe07285e184 start_thread
#7 0x00007fe071b6303d __clone
TID 26364:
#0 0x00007fe072862404 pthread_cond_wait@@GLIBC_2.3.2
#1 0x0000561860ef9d88 dart::Monitor::WaitMicros(long)
#2 0x00005618610cc23a dart::BackgroundCompiler::Run()
#3 0x0000561860f9c34d dart::ThreadPool::Worker::Loop()
#4 0x0000561860f9c1e4 dart::ThreadPool::Worker::Main(unsigned long)
#5 0x0000561860ef9659 dart::ThreadStart(void*)
#6 0x00007fe07285e184 start_thread
#7 0x00007fe071b6303d __clone
TID 26366:
#0 0x00007fe072862404 pthread_cond_wait@@GLIBC_2.3.2
#1 0x0000561860ef9d88 dart::Monitor::WaitMicros(long)
#2 0x00005618610e41da dart::GCMarker::StartConcurrentMark(dart::PageSpace*, bool)
#3 0x00005618610e9257 dart::PageSpace::CollectGarbageAtSafepoint(bool, bool, long, long)
#4 0x00005618610e8fa2 dart::PageSpace::CollectGarbage(bool, bool)
#5 0x00005618610e270f dart::Heap::CheckStartConcurrentMarking(dart::Thread*, dart::Heap::GCReason)
#6 0x00005618610e70e1 dart::PageSpace::TryAllocateInFreshPage(long, dart::HeapPage::PageType, dart::PageSpace::GrowthPolicy, bool)
#7 0x00005618610e06b0 dart::Heap::AllocateOld(long, dart::HeapPage::PageType)
#8 0x0000561860e57b06 dart::Object::Allocate(long, long, dart::Heap::Space)
#9 0x0000561860eb6127 dart::ICData::NewDescriptor(dart::Zone*, dart::Function const&, dart::String const&, dart::Array const&, long, long, dart::ICData::RebindRule, dart::AbstractType const&)
#10 0x0000561860e9589f dart::ICData::Clone(dart::ICData const&)
#11 0x0000561860e954ed dart::Function::RestoreICDataMap(dart::ZoneGrowableArray<dart::ICData const*>, bool) const
#12 0x00005618610c7e56 dart::CompileParsedFunctionHelper::Compile(dart::CompilationPipeline
)
#13 0x00005618610c8fa0 dart::CompileFunctionHelper(dart::CompilationPipeline*, dart::Function const&, bool, long)
#14 0x00005618610c9fd9 dart::Compiler::CompileOptimizedFunction(dart::Thread*, dart::Function const&, long)
#15 0x00005618610cc037 dart::BackgroundCompiler::Run()
#16 0x0000561860f9c34d dart::ThreadPool::Worker::Loop()
#17 0x0000561860f9c1e4 dart::ThreadPool::Worker::Main(unsigned long)
#18 0x0000561860ef9659 dart::ThreadStart(void*)
#19 0x00007fe07285e184 start_thread
#20 0x00007fe071b6303d __clone
eu-stack: dwfl_thread_getframes tid 26346 at 0x561860bc1028 in /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/dart: no matching address range
eu-stack: dwfl_thread_getframes tid 26359 at 0x7fe071740a81 in : No DWARF information found

@a-siva a-siva added the area-vm label Oct 10, 2018

@a-siva

This comment has been minimized.

Show comment
Hide comment
@a-siva
Contributor

a-siva commented Oct 10, 2018

@rmacnak-google rmacnak-google changed the title from Crash during dart::ConcurrentMarkTask::Run() leads to a hang resulting in test timing out to Crash in Isolate::FindPendingDeopt Oct 11, 2018

@mkustermann mkustermann self-assigned this Oct 19, 2018

@dart-bot dart-bot closed this in ab6eb93 Oct 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment