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

Issue 703465 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Mar 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: ----



Sign in to add a comment

webkit_tests crashing on mac bot

Project Member Reported by horo@chromium.org, Mar 21 2017

Issue description

webkit_tests failing on 9 builders

Builders failed on: 
- WebKit Mac10.11 (dbg): 
  https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.11%20%28dbg%29


https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.webkit%2FWebKit_Mac10.11__dbg_%2F7968%2F%2B%2Frecipes%2Fsteps%2Fwebkit_tests%2F0%2Fstdout


[5262:775:0320/184243.465410:262610080747:WARNING:vt_video_decode_accelerator_mac.cc(169)] Failed to create VTDecompressionSession: Error Domain=NSOSStatusErrorDomain Code=-8973 "codecOpenErr" (-8973)
[5262:775:0320/184243.466473:262611136009:WARNING:vt_video_decode_accelerator_mac.cc(191)] Failed to create hardware VideoToolbox session
[5262:775:0320/184243.493501:262638165041:ERROR:vt_video_encode_accelerator_mac.cc(520)]  VTCompressionSessionCreate failed: -12908
[5262:775:0320/184243.494269:262638930513:ERROR:vt_video_encode_accelerator_mac.cc(520)]  VTCompressionSessionCreate failed: -12908
[5260:1295:0320/184243.650854:262795518213:FATAL:at_exit.cc(58)] Check failed: false. Tried to RegisterCallback without an AtExitManager
0   libbase.dylib                       0x00000001144bf24e base::debug::StackTrace::StackTrace(unsigned long) + 174
1   libbase.dylib                       0x00000001144bf2ed base::debug::StackTrace::StackTrace(unsigned long) + 29
2   libbase.dylib                       0x00000001144bd74c base::debug::StackTrace::StackTrace() + 28
3   libbase.dylib                       0x00000001145582c0 logging::LogMessage::~LogMessage() + 80
4   libbase.dylib                       0x0000000114555dc5 logging::LogMessage::~LogMessage() + 21
5   libbase.dylib                       0x000000011445c5fc base::AtExitManager::RegisterTask(base::Callback<void (), (base::internal::CopyMode)1, (base::internal::RepeatMode)1>) + 156
6   libbase.dylib                       0x000000011445c522 base::AtExitManager::RegisterCallback(void (*)(void*), void*) + 226
7   libbase.dylib                       0x000000011455257d base::internal::CompleteLazyInstance(long*, long, void*, void (*)(void*)) + 61
8   libaccelerated_widget_mac.dylib     0x000000012e2a8cc5 base::LazyInstance<std::__1::map<unsigned int, ui::DisplayLinkMac*, std::__1::less<unsigned int>, std::__1::allocator<std::__1::pair<unsigned int const, ui::DisplayLinkMac*> > >, base::internal::DestructorAtExitLazyInstanceTraits<std::__1::map<unsigned int, ui::DisplayLinkMac*, std::__1::less<unsigned int>, std::__1::allocator<std::__1::pair<unsigned int const, ui::DisplayLinkMac*> > > > >::Pointer() + 133
9   libaccelerated_widget_mac.dylib     0x000000012e2a63b5 base::LazyInstance<std::__1::map<unsigned int, ui::DisplayLinkMac*, std::__1::less<unsigned int>, std::__1::allocator<std::__1::pair<unsigned int const, ui::DisplayLinkMac*> > >, base::internal::DestructorAtExitLazyInstanceTraits<std::__1::map<unsigned int, ui::DisplayLinkMac*, std::__1::less<unsigned int>, std::__1::allocator<std::__1::pair<unsigned int const, ui::DisplayLinkMac*> > > > >::Get() + 21
10  libaccelerated_widget_mac.dylib     0x000000012e2a7436 ui::DisplayLinkMac::~DisplayLinkMac() + 278
11  libaccelerated_widget_mac.dylib     0x000000012e2a7c95 ui::DisplayLinkMac::~DisplayLinkMac() + 21
12  libaccelerated_widget_mac.dylib     0x000000012e2a7cb9 ui::DisplayLinkMac::~DisplayLinkMac() + 25
13  libcontent.dylib                    0x000000010b5e211b base::RefCountedThreadSafe<ui::DisplayLinkMac, base::DefaultRefCountedThreadSafeTraits<ui::DisplayLinkMac> >::DeleteInternal(ui::DisplayLinkMac const*) + 43
14  libcontent.dylib                    0x000000010b5e20e5 base::DefaultRefCountedThreadSafeTraits<ui::DisplayLinkMac>::Destruct(ui::DisplayLinkMac const*) + 21
15  libcontent.dylib                    0x000000010b5e20bc base::RefCountedThreadSafe<ui::DisplayLinkMac, base::DefaultRefCountedThreadSafeTraits<ui::DisplayLinkMac> >::Release() const + 60
16  libcontent.dylib                    0x000000010b5e2079 scoped_refptr<ui::DisplayLinkMac>::Release(ui::DisplayLinkMac*) + 25
17  libcontent.dylib                    0x000000010b5e205a scoped_refptr<ui::DisplayLinkMac>::~scoped_refptr() + 42
18  libcontent.dylib                    0x000000010b5c7045 scoped_refptr<ui::DisplayLinkMac>::~scoped_refptr() + 21
19  libcontent.dylib                    0x000000010b5c7587 content::RenderWidgetHostViewMac::~RenderWidgetHostViewMac() + 1175
20  libcontent.dylib                    0x000000010b5c7725 content::RenderWidgetHostViewMac::~RenderWidgetHostViewMac() + 21
21  libcontent.dylib                    0x000000010b5c77a9 content::RenderWidgetHostViewMac::~RenderWidgetHostViewMac() + 25
22  libcontent.dylib                    0x000000010b5dfb5a -[RenderWidgetHostViewCocoa .cxx_destruct] + 970
23  libobjc.A.dylib                     0x00007fff8b7f4c42 object_cxxDestructFromClass(objc_object*, objc_class*) + 127
24  libobjc.A.dylib                     0x00007fff8b7eedab objc_destructInstance + 116
25  libobjc.A.dylib                     0x00007fff8b7eed0d object_dispose + 22
26  AppKit                              0x00007fff94d6419d -[NSResponder dealloc] + 139
27  AppKit                              0x00007fff94d626f1 -[NSView dealloc] + 182
28  libui_base.dylib                    0x00000001185c63b4 -[BaseView dealloc] + 84
29  libcontent.dylib                    0x000000010b5d1f82 -[RenderWidgetHostViewCocoa dealloc] + 274
30  libobjc.A.dylib                     0x00007fff8b7ef2f4 objc_object::sidetable_release(bool) + 242
31  libobjc.A.dylib                     0x00007fff8b7edac4 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 476
32  CoreFoundation                      0x00007fff8e427102 _CFAutoreleasePoolPop + 50
33  Foundation                          0x00007fff82316cb6 -[NSAutoreleasePool drain] + 153
34  libbase.dylib                       0x000000011457aaff base::mac::ScopedNSAutoreleasePool::~ScopedNSAutoreleasePool() + 31
35  libbase.dylib                       0x000000011457ab25 base::mac::ScopedNSAutoreleasePool::~ScopedNSAutoreleasePool() + 21
36  libembedder.dylib                   0x000000012e8c5bb2 service_manager::Main(service_manager::MainParams const&) + 1074
37  libcontent.dylib                    0x000000010cafcd29 content::ContentMain(content::ContentMainParams const&) + 89
38  Content Shell Framework             0x0000000106ca63f0 ContentMain + 80
39  Content Shell                       0x0000000106c9bf72 main + 34
40  libdyld.dylib                       0x00007fff8d0195ad start + 1
41  ???                                 0x0000000000000002 0x0 + 2
 
Project Member

Comment 1 by bugdroid1@chromium.org, Mar 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1c92dd551abe4a1581981b945076719dff7b4422

commit 1c92dd551abe4a1581981b945076719dff7b4422
Author: horo <horo@chromium.org>
Date: Tue Mar 21 02:11:12 2017

Revert of Move some basic early process init into Service Manager (patchset #5 id:220001 of https://codereview.chromium.org/2613653003/ )

Reason for revert:
Introduced crashes of webkit_tests on Mac.

BUG= 703465 

Original issue's description:
> Move some basic early process init into Service Manager
>
> Introduces the beginnings of an embedder API for the Service Manager,
> consisting of a single entry point (service_manager::Main) which in
> turn delegates to its embedder for arbitrary initialization and
> process execution logic.
>
> This is the first of several incremental steps to remove content from
> the generic process startup flow. Future patches will rework various
> main entry points to go through service_manager::Main directly, rather
> than going ContentMain -> service_manager::Main.
>
> This will also allow us to introduce new process types which run the
> Service Manager or arbitrary services directly without touching any
> part of content.
>
> BUG=654986
>
> Review-Url: https://codereview.chromium.org/2613653003
> Cr-Commit-Position: refs/heads/master@{#458252}
> Committed: https://chromium.googlesource.com/chromium/src/+/c6026704ff452d402924ce2d88b0168baf227b1e

TBR=jam@chromium.org,rockot@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=654986

Review-Url: https://codereview.chromium.org/2763883002
Cr-Commit-Position: refs/heads/master@{#458278}

[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/build/sanitizers/lsan_suppressions.cc
[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/DEPS
[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/app/BUILD.gn
[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/app/DEPS
[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/app/android/child_process_service_impl.cc
[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/app/android/content_main.cc
[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/app/content_main.cc
[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/app/content_main_runner.cc
[delete] https://crrev.com/b3a64fe5febbf538bb12d356728c3d5dba119ca7/content/app/content_service_manager_main_delegate.cc
[delete] https://crrev.com/b3a64fe5febbf538bb12d356728c3d5dba119ca7/content/app/content_service_manager_main_delegate.h
[add] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/app/mac/mac_init.h
[add] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/app/mac/mac_init.mm
[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/browser/BUILD.gn
[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/browser/child_process_launcher_helper_posix.cc
[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/browser/renderer_host/sandbox_ipc_linux.cc
[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/common/BUILD.gn
[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/common/sandbox_linux/bpf_gpu_policy_linux.cc
[rename] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/common/set_process_title.cc
[rename] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/common/set_process_title.h
[rename] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/common/set_process_title_linux.cc
[rename] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/common/set_process_title_linux.h
[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/public/app/content_main.h
[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/public/common/content_switches.cc
[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/public/common/content_switches.h
[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/content/zygote/zygote_linux.cc
[delete] https://crrev.com/b3a64fe5febbf538bb12d356728c3d5dba119ca7/services/service_manager/embedder/BUILD.gn
[delete] https://crrev.com/b3a64fe5febbf538bb12d356728c3d5dba119ca7/services/service_manager/embedder/DEPS
[delete] https://crrev.com/b3a64fe5febbf538bb12d356728c3d5dba119ca7/services/service_manager/embedder/README.md
[delete] https://crrev.com/b3a64fe5febbf538bb12d356728c3d5dba119ca7/services/service_manager/embedder/mac_init.h
[delete] https://crrev.com/b3a64fe5febbf538bb12d356728c3d5dba119ca7/services/service_manager/embedder/mac_init.mm
[delete] https://crrev.com/b3a64fe5febbf538bb12d356728c3d5dba119ca7/services/service_manager/embedder/main.cc
[delete] https://crrev.com/b3a64fe5febbf538bb12d356728c3d5dba119ca7/services/service_manager/embedder/main.h
[delete] https://crrev.com/b3a64fe5febbf538bb12d356728c3d5dba119ca7/services/service_manager/embedder/main_delegate.h
[delete] https://crrev.com/b3a64fe5febbf538bb12d356728c3d5dba119ca7/services/service_manager/embedder/service_manager_embedder_export.h
[delete] https://crrev.com/b3a64fe5febbf538bb12d356728c3d5dba119ca7/services/service_manager/embedder/shared_file_util.h
[delete] https://crrev.com/b3a64fe5febbf538bb12d356728c3d5dba119ca7/services/service_manager/embedder/switches.cc
[delete] https://crrev.com/b3a64fe5febbf538bb12d356728c3d5dba119ca7/services/service_manager/embedder/switches.h
[modify] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/services/service_manager/public/cpp/BUILD.gn
[rename] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/services/service_manager/public/cpp/lib/shared_file_util.cc
[add] https://crrev.com/1c92dd551abe4a1581981b945076719dff7b4422/services/service_manager/public/cpp/shared_file_util.h

Comment 2 by horo@chromium.org, Mar 21 2017

Cc: roc...@chromium.org
Status: Fixed (was: Available)

Sign in to add a comment