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

Issue 618748 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

views_examples_with_content_exe crashes on startup when built with gn

Project Member Reported by ellyjo...@chromium.org, Jun 9 2016

Issue description

When built with gn, views_examples_with_content_exe crashes like so:

$ out/dbg/views_examples_with_content_exe 
[0609/134625:ERROR:memory_mapped_file.cc(52)] Couldn't open /Users/ellyjones/p/chromium/src/out/dbg/content_resources.pak
[0609/134625:ERROR:data_pack.cc(80)] Failed to mmap datapack
[0609/134625:ERROR:resource_bundle.cc(808)] Failed to load /Users/ellyjones/p/chromium/src/out/dbg/content_resources.pak
Some features may not be available.
[0609/134625:ERROR:desktop_test_views_delegate_mac.mm(26)] Not implemented reached in virtual void views::DesktopTestViewsDelegate::OnBeforeWidgetInit(Widget::InitParams *, internal::NativeWidgetDelegate *)
[0609/134625:ERROR:native_widget_mac.mm(282)] Not implemented reached in virtual void views::NativeWidgetMac::SetWindowIcons(const gfx::ImageSkia &, const gfx::ImageSkia &)
[0609/134625:ERROR:memory_mapped_file.cc(52)] Couldn't open /Users/ellyjones/p/chromium/src/out/dbg/content_resources.pak
[0609/134625:ERROR:data_pack.cc(80)] Failed to mmap datapack
[0609/134625:ERROR:resource_bundle.cc(808)] Failed to load /Users/ellyjones/p/chromium/src/out/dbg/content_resources.pak
Some features may not be available.
[0609/134625:WARNING:vt_video_decode_accelerator_mac.cc(162)] Failed to create VTDecompressionSession: Error Domain=NSOSStatusErrorDomain Code=-12913 "(null)" (-12913)
[0609/134625:WARNING:vt_video_decode_accelerator_mac.cc(197)] Failed to create hardware VideoToolbox session
[0609/134625:FATAL:sandbox_mac.mm(384)] Failed to load the sandbox profile (resource id 23979)
0   views_examples_with_content_exe     0x000000011638cd0e _ZN4base5debug10StackTraceC2Ev + 30
1   views_examples_with_content_exe     0x000000011638cd75 _ZN4base5debug10StackTraceC1Ev + 21
2   views_examples_with_content_exe     0x00000001163f3410 _ZN7logging10LogMessageD2Ev + 80
3   views_examples_with_content_exe     0x00000001163f1025 _ZN7logging10LogMessageD1Ev + 21
4   views_examples_with_content_exe     0x00000001125b36d9 _ZN7content19LoadSandboxTemplateEi + 809
5   views_examples_with_content_exe     0x00000001125b3c40 _ZN7content7Sandbox13EnableSandboxEiRKN4base8FilePathE + 400
6   views_examples_with_content_exe     0x00000001125afcb3 _ZN7content17InitializeSandboxEiRKN4base8FilePathE + 35
7   views_examples_with_content_exe     0x00000001125b0987 _ZN7content17InitializeSandboxEv + 87
8   views_examples_with_content_exe     0x0000000115918c62 _ZN7content21ContentMainRunnerImpl10InitializeERKNS_17ContentMainParamsE + 5218
9   views_examples_with_content_exe     0x0000000115916c67 _ZN7content11ContentMainERKNS_17ContentMainParamsE + 263
10  views_examples_with_content_exe     0x000000010b0cc074 _ZN2ui18ViewsContentClient7RunMainEv + 100
11  views_examples_with_content_exe     0x000000010b0c81a6 main + 102
12  views_examples_with_content_exe     0x000000010b0c8134 start + 52
13  ???                                 0x000000000000000f 0x0 + 15

[0609/134625:FATAL:mojo_shell_context.cc(154)] Check failed: !manifest_contents->empty(). 
0   views_examples_with_content_exe     0x000000010b7ddd0e _ZN4base5debug10StackTraceC2Ev + 30
1   views_examples_with_content_exe     0x000000010b7ddd75 _ZN4base5debug10StackTraceC1Ev + 21
2   views_examples_with_content_exe     0x000000010b844410 _ZN7logging10LogMessageD2Ev + 80
3   views_examples_with_content_exe     0x000000010b842025 _ZN7logging10LogMessageD1Ev + 21
4   views_examples_with_content_exe     0x0000000108f4c3ed _ZN7content16MojoShellContext23BuiltinManifestProvider22GetApplicationManifestERKN4base16BasicStringPieceINSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEPSA_ + 2077
5   views_examples_with_content_exe     0x0000000107f69ce7 _ZN7catalog6Reader18CreateEntryForNameERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPNS1_3mapIS7_NS1_10unique_ptrINS_5EntryENS1_14default_deleteISC_EEEENS1_4lessIS7_EENS5_INS1_4pairIS8_SF_EEEEEERKN4base8CallbackIFvN4mojo9StructPtrIN5shell5mojom13ResolveResultEEEELNSN_8internal8CopyModeE1EEE + 391
6   views_examples_with_content_exe     0x0000000107f5674d _ZN7catalog8Instance15ResolveMojoNameERKN4mojo6StringERKNS1_8CallbackIFvNS1_9StructPtrIN5shell5mojom13ResolveResultEEEEEE + 2685
7   views_examples_with_content_exe     0x0000000107bfaa59 _ZN5shell5mojom17ShellResolverStub19AcceptWithResponderEPN4mojo7MessageEPNS2_25MessageReceiverWithStatusE + 873
8   views_examples_with_content_exe     0x0000000104bbd821 _ZN4mojo8internal6Router21HandleMessageInternalEPNS_7MessageE + 353
9   views_examples_with_content_exe     0x0000000104bbac33 _ZN4mojo8internal6Router21HandleIncomingMessageEPNS_7MessageE + 1347
10  views_examples_with_content_exe     0x0000000104bba6e1 _ZN4mojo8internal6Router26HandleIncomingMessageThunk6AcceptEPNS_7MessageE + 33
11  views_examples_with_content_exe     0x0000000107bfae8a _ZN5shell5mojom29ShellResolverRequestValidator6AcceptEPN4mojo7MessageE + 266
12  views_examples_with_content_exe     0x0000000104b97b9b _ZN4mojo8internal22MessageHeaderValidator6AcceptEPNS_7MessageE + 187
13  views_examples_with_content_exe     0x0000000104b80309 _ZN4mojo8internal9Connector17ReadSingleMessageEPj + 393
14  views_examples_with_content_exe     0x0000000104b8125a _ZN4mojo8internal9Connector24ReadAllAvailableMessagesEv + 74
15  views_examples_with_content_exe     0x0000000104b810b6 _ZN4mojo8internal9Connector21OnHandleReadyInternalEj + 310
16  views_examples_with_content_exe     0x0000000104b80f6b _ZN4mojo8internal9Connector20OnWatcherHandleReadyEj + 27
17  views_examples_with_content_exe     0x0000000104b82056 _ZN4base8internal15RunnableAdapterIMN4mojo8internal9ConnectorEFvjEE3RunIPS4_JjEEEvOT_DpOT0_ + 134
18  views_examples_with_content_exe     0x0000000104b81f6d _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIRNS0_15RunnableAdapterIMN4mojo8internal9ConnectorEFvjEEEJPS7_jEEEvOT_DpOT0_ + 61
19  views_examples_with_content_exe     0x0000000104b81f07 _ZN4base8internal7InvokerINS_13IndexSequenceIJLm0EEEENS0_9BindStateINS0_15RunnableAdapterIMN4mojo8internal9ConnectorEFvjEEEFvPS8_jEJNS0_17UnretainedWrapperIS8_EEEEELb0EFvjEE3RunEPNS0_13BindStateBaseEOj + 119
20  views_examples_with_content_exe     0x0000000103a2a52e _ZNK4base8CallbackIFvjELNS_8internal8CopyModeE1EE3RunEj + 78
21  views_examples_with_content_exe     0x0000000103af8f3b _ZN4mojo7Watcher13OnHandleReadyEj + 603
22  views_examples_with_content_exe     0x0000000103af9ac6 _ZN4base8internal15RunnableAdapterIMN4mojo7WatcherEFvjEE3RunIPS3_JRKjEEEvOT_DpOT0_ + 134
23  views_examples_with_content_exe     0x0000000103af99a2 _ZN4base8internal12InvokeHelperILb1EvE8MakeItSoIRNS0_15RunnableAdapterIMN4mojo7WatcherEFvjEEENS_7WeakPtrIS6_EEJRKjEEEvOT_T0_DpOT1_ + 114
24  views_examples_with_content_exe     0x0000000103af98f8 _ZN4base8internal7InvokerINS_13IndexSequenceIJLm0ELm1EEEENS0_9BindStateINS0_15RunnableAdapterIMN4mojo7WatcherEFvjEEEFvPS7_jEJRNS_7WeakPtrIS7_EERjEEELb1EFvvEE3RunEPNS0_13BindStateBaseE + 136
25  views_examples_with_content_exe     0x000000010051e24e _ZNK4base8CallbackIFvvELNS_8internal8CopyModeE1EE3RunEv + 46
26  views_examples_with_content_exe     0x000000010b7df16e _ZN4base5debug13TaskAnnotator7RunTaskEPKcRKNS_11PendingTaskE + 654
27  views_examples_with_content_exe     0x000000010b87767d _ZN4base11MessageLoop7RunTaskERKNS_11PendingTaskE + 877
28  views_examples_with_content_exe     0x000000010b877958 _ZN4base11MessageLoop21DeferOrRunPendingTaskERKNS_11PendingTaskE + 72
29  views_examples_with_content_exe     0x000000010b878328 _ZN4base11MessageLoop6DoWorkEv + 552
30  views_examples_with_content_exe     0x000000010b885e88 _ZN4base24MessagePumpCFRunLoopBase7RunWorkEv + 104
31  views_examples_with_content_exe     0x000000010b885e0c ___ZN4base24MessagePumpCFRunLoopBase13RunWorkSourceEPv_block_invoke + 28
32  views_examples_with_content_exe     0x000000010b84636a _ZN4base3mac15CallWithEHFrameEU13block_pointerFvvE + 10
33  views_examples_with_content_exe     0x000000010b885385 _ZN4base24MessagePumpCFRunLoopBase13RunWorkSourceEPv + 101
34  CoreFoundation                      0x00007fff83bc7881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
35  CoreFoundation                      0x00007fff83ba6fbc __CFRunLoopDoSources0 + 556
36  CoreFoundation                      0x00007fff83ba64df __CFRunLoopRun + 927
37  CoreFoundation                      0x00007fff83ba5ed8 CFRunLoopRunSpecific + 296
38  HIToolbox                           0x00007fff97119935 RunCurrentEventLoopInMode + 235
39  HIToolbox                           0x00007fff9711976f ReceiveNextEventCommon + 432
40  HIToolbox                           0x00007fff971195af _BlockUntilNextEventMatchingListInModeWithFilter + 71
41  AppKit                              0x00007fff8e438df6 _DPSNextEvent + 1067
42  AppKit                              0x00007fff8e438226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
43  AppKit                              0x00007fff8e42cd80 -[NSApplication run] + 682
44  views_examples_with_content_exe     0x000000010b886bf8 _ZN4base24MessagePumpNSApplication5DoRunEPNS_11MessagePump8DelegateE + 312
45  views_examples_with_content_exe     0x000000010b885b6a _ZN4base24MessagePumpCFRunLoopBase3RunEPNS_11MessagePump8DelegateE + 122
46  views_examples_with_content_exe     0x000000010b876e9a _ZN4base11MessageLoop10RunHandlerEv + 298
47  views_examples_with_content_exe     0x000000010b920765 _ZN4base7RunLoop3RunEv + 85
48  views_examples_with_content_exe     0x000000010051dcc3 _ZN2ui27ViewsContentClientMainParts18MainMessageLoopRunEPi + 51
49  views_examples_with_content_exe     0x00000001086a6caa _ZN7content15BrowserMainLoop23RunMainMessageLoopPartsEv + 410
50  views_examples_with_content_exe     0x00000001086afa71 _ZN7content21BrowserMainRunnerImpl3RunEv + 481
51  views_examples_with_content_exe     0x000000010869b6fb _ZN7content11BrowserMainERKNS_18MainFunctionParamsE + 635
52  views_examples_with_content_exe     0x000000010ad68457 _ZN7content23RunNamedProcessTypeMainERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEERKNS_18MainFunctionParamsEPNS_19ContentMainDelegateE + 599
53  views_examples_with_content_exe     0x000000010ad6a336 _ZN7content21ContentMainRunnerImpl3RunEv + 1462
54  views_examples_with_content_exe     0x000000010ad67cbd _ZN7content11ContentMainERKNS_17ContentMainParamsE + 349
55  views_examples_with_content_exe     0x000000010051d074 _ZN2ui18ViewsContentClient7RunMainEv + 100
56  views_examples_with_content_exe     0x00000001005191a6 main + 102
57  views_examples_with_content_exe     0x0000000100519134 start + 52

 
Cc: amistry@chromium.org roc...@chromium.org
Components: Build Internals>Mojo
Labels: OS-Chrome OS-Mac
Cc: ben@chromium.org

Comment 3 by sky@chromium.org, Jun 9 2016

Owner: sky@chromium.org
Status: Started (was: Untriaged)
https://codereview.chromium.org/2053633003/ fixes it, have to verify with Brett if it's the right fix.
Project Member

Comment 4 by bugdroid1@chromium.org, Jun 16 2016

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

commit b5a4de34e62e7ac2cebc38fe09e22d7605daec4d
Author: sky <sky@chromium.org>
Date: Thu Jun 16 20:11:04 2016

Makes views example copy content_resources.pak

This way it can actually load it, which it is trying to do now but
crashing.

BUG= 618748 
TEST=none
R=brettw@chromium.org

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

[modify] https://crrev.com/b5a4de34e62e7ac2cebc38fe09e22d7605daec4d/ui/views/examples/BUILD.gn

Comment 5 by sky@chromium.org, Jun 16 2016

Status: Fixed (was: Started)

Sign in to add a comment