Skip to content

Instantly share code, notes, and snippets.

@deepak1556
Created April 2, 2017 17:25
Show Gist options
  • Save deepak1556/94a7bc0f551ab8919ee7bb4dac70cdea to your computer and use it in GitHub Desktop.
Save deepak1556/94a7bc0f551ab8919ee7bb4dac70cdea to your computer and use it in GitHub Desktop.
Crash when destroying webcontents after navigation has committed
0 libbase.dylib 0x00000001136f9d3e base::debug::StackTrace::StackTrace(unsigned long) + 174
1 libbase.dylib 0x00000001136f9ddd base::debug::StackTrace::StackTrace(unsigned long) + 29
2 libbase.dylib 0x00000001136f823c base::debug::StackTrace::StackTrace() + 28
3 content_browsertests 0x000000010bb6cfbf content::(anonymous namespace)::DumpStackTraceSignalHandler(int) + 1471
4 libsystem_platform.dylib 0x00007fff8da82bba _sigtramp + 26
5 ??? 0x00007fff55b3b528 0x0 + 140734631228712
6 libcontent.dylib 0x000000011eb70fef content::FrameTreeNode::IsMainFrame() const + 31
7 libcontent.dylib 0x000000011ebccc6c content::NavigationHandleImpl::IsInMainFrame() + 28
8 libcontent.dylib 0x000000011ebcbe9f content::NavigationHandleImpl::~NavigationHandleImpl() + 351
9 libcontent.dylib 0x000000011ebccbc5 content::NavigationHandleImpl::~NavigationHandleImpl() + 21
10 libcontent.dylib 0x000000011ebccbe9 content::NavigationHandleImpl::~NavigationHandleImpl() + 25
11 libcontent.dylib 0x000000011ebec299 content::NavigatorImpl::DidNavigate(content::RenderFrameHostImpl*, FrameHostMsg_DidCommitProvisionalLoad_Params const&, std::__1::unique_ptr<content::NavigationHandleImpl, std::__1::default_delete<content::NavigationHandleImpl> >) + 2233
12 libcontent.dylib 0x000000011ec03995 content::RenderFrameHostImpl::OnDidCommitProvisionalLoad(IPC::Message const&) + 4901
13 libcontent.dylib 0x000000011ebfd148 content::RenderFrameHostImpl::OnMessageReceived(IPC::Message const&) + 3800
14 libcontent.dylib 0x000000011f410cba content::RenderProcessHostImpl::OnMessageReceived(IPC::Message const&) + 2058
15 libipc.dylib 0x0000000110214a98 IPC::ChannelProxy::Context::OnDispatchMessage(IPC::Message const&) + 152
16 libipc.dylib 0x000000011021b9f7 void base::internal::FunctorTraits<void (IPC::ChannelProxy::Context::*)(IPC::Message const&), void>::Invoke<scoped_refptr<IPC::ChannelProxy::Context> const&, IPC::Message const&>(void (IPC::ChannelProxy::Context::*)(IPC::Message const&), scoped_refptr<IPC::ChannelProxy::Context> const&&&, IPC::Message const&&&) + 151
17 libipc.dylib 0x000000011021b89f void base::internal::InvokeHelper<false, void>::MakeItSo<void (IPC::ChannelProxy::Context::* const&)(IPC::Message const&), scoped_refptr<IPC::ChannelProxy::Context> const&, IPC::Message const&>(void (IPC::ChannelProxy::Context::* const&&&)(IPC::Message const&), scoped_refptr<IPC::ChannelProxy::Context> const&&&, IPC::Message const&&&) + 95
18 libipc.dylib 0x000000011021b839 void base::internal::Invoker<base::internal::BindState<void (IPC::ChannelProxy::Context::*)(IPC::Message const&), scoped_refptr<IPC::ChannelProxy::Context>, IPC::Message>, void ()>::RunImpl<void (IPC::ChannelProxy::Context::* const&)(IPC::Message const&), std::__1::tuple<scoped_refptr<IPC::ChannelProxy::Context>, IPC::Message> const&, 0ul, 1ul>(void (IPC::ChannelProxy::Context::* const&&&)(IPC::Message const&), std::__1::tuple<scoped_refptr<IPC::ChannelProxy::Context>, IPC::Message> const&&&, base::IndexSequence<0ul, 1ul>) + 105
19 libipc.dylib 0x000000011021b75c base::internal::Invoker<base::internal::BindState<void (IPC::ChannelProxy::Context::*)(IPC::Message const&), scoped_refptr<IPC::ChannelProxy::Context>, IPC::Message>, void ()>::Run(base::internal::BindStateBase*) + 44
20 libbase.dylib 0x00000001136fc97f base::Callback<void (), (base::internal::CopyMode)0, (base::internal::RepeatMode)0>::Run() + 95
21 libbase.dylib 0x00000001136fc6c0 base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) + 1024
22 libbase.dylib 0x00000001137ea0ce base::MessageLoop::RunTask(base::PendingTask*) + 894
23 libbase.dylib 0x00000001137ea624 base::MessageLoop::DeferOrRunPendingTask(base::PendingTask) + 68
24 libbase.dylib 0x00000001137eb06d base::MessageLoop::DoWork() + 669
25 libbase.dylib 0x00000001137fd0b8 base::MessagePumpCFRunLoopBase::RunWork() + 104
26 libbase.dylib 0x00000001137fd03c ___ZN4base24MessagePumpCFRunLoopBase13RunWorkSourceEPv_block_invoke + 28
27 libbase.dylib 0x000000011379701a base::mac::CallWithEHFrame(void () block_pointer) + 10
28 libbase.dylib 0x00000001137fc645 base::MessagePumpCFRunLoopBase::RunWorkSource(void*) + 101
29 CoreFoundation 0x00007fff78347981 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
30 CoreFoundation 0x00007fff78328a7d __CFRunLoopDoSources0 + 557
31 CoreFoundation 0x00007fff78327f76 __CFRunLoopRun + 934
32 CoreFoundation 0x00007fff78327974 CFRunLoopRunSpecific + 420
33 HIToolbox 0x00007fff778b3a5c RunCurrentEventLoopInMode + 240
34 HIToolbox 0x00007fff778b3891 ReceiveNextEventCommon + 432
35 HIToolbox 0x00007fff778b36c6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
36 AppKit 0x00007fff75e595b4 _DPSNextEvent + 1120
37 AppKit 0x00007fff765d3d6b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2789
38 AppKit 0x00007fff75e4df35 -[NSApplication run] + 926
39 libbase.dylib 0x00000001137fde12 base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) + 306
40 libbase.dylib 0x00000001137fcdfa base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 122
41 libbase.dylib 0x00000001137e9b52 base::MessageLoop::RunHandler() + 610
42 libbase.dylib 0x00000001138d0c7b base::RunLoop::Run() + 267
43 content_browsertests 0x000000010bc2b4d4 content::RunThisRunLoop(base::RunLoop*) + 52
44 content_browsertests 0x000000010bc2caab content::MessageLoopRunner::Run() + 251
45 content_browsertests 0x000000010bc2d399 content::WindowedNotificationObserver::Wait() + 169
46 content_browsertests 0x000000010bb70340 content::WaitForLoadStopWithoutSuccessCheck(content::WebContents*) + 160
47 content_browsertests 0x000000010bb70395 content::WaitForLoadStop(content::WebContents*) + 21
48 content_browsertests 0x000000010bb34961 content::NavigateToURLBlockUntilNavigationsComplete(content::Shell*, GURL const&, int) + 65
49 content_browsertests 0x000000010bb34c32 content::NavigateToURL(content::Shell*, GURL const&) + 34
50 content_browsertests 0x000000010a45afee content::NavigationControllerBrowserTest_ShutdownOnNavigation_Test::RunTestOnMainThread() + 1262
51 content_browsertests 0x000000010bb33f6d content::ContentBrowserTest::RunTestOnMainThreadLoop() + 573
52 content_browsertests 0x000000010bb6c788 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() + 408
53 content_browsertests 0x000000010bb6eb05 void base::internal::FunctorTraits<void (content::BrowserTestBase::*)(), void>::Invoke<content::BrowserTestBase*>(void (content::BrowserTestBase::*)(), content::BrowserTestBase*&&) + 133
54 content_browsertests 0x000000010bb6ea24 void base::internal::InvokeHelper<false, void>::MakeItSo<void (content::BrowserTestBase::* const&)(), content::BrowserTestBase*>(void (content::BrowserTestBase::* const&&&)(), content::BrowserTestBase*&&) + 68
55 content_browsertests 0x000000010bb6e9bb void base::internal::Invoker<base::internal::BindState<void (content::BrowserTestBase::*)(), base::internal::UnretainedWrapper<content::BrowserTestBase> >, void ()>::RunImpl<void (content::BrowserTestBase::* const&)(), std::__1::tuple<base::internal::UnretainedWrapper<content::BrowserTestBase> > const&, 0ul>(void (content::BrowserTestBase::* const&&&)(), std::__1::tuple<base::internal::UnretainedWrapper<content::BrowserTestBase> > const&&&, base::IndexSequence<0ul>) + 91
56 content_browsertests 0x000000010bb6e8fc base::internal::Invoker<base::internal::BindState<void (content::BrowserTestBase::*)(), base::internal::UnretainedWrapper<content::BrowserTestBase> >, void ()>::Run(base::internal::BindStateBase*) + 44
57 content_browsertests 0x000000010a2317ad base::Callback<void (), (base::internal::CopyMode)1, (base::internal::RepeatMode)1>::Run() const + 61
58 content_browsertests 0x000000010be38815 content::ShellBrowserMainParts::PreMainMessageLoopRun() + 1573
59 libcontent.dylib 0x000000011e670fa1 content::BrowserMainLoop::PreMainMessageLoopRun() + 337
60 libcontent.dylib 0x000000011e67dab5 int base::internal::FunctorTraits<int (content::BrowserMainLoop::*)(), void>::Invoke<content::BrowserMainLoop*>(int (content::BrowserMainLoop::*)(), content::BrowserMainLoop*&&) + 133
61 libcontent.dylib 0x000000011e67d9d4 int base::internal::InvokeHelper<false, int>::MakeItSo<int (content::BrowserMainLoop::* const&)(), content::BrowserMainLoop*>(int (content::BrowserMainLoop::* const&&&)(), content::BrowserMainLoop*&&) + 68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment