New issue
Advanced search Search tips

Issue 792234 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

Chrome tries to access com.apple.CoreServices.coreservicesd on startup

Project Member Reported by kerrnel@chromium.org, Dec 5 2017

Issue description

Chrome tries to access com.apple.CoreServices.coreservicesd on startup. The V2 sandbox blocks this access, but the attempt is still superfluous because the system should not be attempting to contact CoreServices when it draws a font for the first time.

SandboxViolation: Chromium Helper(23639) deny mach-lookup com.apple.CoreServices.coreservicesd
Violation:       deny mach-lookup com.apple.CoreServices.coreservicesd 
Process:         Chromium Helper [23639]
Path:            /Users/kerrnel/chromium/src/out/Chromium/Chromium.app/Contents/Versions/65.0.3285.0/Chromium Helper.app/Contents/MacOS/Chromium Helper
Load Address:    0x100a23000
Identifier:      org.chromium.Chromium.helper
Version:         3285.0 (65.0.3285.0)
Code Type:       x86_64 (Native)
Parent Process:  Chromium [23632]
User ID:         317580

Date/Time:       2017-12-05 14:31:58.357 PST
OS Version:      Mac OS X 10.12.6 (16G1036)
Report Version:  8

Thread 0 (id: 8248949, CrRendererMain):
0   libsystem_kernel.dylib        	0x00007fffdeaee34a mach_msg_trap + 10
1   libxpc.dylib                  	0x00007fffdec154cf xpc_pipe_routine + 232
2   libxpc.dylib                  	0x00007fffdec15359 _xpc_interface_routine + 164
3   libxpc.dylib                  	0x00007fffdec14f0c bootstrap_look_up3 + 193
4   libxpc.dylib                  	0x00007fffdec14e39 bootstrap_look_up2 + 45
5   CarbonCore                    	0x00007fffc9cae6c8 SCClientSession::checkinWithServer(unsigned int*) + 104
6   CarbonCore                    	0x00007fffc9cae511 connectToCoreServicesD() + 67
7   CarbonCore                    	0x00007fffc9cae49d getStatus() + 24
8   CarbonCore                    	0x00007fffc9cae41b scCreateSystemServiceVersion + 49
9   CarbonCore                    	0x00007fffc9caf886 FileIDTreeGetCachedPort + 219
10  CarbonCore                    	0x00007fffc9caf6d6 FSNodeStorageGetAndLockCurrentUniverse + 63
11  CarbonCore                    	0x00007fffc9caf57b FileIDTreeGetAndLockVolumeEntryForDeviceID + 39
12  CarbonCore                    	0x00007fffc9cb5e5c FSMount::FSMount(unsigned int, FSMountNumberType, short*, unsigned int const*) + 74
13  CarbonCore                    	0x00007fffc9cb4738 PathGetObjectInfo(char const*, unsigned int, unsigned int, short*, unsigned int*, unsigned int*, char*, unsigned int*, unsigned char*, unsigned int*) + 248
14  CarbonCore                    	0x00007fffc9cb458b FSPathMakeRefInternal(unsigned char const*, unsigned int, unsigned int, FSRef*, unsigned char*) + 111
15  libFontParser.dylib           	0x00007fffc77f0e26 TFont::CreateFontEntities(char const*, bool, TSimpleArray<TFont*>&, bool&, short, char const*, bool) + 72
16  libFontParser.dylib           	0x00007fffc77a36a8 TFont::CreateFontEntitiesForFile(char const*, bool, TSimpleArray<TFont*>&, bool, short, char const*) + 178
17  libFontParser.dylib           	0x00007fffc77a2fdf FPFontCreateFontsWithPath + 208
18  CoreGraphics                  	0x00007fffc952abc2 create_private_data_with_path + 40
19  CoreGraphics                  	0x00007fffc9280406 CGFontCreateFontsWithPath + 40
20  CoreGraphics                  	0x00007fffc929a7ba CGFontCreateFontsWithURL + 377
21  CoreText                      	0x00007fffca472950 CreateFontsWithURL(__CFURL const*, bool) + 205
22  CoreText                      	0x00007fffca3925d3 CreateFontWithFontURL(__CFURL const*, bool) + 53
23  CoreText                      	0x00007fffca39250e TCGFontCache::CopyFont(__CFURL const*, bool) const + 102
24  CoreText                      	0x00007fffca3921e1 TBaseFont::CopyNativeFont() const + 155
25  CoreText                      	0x00007fffca392120 TBaseFont::CopyGraphicsFont() const + 18
26  CoreText                      	0x00007fffca3a5957 CTFontCopyGraphicsFont + 116
27  Chromium Framework            	0x000000010c93b1b8 blink::FontPlatformData::FontPlatformData(NSFont*, float, bool, bool, blink::FontOrientation, blink::FontVariationSettings*) + 136 (FontPlatformDataMac.mm:43)
28  Chromium Framework            	0x000000010c93a345 blink::FontCache::CreateFontPlatformData(blink::FontDescription const&, blink::FontFaceCreationParams const&, float, blink::AlternateFontName) + 629 (FontCacheMac.mm:293)
29  Chromium Framework            	0x000000010c92482f blink::FontCache::GetFontPlatformData(blink::FontDescription const&, blink::FontFaceCreationParams const&, blink::AlternateFontName) + 431 (memory:2542)
30  Chromium Framework            	0x000000010c925168 blink::FontCache::GetFontData(blink::FontDescription const&, WTF::AtomicString const&, blink::AlternateFontName, blink::ShouldRetain) + 104 (FontCache.cpp:219)
31  Chromium Framework            	0x000000010c92ec81 blink::FontFallbackList::GetFontData(blink::FontDescription const&, int&) const + 225 (scoped_refptr.h:203)
32  Chromium Framework            	0x000000010c92eb2e blink::FontFallbackList::FontDataAt(blink::FontDescription const&, unsigned int) const + 62 (scoped_refptr.h:258)
33  Chromium Framework            	0x000000010c92e941 blink::FontFallbackList::DeterminePrimarySimpleFontData(blink::FontDescription const&) const + 33 (FontFallbackList.cpp:103)
34  Chromium Framework            	0x000000010d442b39 blink::ComputedStyle::ComputedLineHeight() const + 233 (FontFallbackList.h:75)
35  Chromium Framework            	0x000000010d1a2623 blink::LayoutBlock::LineHeight(bool, blink::LineDirectionMode, blink::LinePositionMode) const + 323 (LayoutBlock.cpp:1620)
36  Chromium Framework            	0x000000010d263a8d blink::LayoutTextControlSingleLine::CreateInnerEditorStyle(blink::ComputedStyle const&) const + 269 (LayoutUnit.h:104)
37  Chromium Framework            	0x000000010d06e849 blink::TextControlInnerEditorElement::CustomStyleForLayoutObject() + 89 (scoped_refptr.h:207)
38  Chromium Framework            	0x000000010ccf1079 blink::Element::StyleForLayoutObject() + 265 (scoped_refptr.h:258)
39  Chromium Framework            	0x000000010cd0d322 blink::LayoutTreeBuilderForElement::Style() const + 130 (scoped_refptr.h:203)
40  Chromium Framework            	0x000000010cd0d271 blink::LayoutTreeBuilderForElement::ShouldCreateLayoutObject() const + 113 (LayoutTreeBuilder.cpp:98)
41  Chromium Framework            	0x000000010ccf0708 blink::Element::AttachLayoutTree(blink::Node::AttachContext&) + 120 (LayoutTreeBuilder.h:90)
42  Chromium Framework            	0x000000010ccae18c blink::ContainerNode::AttachLayoutTree(blink::Node::AttachContext&) + 60 (Member.h:81)
43  Chromium Framework            	0x000000010cd00c18 blink::ElementShadow::Attach(blink::Node::AttachContext const&) + 136 (ElementShadow.cpp:113)
44  Chromium Framework            	0x000000010ccf0915 blink::Element::AttachLayoutTree(blink::Node::AttachContext&) + 645 (Element.cpp:0)
45  Chromium Framework            	0x000000010d02d533 blink::HTMLFormControlElement::AttachLayoutTree(blink::Node::AttachContext&) + 19 (Node.h:901)
46  Chromium Framework            	0x000000010d03a0d4 blink::HTMLInputElement::AttachLayoutTree(blink::Node::AttachContext&) + 52 (HTMLInputElement.cpp:0)
47  Chromium Framework            	0x000000010ccae18c blink::ContainerNode::AttachLayoutTree(blink::Node::AttachContext&) + 60 (Member.h:81)
48  Chromium Framework            	0x000000010ccf0921 blink::Element::AttachLayoutTree(blink::Node::AttachContext&) + 657 (Node.h:901)
49  Chromium Framework            	0x000000010ccae18c blink::ContainerNode::AttachLayoutTree(blink::Node::AttachContext&) + 60 (Member.h:81)
50  Chromium Framework            	0x000000010ccf0921 blink::Element::AttachLayoutTree(blink::Node::AttachContext&) + 657 (Node.h:901)
51  Chromium Framework            	0x000000010ccae18c blink::ContainerNode::AttachLayoutTree(blink::Node::AttachContext&) + 60 (Member.h:81)
52  Chromium Framework            	0x000000010ccf0921 blink::Element::AttachLayoutTree(blink::Node::AttachContext&) + 657 (Node.h:901)
53  Chromium Framework            	0x000000010ccae18c blink::ContainerNode::AttachLayoutTree(blink::Node::AttachContext&) + 60 (Member.h:81)
54  Chromium Framework            	0x000000010ccf0921 blink::Element::AttachLayoutTree(blink::Node::AttachContext&) + 657 (Node.h:901)
55  Chromium Framework            	0x000000010ccae18c blink::ContainerNode::AttachLayoutTree(blink::Node::AttachContext&) + 60 (Member.h:81)
56  Chromium Framework            	0x000000010ccf0921 blink::Element::AttachLayoutTree(blink::Node::AttachContext&) + 657 (Node.h:901)
57  Chromium Framework            	0x000000010ccf24a9 blink::Element::RebuildLayoutTree(blink::WhitespaceAttacher&) + 489 (Element.cpp:2230)
58  Chromium Framework            	0x000000010ccc4a5a blink::Document::UpdateStyle() + 682 (Document.cpp:2257)
59  Chromium Framework            	0x000000010ccc1c98 blink::Document::UpdateStyleAndLayoutTree() + 488 (Document.cpp:7110)
60  Chromium Framework            	0x000000010ccc59ef blink::Document::UpdateStyleAndLayoutTreeIgnorePendingStylesheets() + 447 (auto_reset.h:30)
61  Chromium Framework            	0x000000010ccc541d blink::Document::UpdateStyleAndLayoutIgnorePendingStylesheetsForNode(blink::Node*) + 29 (Document.cpp:2470)
62  Chromium Framework            	0x000000010ccec55a blink::Element::scrollHeight() + 42 (Member.h:84)
63  Chromium Framework            	0x000000010c75d9d7 blink::V8Element::scrollHeightAttributeGetterCallback(v8::FunctionCallbackInfo<v8::Value> const&) + 71 (v8.h:9563)
64  Chromium Framework            	0x0000000108fc43b1 v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) + 417 (heap-inl.h:47)
65  Chromium Framework            	0x000000010904912b v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) + 731 (isolate-inl.h:76)
66  Chromium Framework            	0x0000000109048ae7 v8::internal::Builtins::InvokeApiFunction(v8::internal::Isolate*, bool, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*, v8::internal::Handle<v8::internal::HeapObject>) + 727 (builtins-api.cc:0)
67  Chromium Framework            	0x000000010942f054 v8::internal::Object::GetPropertyWithAccessor(v8::internal::LookupIterator*) + 516 (objects.cc:1643)
68  Chromium Framework            	0x00000001093a0cf5 v8::internal::LoadIC::Load(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Name>) + 533 (ic.cc:456)
69  Chromium Framework            	0x00000001093a76cf v8::internal::Runtime_LoadIC_Miss(int, v8::internal::Object**, v8::internal::Isolate*) + 415 (heap-inl.h:47)
70                                	0x00003e42e4a0437d
71                                	0x00003e42e4a86c42
72                                	0x00003e42e4a12f39
73                                	0x00003e42e4a12f39
74                                	0x00003e42e4a0bc03
75                                	0x00003e42e4a12f39
76                                	0x00003e42e4a12f39
77                                	0x00003e42e4a12f39
78                                	0x00003e42e4a12f39
79                                	0x00003e42e4a12f39
80                                	0x00003e42e4a0bc03
81                                	0x00003e42e4a107f8
82                                	0x00003e42e4a04cdf
83  Chromium Framework            	0x00000001092e104c v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, bool, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*, v8::internal::Handle<v8::internal::Object>, v8::internal::Execution::MessageHandling) + 620 (execution.cc:142)
84  Chromium Framework            	0x00000001092e0d62 v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) + 146 (execution.cc:188)
85  Chromium Framework            	0x0000000108fe021f v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) + 607 (api.cc:5368)
86  Chromium Framework            	0x000000010c67bf1c blink::V8ScriptRunner::CallFunction(v8::Local<v8::Function>, blink::ExecutionContext*, v8::Local<v8::Value>, int, v8::Local<v8::Value>*, v8::Isolate*) + 940 (V8ScriptRunner.cpp:653)
87  Chromium Framework            	0x000000010c670a63 blink::V8EventListener::CallListenerFunction(blink::ScriptState*, v8::Local<v8::Value>, blink::Event*) + 259 (V8EventListener.cpp:115)
88  Chromium Framework            	0x000000010c66bb8c blink::V8AbstractEventListener::InvokeEventHandler(blink::ScriptState*, blink::Event*, v8::Local<v8::Value>) + 364 (V8AbstractEventListener.cpp:153)
89  Chromium Framework            	0x000000010c66b9ef blink::V8AbstractEventListener::HandleEvent(blink::ScriptState*, blink::Event*) + 191 (v8.h:226)
90  Chromium Framework            	0x000000010c66b90a blink::V8AbstractEventListener::handleEvent(blink::ExecutionContext*, blink::Event*) + 250 (V8AbstractEventListener.cpp:0)
91  Chromium Framework            	0x000000010cd7b506 blink::EventTarget::FireEventListeners(blink::Event*, blink::EventTargetData*, blink::HeapVector<blink::RegisteredEventListener, 1ul>&) + 2150 (EventTarget.cpp:797)
92  Chromium Framework            	0x000000010cd7aa4e blink::EventTarget::FireEventListeners(blink::Event*) + 270 (EventTarget.cpp:657)
93  Chromium Framework            	0x000000010cd7033f blink::EventDispatcher::Dispatch() + 1263 (Member.h:83)
94  Chromium Framework            	0x000000010cd6f753 blink::EventDispatcher::DispatchEvent(blink::Node&, blink::Event*) + 83 (EventDispatcher.cpp:57)
95  Chromium Framework            	0x000000010ccd3a25 blink::Document::FinishedParsing() + 117 (DocumentTiming.h:56)
96  Chromium Framework            	0x000000010cf8e1b7 blink::HTMLDocumentParser::AttemptToRunDeferredScriptsAndEnd() + 119 (HTMLDocumentParser.cpp:935)
97  Chromium Framework            	0x000000010cf8fd53 blink::HTMLDocumentParser::ProcessTokenizedChunkFromBackgroundParser(std::__1::unique_ptr<blink::HTMLDocumentParser::TokenizedChunk, std::__1::default_delete<blink::HTMLDocumentParser::TokenizedChunk> >) + 1091 (HTMLDocumentParser.cpp:0)
98  Chromium Framework            	0x000000010cf8e85b blink::HTMLDocumentParser::PumpPendingSpeculations() + 363 (HTMLDocumentParser.cpp:608)
99  Chromium Framework            	0x000000010cca8e52 blink::ClassicPendingScript::AdvanceReadyState(blink::ClassicPendingScript::ReadyState) + 402 (ClassicPendingScript.cpp:400)
100 Chromium Framework            	0x000000010cca8fdc blink::ClassicPendingScript::NotifyFinished(blink::Resource*) + 252 (ClassicPendingScript.cpp:216)
101 Chromium Framework            	0x00000001097cfc62 blink::Resource::NotifyFinished() + 338 (Vector.h:1013)
102 Chromium Framework            	0x00000001097dd5a9 blink::ResourceFetcher::HandleLoaderFinish(blink::Resource*, double, blink::ResourceFetcher::LoaderFinishType) + 841 (scoped_refptr.h:199)
103 Chromium Framework            	0x00000001097eb21d blink::ResourceLoader::DidFinishLoading(double, long long, long long, long long) + 189 (ResourceLoader.cpp:642)
104 Chromium Framework            	0x000000010dc7d9cb content::WebURLLoaderImpl::Context::OnCompletedRequest(network::URLLoaderCompletionStatus const&) + 411 (trace_event.h:1094)
105 Chromium Framework            	0x000000010dc70334 content::ResourceDispatcher::OnRequestComplete(int, network::URLLoaderCompletionStatus const&) + 580 (resource_dispatcher.cc:374)
106 Chromium Framework            	0x0000000108376023 content::ThrottlingURLLoader::OnComplete(network::URLLoaderCompletionStatus const&) + 131 (throttling_url_loader.cc:434)
107 Chromium Framework            	0x000000010816f2c5 content::mojom::URLLoaderClientStubDispatch::Accept(content::mojom::URLLoaderClient*, mojo::Message*) + 197 (url_loader.mojom.cc:1068)
108 Chromium Framework            	0x000000010a7bed4e mojo::internal::MultiplexRouter::ProcessIncomingMessage(mojo::internal::MultiplexRouter::MessageWrapper*, mojo::internal::MultiplexRouter::ClientCallBehavior, base::SequencedTaskRunner*) + 702 (multiplex_router.cc:0)
109 Chromium Framework            	0x000000010a7be597 mojo::internal::MultiplexRouter::Accept(mojo::Message*) + 199 (multiplex_router.cc:608)
110 Chromium Framework            	0x000000010a7b6e83 mojo::Connector::ReadSingleMessage(unsigned int*) + 307 (connector.cc:440)
111 Chromium Framework            	0x000000010a7b7501 mojo::Connector::ReadAllAvailableMessages() + 97 (connector.cc:469)
112 Chromium Framework            	0x000000010a7c8a18 mojo::SimpleWatcher::OnHandleReady(int, unsigned int, mojo::HandleSignalsState const&) + 248 (weak_ptr.h:240)
113 Chromium Framework            	0x0000000109d0ee5c base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) + 188 (callback_forward.h:11)
114 Chromium Framework            	0x000000010980b222 blink::scheduler::TaskQueueManager::ProcessTaskFromWorkQueue(blink::scheduler::internal::WorkQueue*, bool, blink::scheduler::LazyNow, base::TimeTicks*) + 1346 (task_queue_manager.cc:526)
115 Chromium Framework            	0x000000010980a8e2 blink::scheduler::TaskQueueManager::DoWork(blink::scheduler::internal::Sequence::WorkType) + 450 (task_queue_manager.cc:320)
116 Chromium Framework            	0x0000000109d0ee5c base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) + 188 (callback_forward.h:11)
117 Chromium Framework            	0x000000010980e3a5 blink::scheduler::internal::ThreadControllerImpl::DoWork(blink::scheduler::internal::Sequence::WorkType) + 117 (weak_ptr.h:240)
118 Chromium Framework            	0x0000000109d0ee5c base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) + 188 (callback_forward.h:11)
119 Chromium Framework            	0x0000000109d34784 base::MessageLoop::RunTask(base::PendingTask*) + 484 (vector:639)
120 Chromium Framework            	0x0000000109d34c89 base::MessageLoop::DoWork() + 441 (message_loop.cc:447)
121 Chromium Framework            	0x0000000109d36aea base::MessagePumpCFRunLoopBase::RunWork() + 42 (message_pump_mac.mm:452)
122 Chromium Framework            	0x0000000109d2849a base::mac::CallWithEHFrame(void () block_pointer) + 10 (call_with_eh_frame_asm.S:38)
123 Chromium Framework            	0x0000000109d3640f base::MessagePumpCFRunLoopBase::RunWorkSource(void*) + 63 (message_pump_mac.mm:431)
124 CoreFoundation                	0x00007fffc8e1e3e1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
125 CoreFoundation                	0x00007fffc8dff65c __CFRunLoopDoSources0 + 556
126 CoreFoundation                	0x00007fffc8dfeb46 __CFRunLoopRun + 934
127 CoreFoundation                	0x00007fffc8dfe544 CFRunLoopRunSpecific + 420
128 Foundation                    	0x00007fffca82f252 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
129 Chromium Framework            	0x0000000109d3714e base::MessagePumpNSRunLoop::DoRun(base::MessagePump::Delegate*) + 126 (message_pump_mac.mm:722)
130 Chromium Framework            	0x0000000109d35f2e base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 110 (message_pump_mac.mm:301)
131 Chromium Framework            	0x0000000109d596a5 base::RunLoop::Run() + 53 (run_loop.cc:315)
132 Chromium Framework            	0x000000010dd1f418 content::RendererMain(content::MainFunctionParams const&) + 712 (renderer_main.cc:222)
133 Chromium Framework            	0x00000001099304ff content::ContentMainRunnerImpl::Run() + 383 (content_main_runner.cc:706)
134 Chromium Framework            	0x000000010b12c7f8 service_manager::Main(service_manager::MainParams const&) + 2344 (main.cc:456)
135 Chromium Framework            	0x000000010992f9b4 content::ContentMain(content::ContentMainParams const&) + 68 (content_main.cc:19)
136 Chromium Framework            	0x000000010801116f ChromeMain + 175 (chrome_main.cc:0)
137 Chromium Helper               	0x0000000100a244ac main + 1788 (chrome_exe_main_mac.cc:169)
138 libdyld.dylib                 	0x00007fffde9c7235 start + 1
139 Chromium Helper               	0x0000000000000017

 
There is an environment variable SCDontUseServer. It looks like SCClientSession::checkinWithServer() skips the bootstrap_look_up() if that's set.

Sign in to add a comment