New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 777648 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 761561
Owner:
Last visit > 30 days ago
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

[Presentation API] Layout tests crash in debug builds

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

Issue description

Some of our layout tests are crashy in debug builds, because of an unresolved Promise  A representative stack trace is below and the full results page is attached.  This could be related to  Bug 761561 .

presentation/presentation-start-error.html	crash log sample stderr		crash pass	pass
presentation/presentation-reconnect.html	crash log sample stderr		crash crash pass	pass
presentation/presentation-controller-connection-closed-by-receiver.html	crash log sample stderr		crash crash crash pass	pass
presentation/presentation-controller-terminate-connection.html	crash log sample stderr		crash pass	pass

[1/2] presentation/presentation-reconnect.html
  txt: <none>
  png: <none>
  wav: <none>
  exp: PASS
  got: PASS
 took: 0.558

 IN: /Users/mfoltz/chrome/src/third_party/WebKit/LayoutTests/presentation/presentation-controller-connection-closed-by-receiver.html'--pixel-test\n
ERR: [713:775:1023/160325.553817:125327863557737:FATAL:ScriptPromiseResolver.h(57)] Check failed: state_ == kDetached || !is_promise_called_ || !GetScriptState()->ContextIsValid() || !GetExecutionContext() || GetExecutionContext()->IsContextDestroyed(). \n
ERR: 0   libbase.dylib                       0x0000000101a252ee base::debug::StackTrace::StackTrace(unsigned long) + 174\n
ERR: 1   libbase.dylib                       0x0000000101a253ad base::debug::StackTrace::StackTrace(unsigned long) + 29\n
ERR: 2   libbase.dylib                       0x0000000101a2365c base::debug::StackTrace::StackTrace() + 28\n
ERR: 3   libbase.dylib                       0x0000000101abc88f logging::LogMessage::~LogMessage() + 479\n
ERR: 4   libbase.dylib                       0x0000000101aba1f5 logging::LogMessage::~LogMessage() + 21\n
ERR: 5   libblink_core.dylib                 0x000000011f9ca55e blink::ScriptPromiseResolver::~ScriptPromiseResolver() + 318\n
ERR: 6   libblink_core.dylib                 0x000000011f9ca1d5 blink::ScriptPromiseResolver::~ScriptPromiseResolver() + 21\n
ERR: 7   libblink_modules.dylib              0x0000000127a60064 blink::GarbageCollectedFinalized<blink::ScriptPromiseResolver>::FinalizeGarbageCollectedObject() + 36\n
ERR: 8   libblink_modules.dylib              0x0000000127a60035 blink::FinalizerTraitImpl<blink::ScriptPromiseResolver, true>::Finalize(void*) + 21\n
ERR: 9   libblink_modules.dylib              0x0000000127a60015 blink::FinalizerTrait<blink::ScriptPromiseResolver>::Finalize(void*) + 21\n
ERR: 10  libblink_platform.dylib             0x00000001251788c1 blink::HeapObjectHeader::Finalize(unsigned char*, unsigned long) + 97\n
ERR: 11  libblink_platform.dylib             0x00000001251812b1 blink::NormalPage::Sweep() + 817\n
ERR: 12  libblink_platform.dylib             0x000000012517a3a9 blink::BaseArena::SweepUnsweptPage() + 105\n
ERR: 13  libblink_platform.dylib             0x000000012517aa51 blink::BaseArena::CompleteSweep() + 577\n
ERR: 14  libblink_platform.dylib             0x0000000125192d8e blink::ThreadState::EagerSweep() + 430\n
ERR: 15  libblink_platform.dylib             0x0000000125192585 blink::ThreadState::PreSweep(blink::BlinkGC::GCType) + 533\n
ERR: 16  libblink_platform.dylib             0x000000012518cd4a blink::ThreadState::CollectGarbage(blink::BlinkGC::StackState, blink::BlinkGC::GCType, blink::BlinkGC::GCReason) + 1002\n
ERR: 17  libblink_core.dylib                 0x000000011fa0741c blink::V8GCController::GcEpilogue(v8::Isolate*, v8::GCType, v8::GCCallbackFlags) + 1916\n
ERR: 18  libv8.dylib                         0x000000011e837349 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) + 3753\n
ERR: 19  libv8.dylib                         0x000000011e8359e8 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) + 824\n
ERR: 20  libv8.dylib                         0x000000011e8441c5 v8::internal::Heap::FinalizeIncrementalMarkingIfComplete(v8::internal::GarbageCollectionReason) + 437\n
ERR: 21  libv8.dylib                         0x000000011e856521 v8::internal::IncrementalMarkingJob::Task::RunInternal() + 321\n
ERR: 22  libgin.dylib                        0x000000011e222e9d void base::internal::FunctorTraits<void (v8::Task::*)(), void>::Invoke<v8::Task*>(void (v8::Task::*)(), v8::Task*&&) + 125\n
ERR: 23  libgin.dylib                        0x000000011e222de4 void base::internal::InvokeHelper<false, void>::MakeItSo<void (v8::Task::* const&)(), v8::Task*>(void (v8::Task::* const&&&)(), v8::Task*&&) + 68\n
ERR: 24  libgin.dylib                        0x000000011e222d73 void base::internal::Invoker<base::internal::BindState<void (v8::Task::*)(), base::internal::OwnedWrapper<v8::Task> >, void ()>::RunImpl<void (v8::Task::* const&)(), std::__1::tuple<base::internal::OwnedWrapper<v8::Task> > const&, 0ul>(void (v8::Task::* const&&&)(), std::__1::tuple<base::internal::OwnedWrapper<v8::Task> > const&&&, std::__1::integer_sequence<unsigned long, 0ul>) + 99\n
ERR: 25  libgin.dylib                        0x000000011e222cac base::internal::Invoker<base::internal::BindState<void (v8::Task::*)(), base::internal::OwnedWrapper<v8::Task> >, void ()>::Run(base::internal::BindStateBase*) + 44\n
ERR: 26  libbase.dylib                       0x00000001019c2e4f base::OnceCallback<void ()>::Run() && + 95\n
ERR: 27  libbase.dylib                       0x0000000101a27924 base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) + 884\n
ERR: 28  libblink_platform.dylib             0x00000001252b52bf blink::scheduler::TaskQueueManager::ProcessTaskFromWorkQueue(blink::scheduler::internal::WorkQueue*, bool, blink::scheduler::LazyNow, base::TimeTicks*) + 2207\n
ERR: 29  libblink_platform.dylib             0x00000001252af28d blink::scheduler::TaskQueueManager::DoWork(bool) + 2173\n
ERR: 30  libblink_platform.dylib             0x00000001252bf6c7 void base::internal::FunctorTraits<void (blink::scheduler::TaskQueueManager::*)(bool), void>::Invoke<base::WeakPtr<blink::scheduler::TaskQueueManager> const&, bool const&>(void (blink::scheduler::TaskQueueManager::*)(bool), base::WeakPtr<blink::scheduler::TaskQueueManager> const&&&, bool const&&&) + 151\n
ERR: 31  libblink_platform.dylib             0x00000001252bf5f5 void base::internal::InvokeHelper<true, void>::MakeItSo<void (blink::scheduler::TaskQueueManager::* const&)(bool), base::WeakPtr<blink::scheduler::TaskQueueManager> const&, bool const&>(void (blink::scheduler::TaskQueueManager::* const&&&)(bool), base::WeakPtr<blink::scheduler::TaskQueueManager> const&&&, bool const&&&) + 117\n
ERR: 32  libblink_platform.dylib             0x00000001252bf56d void base::internal::Invoker<base::internal::BindState<void (blink::scheduler::TaskQueueManager::*)(bool), base::WeakPtr<blink::scheduler::TaskQueueManager>, bool>, void ()>::RunImpl<void (blink::scheduler::TaskQueueManager::* const&)(bool), std::__1::tuple<base::WeakPtr<blink::scheduler::TaskQueueManager>, bool> const&, 0ul, 1ul>(void (blink::scheduler::TaskQueueManager::* const&&&)(bool), std::__1::tuple<base::WeakPtr<blink::scheduler::TaskQueueManager>, bool> const&&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul>) + 125\n
ERR: 33  libblink_platform.dylib             0x00000001252bf47c base::internal::Invoker<base::internal::BindState<void (blink::scheduler::TaskQueueManager::*)(bool), base::WeakPtr<blink::scheduler::TaskQueueManager>, bool>, void ()>::Run(base::internal::BindStateBase*) + 44\n
ERR: 34  libbase.dylib                       0x00000001019c2e4f base::OnceCallback<void ()>::Run() && + 95\n
ERR: 35  libbase.dylib                       0x0000000101a27924 base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) + 884\n
ERR: 36  libbase.dylib                       0x0000000101b06326 base::internal::IncomingTaskQueue::RunTask(base::PendingTask*) + 246\n
ERR: 37  libbase.dylib                       0x0000000101b12845 base::MessageLoop::RunTask(base::PendingTask*) + 901\n
ERR: 38  libbase.dylib                       0x0000000101b12db7 base::MessageLoop::DeferOrRunPendingTask(base::PendingTask) + 103\n
ERR: 39  libbase.dylib                       0x0000000101b13104 base::MessageLoop::DoWork() + 580\n
ERR: 40  libbase.dylib                       0x0000000101b21582 base::MessagePumpCFRunLoopBase::RunWork() + 98\n
ERR: 41  libbase.dylib                       0x0000000101b2150c ___ZN4base24MessagePumpCFRunLoopBase13RunWorkSourceEPv_block_invoke + 28\n
ERR: 42  libbase.dylib                       0x0000000101ac1a8a base::mac::CallWithEHFrame(void () block_pointer) + 10\n
ERR: 43  libbase.dylib                       0x0000000101b203d5 base::MessagePumpCFRunLoopBase::RunWorkSource(void*) + 101\n
ERR: 44  CoreFoundation                      0x00007fffc17513e1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17\n
ERR: 45  CoreFoundation                      0x00007fffc173265c __CFRunLoopDoSources0 + 556\n
ERR: 46  CoreFoundation                      0x00007fffc1731b46 __CFRunLoopRun + 934\n
ERR: 47  CoreFoundation                      0x00007fffc1731544 CFRunLoopRunSpecific + 420\n
ERR: 48  Foundation                          0x00007fffc3162252 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277\n
ERR: 49  libbase.dylib                       0x0000000101b22039 base::MessagePumpNSRunLoop::DoRun(base::MessagePump::Delegate*) + 137\n
ERR: 50  libbase.dylib                       0x0000000101b1fa94 base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 116\n
ERR: 51  libbase.dylib                       0x0000000101b11fcb base::MessageLoop::Run() + 299\n
ERR: 52  libbase.dylib                       0x0000000101c0ba36 base::RunLoop::Run() + 262\n
ERR: 53  libcontent.dylib                    0x000000010af03d53 content::RendererMain(content::MainFunctionParams const&) + 3555\n
ERR: 54  libcontent.dylib                    0x000000010b64fd49 content::RunNamedProcessTypeMain(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, content::MainFunctionParams const&, content::ContentMainDelegate*) + 585\n
ERR: 55  libcontent.dylib                    0x000000010b651564 content::ContentMainRunnerImpl::Run() + 1268\n
ERR: 56  libcontent.dylib                    0x000000010b64df7d content::ContentServiceManagerMainDelegate::RunEmbedderProcess() + 61\n
ERR: 57  libembedder.dylib                   0x000000011cfe1377 service_manager::Main(service_manager::MainParams const&) + 1911\n
ERR: 58  libcontent.dylib                    0x000000010b64fab9 content::ContentMain(content::ContentMainParams const&) + 89\n
ERR: 59  Content Shell Framework             0x0000000103e6f213 ContentMain + 83\n
ERR: 60  Content Shell Helper                0x00000001019b3f82 main + 34\n
ERR: 61  libdyld.dylib                       0x00007fffd72fc235 start + 1\n
ERR: \n
OUT: Content-Type: text/plain\n
OUT: #CRASHED - renderer\n
OUT: #EOF\n
OUT: #EOF\n
ERR: #CRASHED - renderer\n



 

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

Components: Blink>PresentationAPI
Owner: imch...@chromium.org
Status: Available (was: Untriaged)
Status: Assigned (was: Available)
Mergedinto: 761561
Status: Duplicate (was: Assigned)

Sign in to add a comment