ForceBrowserSignin duplicate signin has bad UX |
||||
Issue descriptionChrome Version: ToT OS: Linux What steps will reproduce the problem? (1) Set ForceBrowserSignin policy (2) Start Chrome with fresh user data dir (3) Sign in (4) Create another profile and sign in with the same account ==> crash [25304:25304:0828/153119.309527:ERROR:configuration_policy_handler_list.cc(92)] Unknown policy: X RestrictSigninToPattern [25304:25304:0828/153119.483557:ERROR:configuration_policy_handler_list.cc(92)] Unknown policy: X RestrictSigninToPattern [25304:25304:0828/153119.522508:ERROR:configuration_policy_handler_list.cc(92)] Unknown policy: X RestrictSigninToPattern [25304:25304:0828/153119.548585:ERROR:configuration_policy_handler_list.cc(92)] Unknown policy: X RestrictSigninToPattern [25304:25331:0828/153119.585918:WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file v8_context_snapshot.bin [25304:25331:0828/153120.523897:WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file v8_context_snapshot.bin [25304:25331:0828/153120.534688:WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file v8_context_snapshot.bin [25304:25331:0828/153120.538353:WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file v8_context_snapshot.bin [25304:25304:0828/153121.267294: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) [25304:25331:0828/153124.574013:WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file v8_context_snapshot.bin [25304:25304:0828/153124.796936: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) [25304:25331:0828/153125.113337:WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file v8_context_snapshot.bin [25304:25304:0828/153125.887501:WARNING:CONSOLE(2277)] "Unrecognized message from GAIA: showConfirmCancel", source: chrome://chrome-signin/gaia_auth_host.js (2277) [25304:25304:0828/153129.522340:WARNING:CONSOLE(2277)] "Unrecognized message from GAIA: clearOldAttempts", source: chrome://chrome-signin/gaia_auth_host.js (2277) [25304:25304:0828/153130.325494:WARNING:CONSOLE(2277)] "Unrecognized message from GAIA: showConfirmCancel", source: chrome://chrome-signin/gaia_auth_host.js (2277) [25304:25331:0828/153133.240645:WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file v8_context_snapshot.bin [25304:25304:0828/153133.423422: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) [25371:25449:0828/153133.427649:WARNING:x11_util.cc(1349)] X error received: serial 546, error_code 3 (BadWindow), request_code 4, minor_code 0 (Unknown) [25304:25327:0828/153137.281605:ERROR:component_cloud_policy_store.cc(411)] Invalid JSON blob: Line: 4, column: 24, Syntax error. [25304:25327:0828/153137.281649:ERROR:component_cloud_policy_store.cc(211)] Discarding policy for component app:com.yaraki.android.apprestrictionschema due to validation failure. [25304:25304:0828/153137.394001:ERROR:configuration_policy_handler_list.cc(92)] Unknown policy: NTPContentSuggestionsEnabled [25304:25304:0828/153137.394063:ERROR:configuration_policy_handler_list.cc(92)] Unknown policy: X RestrictSigninToPattern [25304:25304:0828/153137.405977:WARNING:configuration_policy_pref_store.cc(33)] Policy DisabledPlugins: This policy has been deprecated. [25304:25304:0828/153137.406001:WARNING:configuration_policy_pref_store.cc(33)] Policy DisabledPluginsExceptions: This policy has been deprecated. [25304:25304:0828/153137.519863:WARNING:extension_downloader.cc(742)] Invalid URL: '' for extension deciddadhehomklpmjbjofeajmankjbi [25304:25674:0828/153137.742826: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 [25304:25331:0828/153137.927576:WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file v8_context_snapshot.bin [25304:25304:0828/153138.001770:INFO:CONSOLE(1)] "Uncaught ReferenceError: inline is not defined", source: (1) [25304:25304:0828/153138.043118: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) [25304:25304:0828/153138.372918:ERROR:CONSOLE(1)] "Uncaught ReferenceError: inline is not defined", source: (1) [25304:25331:0828/153138.854038:WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file v8_context_snapshot.bin [25304:25304:0828/153139.022175:INFO:CONSOLE(12)] "Drive Presentation Plugin instantiated.", source: chrome-extension://odjaaghiehpobimgdjjfofmablbaleem/plugins/drive/js/plugin.js (12) [25304:25331:0828/153139.364413:WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file v8_context_snapshot.bin [25304:25304:0828/153139.571298:INFO:CONSOLE(594)] " [ 0.033s] [GoogleSmartCard.ConnectorApp.BackgroundMain] The Smart Card Connector app (id "khpfeaanjngmcnplbdlpegiifgpfgdco", version 1.2.10.0) background script started", source: chrome-extension://khpfeaanjngmcnplbdlpegiifgpfgdco/background.js (594) [25304:25304:0828/153139.572485:INFO:CONSOLE(594)] " [ 0.036s] [GoogleSmartCard.ConnectorApp.BackgroundMain] Browser version: "5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3199.0 Safari/537.36"", source: chrome-extension://khpfeaanjngmcnplbdlpegiifgpfgdco/background.js (594) [25304:25304:0828/153139.607056:INFO:CONSOLE(594)] " [ 0.071s] [GoogleSmartCard.NaclModule<"nacl_module.nmf">] Loading NaCl module...", source: chrome-extension://khpfeaanjngmcnplbdlpegiifgpfgdco/background.js (594) [25304:25331:0828/153139.636809:WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file v8_context_snapshot.bin [25304:25304:0828/153139.669074:INFO:CONSOLE(594)] " [ 0.131s] [GoogleSmartCard.Libusb.ChromeUsbBackend] 0 USB device(s) available: []", source: chrome-extension://khpfeaanjngmcnplbdlpegiifgpfgdco/background.js (594) [25304:25304:0828/153139.670373:INFO:CONSOLE(594)] " [ 0.133s] [GoogleSmartCard.PcscLiteServerClientsManagement.PermissionsChecking.ManagedRegistry] Loaded managed storage data with the allowed client App ids: Set{"haeblkpifdemlfnkogkipmghfcbonief"}", source: chrome-extension://khpfeaanjngmcnplbdlpegiifgpfgdco/background.js (594) [25304:25304:0828/153139.690013:INFO:CONSOLE(594)] " [ 0.149s] [GoogleSmartCard.PcscLiteServerClientsManagement.PermissionsChecking.UserPromptingChecker] Loaded local storage data with the stored user selections: no data", source: chrome-extension://khpfeaanjngmcnplbdlpegiifgpfgdco/background.js (594) [25304:25304:0828/153139.889190:INFO:CONSOLE(607)] " [ 0.031s] [GoogleSmartCard.ConnectorApp.MainWindow] The main window is created", source: chrome-extension://khpfeaanjngmcnplbdlpegiifgpfgdco/window.js (607) [25304:25304:0828/153139.896140:INFO:CONSOLE(607)] " [ 0.039s] [GoogleSmartCard.ConnectorApp.MainWindow] Displaying 0 card reader(s): []", source: chrome-extension://khpfeaanjngmcnplbdlpegiifgpfgdco/window.js (607) [25304:25304:0828/153139.902937:INFO:CONSOLE(7)] "SW registered", source: https://www.google.com/_/chrome/newtab?espv=2&ie=UTF-8 (7) [25304:25304:0828/153139.955250:INFO:CONSOLE(607)] " [ 0.099s] [GoogleSmartCard.ConnectorApp.MainWindow] Displaying the warning regarding non-Chrome OS system (the current OS is "linux")", source: chrome-extension://khpfeaanjngmcnplbdlpegiifgpfgdco/window.js (607) [25304:25304:0828/153140.186644:WARNING:extension_downloader.cc(742)] Invalid URL: '' for extension deciddadhehomklpmjbjofeajmankjbi [25371:25449:0828/153141.783962:WARNING:x11_util.cc(1349)] X error received: serial 1371, error_code 3 (BadWindow), request_code 4, minor_code 0 (Unknown) [25304:25331:0828/153144.862574:WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file v8_context_snapshot.bin [25304:25304:0828/153144.989238: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) [25304:25304:0828/153149.939415:ERROR:configuration_policy_handler_list.cc(92)] Unknown policy: X RestrictSigninToPattern [25304:25331:0828/153149.988393:WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file v8_context_snapshot.bin [25304:25331:0828/153150.014679:WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file v8_context_snapshot.bin [25304:25304:0828/153150.202154: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) [25304:25331:0828/153150.476851:WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file v8_context_snapshot.bin [25304:25304:0828/153151.140597:WARNING:CONSOLE(2277)] "Unrecognized message from GAIA: showConfirmCancel", source: chrome://chrome-signin/gaia_auth_host.js (2277) [25304:25304:0828/153155.857290:WARNING:CONSOLE(2277)] "Unrecognized message from GAIA: clearOldAttempts", source: chrome://chrome-signin/gaia_auth_host.js (2277) [25304:25304:0828/153156.641268:WARNING:CONSOLE(2277)] "Unrecognized message from GAIA: showConfirmCancel", source: chrome://chrome-signin/gaia_auth_host.js (2277) [25304:25304:0828/153159.610720:FATAL:signin_manager.cc(105)] Check failed: !IsAuthenticated(). #0 0x7f213f671c37 base::debug::StackTrace::StackTrace() #1 0x7f213f698861 logging::LogMessage::~LogMessage() #2 0x5571eae79288 SigninManager::StartSignInWithRefreshToken() #3 0x5571eb838814 OneClickSigninSyncStarter::OneClickSigninSyncStarter() #4 0x5571eb7e7e24 InlineSigninHelper::CreateSyncStarter() #5 0x5571eb7e77cb InlineSigninHelper::OnClientOAuthSuccessAndBrowserOpened() #6 0x5571eaa90fab _ZN4base8internal13FunctorTraitsINS_8CallbackIFvP7ProfileNS3_12CreateStatusEELNS0_8CopyModeE1ELNS0_10RepeatModeE1EEEvE6InvokeIS9_JS4_S5_EEEvOT_DpOT0_ #7 0x7f213f67247b base::debug::TaskAnnotator::RunTask() #8 0x7f213f6a4add base::MessageLoop::RunTask() #9 0x7f213f6a524f base::MessageLoop::DoWork() #10 0x7f213f6a73fa base::(anonymous namespace)::WorkSourceDispatch() #11 0x7f213532de04 g_main_context_dispatch #12 0x7f213532e048 <unknown> #13 0x7f213532e0ec g_main_context_iteration #14 0x7f213f6a7156 base::MessagePumpGlib::Run() #15 0x7f213f6a457a base::MessageLoop::Run() #16 0x7f213f6d8337 base::RunLoop::Run() #17 0x5571eaacd79e ChromeBrowserMainParts::MainMessageLoopRun() #18 0x7f213ca131c2 content::BrowserMainLoop::RunMainMessageLoopParts() #19 0x7f213ca162ab content::BrowserMainRunnerImpl::Run() #20 0x7f213ca0e598 content::BrowserMain() #21 0x7f213d29d881 content::RunNamedProcessTypeMain() #22 0x7f213d29e320 content::ContentMainRunnerImpl::Run() #23 0x7f213fba94b0 service_manager::Main() #24 0x7f213d29cc72 content::ContentMain() #25 0x5571ea3f7613 ChromeMain #26 0x7f2132cbef45 __libc_start_main #27 0x5571ea3f745f <unknown> Received signal 6 #0 0x7f213f671c37 base::debug::StackTrace::StackTrace() #1 0x7f213f67171f base::debug::(anonymous namespace)::StackDumpSignalHandler() #2 0x7f213f7f8330 <unknown> #3 0x7f2132cd3c37 gsignal #4 0x7f2132cd7028 abort #5 0x7f213f66f832 base::debug::BreakDebugger() #6 0x7f213f698d34 logging::LogMessage::~LogMessage() #7 0x5571eae79288 SigninManager::StartSignInWithRefreshToken() #8 0x5571eb838814 OneClickSigninSyncStarter::OneClickSigninSyncStarter() #9 0x5571eb7e7e24 InlineSigninHelper::CreateSyncStarter() #10 0x5571eb7e77cb InlineSigninHelper::OnClientOAuthSuccessAndBrowserOpened() #11 0x5571eaa90fab _ZN4base8internal13FunctorTraitsINS_8CallbackIFvP7ProfileNS3_12CreateStatusEELNS0_8CopyModeE1ELNS0_10RepeatModeE1EEEvE6InvokeIS9_JS4_S5_EEEvOT_DpOT0_ #12 0x7f213f67247b base::debug::TaskAnnotator::RunTask() #13 0x7f213f6a4add base::MessageLoop::RunTask() #14 0x7f213f6a524f base::MessageLoop::DoWork() #15 0x7f213f6a73fa base::(anonymous namespace)::WorkSourceDispatch() #16 0x7f213532de04 g_main_context_dispatch #17 0x7f213532e048 <unknown> #18 0x7f213532e0ec g_main_context_iteration #19 0x7f213f6a7156 base::MessagePumpGlib::Run() #20 0x7f213f6a457a base::MessageLoop::Run() #21 0x7f213f6d8337 base::RunLoop::Run() #22 0x5571eaacd79e ChromeBrowserMainParts::MainMessageLoopRun() #23 0x7f213ca131c2 content::BrowserMainLoop::RunMainMessageLoopParts() #24 0x7f213ca162ab content::BrowserMainRunnerImpl::Run() #25 0x7f213ca0e598 content::BrowserMain() #26 0x7f213d29d881 content::RunNamedProcessTypeMain() #27 0x7f213d29e320 content::ContentMainRunnerImpl::Run() #28 0x7f213fba94b0 service_manager::Main() #29 0x7f213d29cc72 content::ContentMain() #30 0x5571ea3f7613 ChromeMain #31 0x7f2132cbef45 __libc_start_main #32 0x5571ea3f745f <unknown> r8: ffff81a6a1fddb00 r9: ffff81a6a1fddaf0 r10: 0000000000000008 r11: 0000000000000206 r12: 00007fff9d10d578 r13: 0000000000000060 r14: 00007fff9d10d570 r15: 00007fff9d10d568 di: 00000000000062d8 si: 00000000000062d8 bp: 00007fff9d10d120 bx: 00007fff9d10d120 dx: 0000000000000006 ax: 0000000000000000 cx: 00007f2132cd3c37 sp: 00007fff9d10cf78 ip: 00007f2132cd3c37 efl: 0000000000000206 cgf: 0000000000000033 erf: 0000000000000000 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000 [end of stack trace] Calling _exit(1). Core file will not be generated.
,
Aug 28 2017
DCHECK failure in signin_manager.cc: [25304:25304:0828/153159.610720:FATAL:signin_manager.cc(105)] Check failed: !IsAuthenticated(). Because when sign in to the second profile with same email, Chrome will switch to the first one. Looks like Chrome is trying to go through the sign in process again. It shouldn't cause any critical issue but I could take a look later.
,
Oct 17 2017
I can't repro the crash anymore but profile creation with duplicate email fails without notifying the user: It opens another window in the same profile, but also adds a (non logged-in) profile to the profile manager.
,
Oct 31
,
Dec 10
|
||||
►
Sign in to add a comment |
||||
Comment 1 by tnagel@chromium.org
, Aug 28 2017