New issue
Advanced search Search tips

Issue 753891 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 753145
Owner:
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Crash on login in debug build (Wrong IO thread access).

Project Member Reported by khmel@chromium.org, Aug 9 2017

Issue description

Build ChromeOS on Linux in debug.
gn gen out/Debug --args='target_os="chromeos"  is_debug=true is_chrome_branded = true'

Run ChromeOS
out/Debug/chrome --user-data-dir=/tmp/chrome_M6108 --login-manager 

Go through OOBE flow. At the end Chrome crashes:

[52605:52605:0809/110506.234586:ERROR:configuration_policy_handler_list.cc(92)] Unknown policy: MetricsReportingEnabled
[52605:52605:0809/110506.234692:ERROR:configuration_policy_handler_list.cc(92)] Unknown policy: VariationsRestrictParameter
[52605:52605:0809/110507.001893:ERROR:configuration_policy_handler_list.cc(92)] Unknown policy: MetricsReportingEnabled
[52605:52605:0809/110507.002019:ERROR:configuration_policy_handler_list.cc(92)] Unknown policy: VariationsRestrictParameter
[52605:52630:0809/110507.339694:WARNING:freezer_cgroup_process_manager.cc(62)] Cgroup freezer does not exist or is not writable. Unable to freeze renderer processes.
[52605:52605:0809/110507.415692:WARNING:configuration_policy_pref_store.cc(33)] Policy RemoteAccessHostDomain: This policy has been deprecated.
[52605:52605:0809/110507.550823:WARNING:configuration_policy_pref_store.cc(33)] Policy RemoteAccessHostDomain: This policy has been deprecated.
[52605:52605:0809/110509.571402:WARNING:signin_screen_policy_provider.cc(61)] Denying load of Extension  : aihpiglmnhnhijdnjghpfnlledckkhja / BeyondCorp because of 'signin_screen' is only allowed for packaged apps, but this is a extension.
[52605:52605:0809/110509.572239:ERROR:external_cache.cc(122)] ExternalCache cannot find external_crx /tmp/chrome_M6108/stub_device_local_extension_cache/aihpiglmnhnhijdnjghpfnlledckkhja-4.18-aad3aa7972ac88a9861753ed537be926493e62aca33294ce0cf55a4f71f1c582.crx
[52605:52605:0809/110509.572365:WARNING:extension_error_reporter.cc(77)] Extension error: BeyondCorp (extension ID "aihpiglmnhnhijdnjghpfnlledckkhja") is not allowed on a login screen.
[52605:52605:0809/110510.422368:WARNING:signin_screen_policy_provider.cc(61)] Denying load of Extension  : noondiphcddnnabmjcihcjfbhfklnnep / Password Alert because of 'signin_screen' is only allowed for packaged apps, but this is a extension.
[52605:52605:0809/110510.425390:ERROR:external_cache.cc(122)] ExternalCache cannot find external_crx /tmp/chrome_M6108/stub_device_local_extension_cache/noondiphcddnnabmjcihcjfbhfklnnep-1.25-fcde6639d1f6471feb860466300229b1c32c07f95a26bf5bb1545e7ccd732196.crx
[52605:52605:0809/110510.425520:WARNING:extension_error_reporter.cc(77)] Extension error: Password Alert (extension ID "noondiphcddnnabmjcihcjfbhfklnnep") is not allowed on a login screen.
[52605:52605:0809/110511.915631:WARNING:signin_screen_policy_provider.cc(61)] Denying load of Extension  : gbchcmhmhahfdphkhkmpfmihenigjmpp / Chrome Remote Desktop because of 'signin_screen' is not allowed for specified extension ID.
[52605:52605:0809/110511.916651:ERROR:external_cache.cc(122)] ExternalCache cannot find external_crx /tmp/chrome_M6108/stub_device_local_extension_cache/gbchcmhmhahfdphkhkmpfmihenigjmpp-60.0.3112.25-f4339bc782bda019fc0d3dd85b5f17c969b0657b686743a4380987cadc826754.crx
[52605:52605:0809/110511.916787:WARNING:extension_error_reporter.cc(77)] Extension error: Chrome Remote Desktop (extension ID "gbchcmhmhahfdphkhkmpfmihenigjmpp") is not allowed on a login screen.
[52605:52605:0809/110513.620560:WARNING:CONSOLE(0)] "Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M65, around March 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths.", source:  (0)
[52605:52605:0809/110514.556407:INFO:CONSOLE(117)] "0809 11:05:14.551000: Look for SSH forward helper.", source: chrome-extension://beknehfpfkghjoafdifaflglpjkojoco/background.js (117)
[52605:52605:0809/110514.560814:INFO:CONSOLE(74)] "0809 11:05:14.555000: Check if SSH forward helper is installed.", source: chrome-extension://beknehfpfkghjoafdifaflglpjkojoco/sshforwardhelper.js (74)
[52605:52605:0809/110514.564468:INFO:CONSOLE(75)] "0809 11:05:14.559000: Send empty message to ssh forward helper.", source: chrome-extension://beknehfpfkghjoafdifaflglpjkojoco/sshforwardhelper.js (75)
[52605:52605:0809/110514.582787:INFO:CONSOLE(120)] "0809 11:05:14.579000: Finish initialize request helpers.", source: chrome-extension://beknehfpfkghjoafdifaflglpjkojoco/background.js (120)
[52605:52605:0809/110514.617932:INFO:CONSOLE(83)] "0809 11:05:14.610000: SSH forward helper not installed:", source: chrome-extension://beknehfpfkghjoafdifaflglpjkojoco/sshforwardhelper.js (83)
[52605:52605:0809/110514.624183:INFO:CONSOLE(84)] "0809 11:05:14.616000: Specified native messaging host not found.", source: chrome-extension://beknehfpfkghjoafdifaflglpjkojoco/sshforwardhelper.js (84)
[52605:52605:0809/110514.627449:INFO:CONSOLE(126)] "0809 11:05:14.624000: All helpers initialized", source: chrome-extension://beknehfpfkghjoafdifaflglpjkojoco/background.js (126)
[52605:52605:0809/110518.016974:ERROR:device_event_log_impl.cc(156)] [11:05:18.016] Network: network_state_handler.cc:186 SetTechnologyEnabled() called for the Tether DeviceState, but the current state was: 0
[52605:52605:0809/110518.082705:INFO:CONSOLE(9403)] "Loading asset bundle oauth-enrollment", source: chrome://oobe/oobe.js (9403)
[52605:52605:0809/110521.503374:INFO:CONSOLE(9387)] "Finished loading asset bundle oauth-enrollment", source: chrome://oobe/oobe.js (9387)
[52605:52605:0809/110524.650819:INFO:CONSOLE(74)] "0809 11:05:24.638000: onSuspend", source: chrome-extension://beknehfpfkghjoafdifaflglpjkojoco/background.js (74)
[52605:52605:0809/110525.487563:ERROR:eula_screen.cc(59)] No manifest found.
[52605:52605:0809/110528.222034:INFO:lock_screen_utils.cc(56)] GetUserLastInputMethod: no input method for this user
[52605:52605:0809/110528.240905:INFO:signin_screen_handler.cc(1357)] Login WebUI >> active: 1, source: gaia-signin
[52605:52605:0809/110529.897863:ERROR:tab_manager_delegate_chromeos.cc(81)] Set OOM score error: 
[52605:52605:0809/110532.268640:WARNING:CONSOLE(17879)] "Unrecognized message from GAIA: showConfirmCancel", source: chrome://oobe/oobe.js (17879)
[52605:52605:0809/110535.446385:WARNING:CONSOLE(17879)] "Unrecognized message from GAIA: clearOldAttempts", source: chrome://oobe/oobe.js (17879)
[52605:52605:0809/110537.247980:WARNING:CONSOLE(17879)] "Unrecognized message from GAIA: showConfirmCancel", source: chrome://oobe/oobe.js (17879)
[52605:52605:0809/110542.220604:ERROR:configuration_policy_handler_list.cc(92)] Unknown policy: MetricsReportingEnabled
[52605:52605:0809/110542.220716:ERROR:configuration_policy_handler_list.cc(92)] Unknown policy: VariationsRestrictParameter
[52605:52605:0809/110542.343979:WARNING:configuration_policy_pref_store.cc(33)] Policy RemoteAccessHostDomain: This policy has been deprecated.
[52605:52605:0809/110542.937834:INFO:chrome_cryptauth_service.cc(230)] Refresh token not yet available; waiting before starting CryptAuth managers.
[52605:52605:0809/110542.938107:INFO:easy_unlock_service.cc(811)] Creating ProximityAuthSystem.
[52605:52605:0809/110542.980049:INFO:sync_scheduler_impl.cc(133)] Scheduling next sync for CryptAuth Enrollment:
    Strategy: Aggressive Recovery
    Time Delta: 0 seconds
    Previous Failures: 1
[52605:52628:0809/110542.994562:WARNING:google_brand_chromeos.cc(31)] Brand code file missing: /opt/oem/etc/BRAND_CODE
[52605:52605:0809/110543.461448:INFO:sync_scheduler_impl.cc(108)] Timer fired for aggressive recovery, making request...
[52605:52605:0809/110543.461649:INFO:cryptauth_gcm_manager_impl.cc(61)] Beginning GCM registration...
[52605:52605:0809/110543.590347:INFO:signin_screen_handler.cc(1357)] Login WebUI >> active: 0, source: gaia-signin
[52605:53045:0809/110543.599567:WARNING:syncer_proto_util.cc(338)] Error posting from syncer: Response Code (bogus on error): -1 Content-Length (bogus on error): -1 Server Status: SYNC_AUTH_ERROR
[52605:52629:0809/110543.668439:FATAL:thread_restrictions.cc(38)] Check failed: false. Function marked as IO-only was called from a thread that disallows IO!  If this thread really should be allowed to make IO calls, adjust the call to base::ThreadRestrictions::SetIOAllowed() in this thread's startup.  If this task is running inside the TaskScheduler, the TaskRunner used to post it needs to have MayBlock() in its TaskTraits.
#0 0x7f2e96a4e8ed base::debug::StackTrace::StackTrace()
#1 0x7f2e96a4ce6c base::debug::StackTrace::StackTrace()
#2 0x7f2e96ad627d logging::LogMessage::~LogMessage()
#3 0x7f2e96c807e4 base::ThreadRestrictions::AssertIOAllowed()
#4 0x7f2e96aa5c93 base::OpenFile()
#5 0x7f2e96a9c6d7 base::ReadFileToStringWithMaxSize()
#6 0x7f2e96a9cab4 base::ReadFileToString()
#7 0x7f2e96ab76e1 JSONFileValueDeserializer::ReadFileToString()
#8 0x7f2e96ab7a1b JSONFileValueDeserializer::Deserialize()
#9 0x559719c04300 rlz_lib::RlzValueStoreChromeOS::ReadStore()
#10 0x559719c041bb rlz_lib::RlzValueStoreChromeOS::RlzValueStoreChromeOS()
#11 0x559719c087f1 rlz_lib::ScopedRlzValueStoreLock::ScopedRlzValueStoreLock()
#12 0x559719c0fd7f rlz_lib::GetAccessPointRlz()
#13 0x55971fdd8c45 rlz::RLZTracker::GetAccessPointRlzImpl()
#14 0x55971fdd5950 rlz::RLZTracker::GetAccessPointRlz()
#15 0x55971fddb667 _ZN4base8internal13FunctorTraitsIPFbN7rlz_lib11AccessPointEPNSt3__112basic_stringItNS_20string16_char_traitsENS4_9allocatorItEEEEEvE6InvokeIJRKS3_RKSA_EEEbSC_DpOT_
#16 0x55971fddb620 _ZN4base8internal13FunctorTraitsINS0_18IgnoreResultHelperIPFbN7rlz_lib11AccessPointEPNSt3__112basic_stringItNS_20string16_char_traitsENS5_9allocatorItEEEEEEEvE6InvokeIRKSE_JRKS4_RKSB_EEEvOT_DpOT0_
#17 0x55971fddb5cd _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIRKNS0_18IgnoreResultHelperIPFbN7rlz_lib11AccessPointEPNSt3__112basic_stringItNS_20string16_char_traitsENS7_9allocatorItEEEEEEEJRKS6_RKSD_EEEvOT_DpOT0_
#18 0x55971fddb57d _ZN4base8internal7InvokerINS0_9BindStateINS0_18IgnoreResultHelperIPFbN7rlz_lib11AccessPointEPNSt3__112basic_stringItNS_20string16_char_traitsENS6_9allocatorItEEEEEEEJS5_SC_EEEFvvEE7RunImplIRKSF_RKNS6_5tupleIJS5_SC_EEEJLm0ELm1EEEEvOT_OT0_NS_13IndexSequenceIJXspT1_EEEE
#19 0x55971fddb48c _ZN4base8internal7InvokerINS0_9BindStateINS0_18IgnoreResultHelperIPFbN7rlz_lib11AccessPointEPNSt3__112basic_stringItNS_20string16_char_traitsENS6_9allocatorItEEEEEEEJS5_SC_EEEFvvEE3RunEPNS0_13BindStateBaseE
#20 0x7f2e969fcb21 _ZNO4base8CallbackIFvvELNS_8internal8CopyModeE0ELNS2_10RepeatModeE0EE3RunEv
#21 0x7f2e96a5324d base::debug::TaskAnnotator::RunTask()
#22 0x7f2e96c50177 base::internal::TaskTracker::PerformRunTask()
#23 0x7f2e96c51fcc base::internal::TaskTrackerPosix::PerformRunTask()
#24 0x7f2e96c4eb9c base::internal::TaskTracker::RunNextTask()
#25 0x7f2e96c3be46 base::internal::SchedulerWorker::Thread::ThreadMain()
#26 0x7f2e96c5d951 base::(anonymous namespace)::ThreadFunc()
#27 0x7f2e97088184 start_thread
#28 0x7f2e7cfe3ffd clone

Cannot upload crash dump: cannot exec /sbin/crash_reporter

Unexpected crash report id length
System crash_reporter failed to process crash report.
Report Id: 
[1:1:0100/000000.378116:ERROR:broker_posix.cc(43)] Invalid node channel message


 
Owner: rogerta@chromium.org
Status: Assigned (was: Untriaged)
rogerta@, think this is from https://codereview.chromium.org/2949263003

Think we need base::MayBlock() when creating |background_task_runner_| in RLZTracker since we run file IO.
Mergedinto: 753145
Status: Duplicate (was: Assigned)
Marking a dupe, and already fixed by gab@

Sign in to add a comment