New issue
Advanced search Search tips

Issue 836770 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Cannot quit Chrome application when quit has been called during session restoration.

Project Member Reported by mpichlin...@opera.com, Apr 25 2018

Issue description

Chrome Version: 67.0.3393.4
OS: MacOS

Issue is very hard to reproduce.

What steps will reproduce the problem?
(1) Have a profile with a big session
(2) Enable restoring session upon application start.
(3) Start the application and try to quickly quit it via Cmd+Q before session loads

What is the expected result?
Chrome quits application or ignores quit command while session is loading

What happens instead?
Chrome closes the window restored by the session, but the application is still  running. However it is impossible to quit the application or open new window via its menu. It is still possible to open new window indirectly via internal pages options from menu.
 

Comment 1 by meh...@chromium.org, Apr 25 2018

Labels: -Pri-3 Stability-Hang Pri-2

Comment 2 by lgrey@chromium.org, Apr 26 2018

Status: Available (was: Untriaged)
Successfully reproed this. Main thread sample below:

    2381 Thread_303732   DispatchQueue_1: com.apple.main-thread  (serial)
    + 2381 start  (in libdyld.dylib) + 1  [0x7fff540cb115]
    +   2381 main  (in Google Chrome) + 404  [chrome_exe_main_mac.cc:169]
    +     2381 ChromeMain  (in Google Chrome Framework) + 179  [chrome_main.cc:0]
    +       2381 content::ContentMain(content::ContentMainParams const&)  (in Google Chrome Framework)  load address 0x10f07b000 + 0x1c08014  [content_main.cc:19]
    +         2381 service_manager::Main(service_manager::MainParams const&)  (in Google Chrome Framework)  load address 0x10f07b000 + 0x33ad772  [main.cc:453]
    +           2381 content::ContentMainRunnerImpl::Run()  (in Google Chrome Framework)  load address 0x10f07b000 + 0x1c08ac9  [content_main_runner.cc:703]
    +             2381 content::BrowserMain(content::MainFunctionParams const&)  (in Google Chrome Framework)  load address 0x10f07b000 + 0x99c104  [browser_main.cc:42]
    +               2381 content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&)  (in Google Chrome Framework)  load address 0x10f07b000 + 0x9a1d20  [memory:2615]
    +                 2381 content::BrowserMainLoop::CreateStartupTasks()  (in Google Chrome Framework)  load address 0x10f07b000 + 0x99e185  [callback_internal.h:164]
    +                   2381 content::StartupTaskRunner::RunAllTasksNow()  (in Google Chrome Framework)  load address 0x10f07b000 + 0xd53987  [callback.h:124]
    +                     2381 content::BrowserMainLoop::PreMainMessageLoopRun()  (in Google Chrome Framework)  load address 0x10f07b000 + 0x99f823  [trace_event.h:1094]
    +                       2381 ChromeBrowserMainParts::PreMainMessageLoopRun()  (in Google Chrome Framework)  load address 0x10f07b000 + 0x1c54dee  [chrome_browser_main.cc:1456]
    +                         2381 ChromeBrowserMainParts::PreMainMessageLoopRunImpl()  (in Google Chrome Framework)  load address 0x10f07b000 + 0x1c55fda  [chrome_browser_main.cc:2076]
    +                           2381 StartupBrowserCreator::Start(base::CommandLine const&, base::FilePath const&, Profile*, std::__1::vector<Profile*, std::__1::allocator<Profile*> > const&)  (in Google Chrome Framework)  load address 0x10f07b000 + 0x452ca67  [startup_browser_creator.cc:311]
    +                             2381 StartupBrowserCreator::ProcessCmdLineImpl(base::CommandLine const&, base::FilePath const&, bool, Profile*, std::__1::vector<Profile*, std::__1::allocator<Profile*> > const&)  (in Google Chrome Framework)  load address 0x10f07b000 + 0x452d00c  [startup_browser_creator.cc:729]
    +                               2381 StartupBrowserCreator::LaunchBrowserForLastProfiles(base::CommandLine const&, base::FilePath const&, bool, Profile*, std::__1::vector<Profile*, std::__1::allocator<Profile*> > const&)  (in Google Chrome Framework)  load address 0x10f07b000 + 0x452eb3f  [startup_browser_creator.cc:0]
    +                                 2381 StartupBrowserCreator::ProcessLastOpenedProfiles(base::CommandLine const&, base::FilePath const&, chrome::startup::IsProcessStartup, chrome::startup::IsFirstRun, Profile*, std::__1::vector<Profile*, std::__1::allocator<Profile*> > const&)  (in Google Chrome Framework)  load address 0x10f07b000 + 0x452ee7a  [startup_browser_creator.cc:843]
    +                                   2381 StartupBrowserCreator::LaunchBrowser(base::CommandLine const&, Profile*, base::FilePath const&, chrome::startup::IsProcessStartup, chrome::startup::IsFirstRun)  (in Google Chrome Framework)  load address 0x10f07b000 + 0x452d530  [startup_browser_creator.cc:357]
    +                                     2381 StartupBrowserCreatorImpl::Launch(Profile*, std::__1::vector<GURL, std::__1::allocator<GURL> > const&, bool)  (in Google Chrome Framework)  load address 0x10f07b000 + 0x4530014  [startup_browser_creator_impl.cc:436]
    +                                       2381 StartupBrowserCreatorImpl::DetermineURLsAndLaunch(bool, std::__1::vector<GURL, std::__1::allocator<GURL> > const&)  (in Google Chrome Framework)  load address 0x10f07b000 + 0x4530699  [startup_browser_creator_impl.cc:741]
    +                                         2381 StartupBrowserCreatorImpl::RestoreOrCreateBrowser(std::__1::vector<StartupTab, std::__1::allocator<StartupTab> > const&, StartupBrowserCreatorImpl::BrowserOpenBehavior, unsigned int, bool, bool)  (in Google Chrome Framework)  load address 0x10f07b000 + 0x4531632  [startup_browser_creator_impl.cc:847]
    +                                           2381 SessionRestoreImpl::Restore()  (in Google Chrome Framework)  load address 0x10f07b000 + 0x1f9ff26  [session_restore.cc:149]
    +                                             2381 <name omitted>  (in Google Chrome Framework)  load address 0x10f07b000 + 0x203d295  [run_loop.cc:139]
    +                                               2381 base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*)  (in Google Chrome Framework)  load address 0x10f07b000 + 0x20185fe  [message_pump_mac.mm:311]
    +                                                 2381 base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*)  (in Google Chrome Framework)  load address 0x10f07b000 + 0x2019a7c  [message_pump_mac.mm:831]
    +                                                   2381 -[NSApplication run]  (in AppKit) + 764  [0x7fff29d8ad6d]
    +                                                     2381 -[BrowserCrApplication nextEventMatchingMask:untilDate:inMode:dequeue:]  (in Google Chrome Framework)  load address 0x10f07b000 + 0x1c50204  [chrome_browser_application_mac.mm:179]
    +                                                       2381 base::mac::CallWithEHFrame(void () block_pointer)  (in Google Chrome Framework)  load address 0x10f07b000 + 0x200ac0a  []
    +                                                         2381 __71-[BrowserCrApplication nextEventMatchingMask:untilDate:inMode:dequeue:]_block_invoke  (in Google Chrome Framework)  load address 0x10f07b000 + 0x1c502c0  [chrome_browser_application_mac.mm:174]
    +                                                           2381 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]  (in AppKit) + 3044  [0x7fff2a52bb4c]
    +                                                             2381 _DPSNextEvent  (in AppKit) + 2085  [0x7fff29d95f5f]
    +                                                               2381 _BlockUntilNextEventMatchingListInModeWithFilter  (in HIToolbox) + 64  [0x7fff2baca914]
    +                                                                 2381 ReceiveNextEventCommon  (in HIToolbox) + 613  [0x7fff2bacab96]
    +                                                                   2381 RunCurrentEventLoopInMode  (in HIToolbox) + 286  [0x7fff2bacae26]
    +                                                                     2381 CFRunLoopRunSpecific  (in CoreFoundation) + 483  [0x7fff2c7b2f43]
    +                                                                       2381 __CFRunLoopRun  (in CoreFoundation) + 1783  [0x7fff2c7b38c7]
    +                                                                         2381 __CFRunLoopServiceMachPort  (in CoreFoundation) + 341  [0x7fff2c7b4575]
    +                                                                           2381 mach_msg  (in libsystem_kernel.dylib) + 60  [0x7fff54210cdc]
    +                                                                             2381 mach_msg_trap  (in libsystem_kernel.dylib) + 10  [0x7fff542117c2]


Labels: Hotlist-DesktopUIValid Hotlist-DesktopUIChecked
***Mass UI Triage***
As per dev comments.

Sign in to add a comment