New issue
Advanced search Search tips

Issue 766429 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 699377
Owner: ----
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Chrome freezes whenever I hit my first text box on startup

Reported by nissan.d...@gmail.com, Sep 19 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8

Steps to reproduce the problem:
1. Open Google Chrome (regular or incognito mode)
2. Start typing in a text box (e.g. Google search page)
3. Spinning wheel icon appears, typing stops about 2-3 characters in even if more keys pressed

What is the expected behavior?
Typing of keys will continue

What went wrong?
Will lock this entire browser, can't even switch tabs, this has grown progressively longer over time as this issue has been ongoing for months, where the delay was just for a few seconds (had me assuming search as you type web service had it locked) but now the lock up happens for over a minute and can lead to crashes

Did this work before? Yes Not sure

Chrome version: Version 60.0.3112.113 (Official Build) (64-bit)  Channel: stable
OS Version: OS X 10.12.6
Flash Version: 

This is an ongoing issue even with multiple upgrades of browser version it continues which is why I log it now.
 
Components: -UI UI>Input>Text
Labels: Needs-Feedback
[mac bug triage]

Thanks for the bug report! I have a few questions:

- Does this happen on a clean profile?
- Are you using IME to enter non-english characters?
- Does this also happen when typing in the omnibox or say in the bookmarks bubble? Or just inside the web contents?
- If there are crashes, can you provide the crash report ID when you navigate to chrome:crashes?
Hi,
1. This happens on any PC that I have signed in as my profile on, as it has happened in Mac and Windows versions of Chrome. Even if I go InCognito, the freeze still happens. 
2. I only use English characters
3. It happens in the Omnibox or a text box in the web contents, whichever I click into first during a session to start typing text.
4. It doesn't so much crash as freeze, so I have to "Force Quit" in Mac. Will the crash report ID still be useful for this case?
Project Member

Comment 3 by sheriffbot@chromium.org, Sep 19 2017

Cc: patricia...@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "patricialor@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Needs-Feedback
Thanks for your reply! Do you mind trying the following:

1. Click the button at the very top-right of your browser (on the opposite side of the close/minimise/fullscreen buttons) > Manage People > Add Person > Save
2. In the new browser window that opens, try and type in the omnibox or go to a webpage to type in a textbox there.

Does that still cause Chrome to freeze? If so, it might be one of your extensions or something else about your signed-in profile. If not, please try taking a sample instead of trying to get a crash ID (you're right that there probably won't be any crash report ID if you're not seeing crashes from this). To do this:

1. Open Activity Monitor
2. Select "Google Chrome" in the list of processes (the one with the Chrome icon)
3. Go to View > Sample Process
4. Attach the result as a file to this bug report
Here is the sample that was taken during the freeze.
Sample of Google Chrome.txt
103 KB View Download
Project Member

Comment 6 by sheriffbot@chromium.org, Sep 20 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "patricialor@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 7 by lgrey@chromium.org, Sep 20 2017

Status: Available (was: Unconfirmed)
2nd sample capture
Sample of Google Chrome 2.txt
986 KB View Download
Cc: sky@chromium.org sdefresne@chromium.org
Components: Services>Sync
Thanks for the samples. I think the second one more useful than the first, I couldn't really find anything in the sample from #c5. It might have something to do with retrieving bookmark favicons? I'm not sure how it's related to typing into textboxes though.

CCing sky@ and sdefresne@ from being owners of components/history (from looking at RunWithFaviconResults in components/history/core/browser/history_service.cc). Please help triage! Thanks.

For reference, here is the relevant snippet of the symbolised sample from #c8.

Call graph:
    2281 Thread_465694: CrBrowserMain
    + 2281 start  (in libdyld.dylib) + 1  [0x7fff937c4235]
    +   2281 main  (in Google Chrome) + 404  [chrome_exe_main_mac.cc:174]
    +     2281 ChromeMain  (in Google Chrome Framework) + 168  [chrome_main.cc:0]
    +       2281 content::ContentMain(content::ContentMainParams const&)  (in Google Chrome Framework)  load address 0x1041d2000 + 0x1666404  [content_main.cc:19]
    +         2281 service_manager::Main(service_manager::MainParams const&)  (in Google Chrome Framework)  load address 0x1041d2000 + 0x2f88a54  [main.cc:469]
    +           2281 content::ContentMainRunnerImpl::Run()  (in Google Chrome Framework)  load address 0x1041d2000 + 0x1666e20  [content_main_runner.cc:686]
    +             2281 content::BrowserMain(content::MainFunctionParams const&)  (in Google Chrome Framework)  load address 0x1041d2000 + 0x5e769c  [browser_main.cc:46]
    +               2281 content::BrowserMainRunnerImpl::Run()  (in Google Chrome Framework)  load address 0x1041d2000 + 0x5edcd2  [memory:2515]
    +                 2281 content::BrowserMainLoop::RunMainMessageLoopParts()  (in Google Chrome Framework)  load address 0x1041d2000 + 0x5eb614  [browser_main_loop.cc:1171]
    +                   2281 ChromeBrowserMainParts::MainMessageLoopRun(int*)  (in Google Chrome Framework)  load address 0x1041d2000 + 0x16b0596  [chrome_browser_main.cc:1971]
    +                     2281 base::RunLoop::Run()  (in Google Chrome Framework)  load address 0x1041d2000 + 0x1ae63a3  [run_loop.cc:112]
    +                       2281 base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*)  (in Google Chrome Framework)  load address 0x1041d2000 + 0x1ac34fc  [message_pump_mac.mm:278]
    +                         2281 base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*)  (in Google Chrome Framework)  load address 0x1041d2000 + 0x1ac4afe  [message_pump_mac.mm:766]
    +                           2281 -[NSApplication run]  (in AppKit) + 926  [0x7fff7bb323db]
    +                             2281 -[BrowserCrApplication nextEventMatchingMask:untilDate:inMode:dequeue:]  (in Google Chrome Framework)  load address 0x1041d2000 + 0x16aa634  [chrome_browser_application_mac.mm:192]
    +                               2281 base::mac::CallWithEHFrame(void () block_pointer)  (in Google Chrome Framework)  load address 0x1041d2000 + 0x1ab447a  []
    +                                 2281 __71-[BrowserCrApplication nextEventMatchingMask:untilDate:inMode:dequeue:]_block_invoke  (in Google Chrome Framework)  load address 0x1041d2000 + 0x16aa6f0  [chrome_browser_application_mac.mm:187]
    +                                   2281 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]  (in AppKit) + 2796  [0x7fff7c2b97ee]
    +                                     2281 _DPSNextEvent  (in AppKit) + 1120  [0x7fff7bb3da54]
    +                                       2281 _BlockUntilNextEventMatchingListInModeWithFilter  (in HIToolbox) + 71  [0x7fff7d5a4b26]
    +                                         2278 ReceiveNextEventCommon  (in HIToolbox) + 432  [0x7fff7d5a4cf1]
    +                                         ! 2273 RunCurrentEventLoopInMode  (in HIToolbox) + 240  [0x7fff7d5a4ebc]
    +                                         ! : 2259 CFRunLoopRunSpecific  (in CoreFoundation) + 420  [0x7fff7e044114]
    +                                         ! : | 2249 __CFRunLoopRun  (in CoreFoundation) + 934  [0x7fff7e044716]
    +                                         ! : | + 2243 __CFRunLoopDoSources0  (in CoreFoundation) + 557  [0x7fff7e04521d]
    +                                         ! : | + ! 2243 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__  (in CoreFoundation) + 17  [0x7fff7e064321]
    +                                         ! : | + !   2243 base::MessagePumpCFRunLoopBase::RunWorkSource(void*)  (in Google Chrome Framework)  load address 0x1041d2000 + 0x1ac3bef  [message_pump_mac.mm:400]
    +                                         ! : | + !     2243 base::mac::CallWithEHFrame(void () block_pointer)  (in Google Chrome Framework)  load address 0x1041d2000 + 0x1ab447a  []
    +                                         ! : | + !       2097 base::MessagePumpCFRunLoopBase::RunWork()  (in Google Chrome Framework)  load address 0x1041d2000 + 0x1ac42ca  [message_pump_mac.mm:421]
    +                                         ! : | + !       : 2096 base::MessageLoop::DoWork()  (in Google Chrome Framework)  load address 0x1041d2000 + 0x1ac0e49  [message_loop.cc:540]
    +                                         ! : | + !       : | 2096 base::MessageLoop::DeferOrRunPendingTask(base::PendingTask)  (in Google Chrome Framework)  load address 0x1041d2000 + 0x1ac0b75  [message_loop.cc:433]
    +                                         ! : | + !       : |   2094 base::MessageLoop::RunTask(base::PendingTask*)  (in Google Chrome Framework)  load address 0x1041d2000 + 0x1ac078b  [vector:646]
    +                                         ! : | + !       : |   + 2088 base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*)  (in Google Chrome Framework)  load address 0x1041d2000 + 0x1a9a3f2  [callback_forward.h:29]
    +                                         ! : | + !       : |   + ! 2060 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReplyAndSelfDestruct()  (in Google Chrome Framework)  load address 0x1041d2000 + 0x1b11537  [callback_forward.h:29]
    +                                         ! : | + !       : |   + ! : 2058 base::internal::Invoker<base::internal::BindState<void (*)(base::CancellationFlag const*, base::Callback<void (), (base::internal::CopyMode)0, (base::internal::RepeatMode)0>, base::Callback<void (), (base::internal::CopyMode)0, (base::internal::RepeatMode)0>), base::internal::OwnedWrapper<base::CancellationFlag>, base::Callback<void (), (base::internal::CopyMode)0, (base::internal::RepeatMode)0>, base::Callback<void (), (base::internal::CopyMode)0, (base::internal::RepeatMode)0> >, void ()>::RunOnce(base::internal::BindStateBase*)  (in Google Chrome Framework)  load address 0x1041d2000 + 0x1afe006  [callback_forward.h:29]
    +                                         ! : | + !       : |   + ! : | 2048 base::(anonymous namespace)::RunIfNotCanceledThenUntrack(base::CancellationFlag const*, base::Callback<void (), (base::internal::CopyMode)0, (base::internal::RepeatMode)0>, base::Callback<void (), (base::internal::CopyMode)0, (base::internal::RepeatMode)0>)  (in Google Chrome Framework)  load address 0x1041d2000 + 0x1afd5fd  [callback_forward.h:29]
    +                                         ! : | + !       : |   + ! : | + 2047 history::(anonymous namespace)::RunWithFaviconResults(base::Callback<void (std::__1::vector<favicon_base::FaviconRawBitmapResult, std::__1::allocator<favicon_base::FaviconRawBitmapResult> > const&), (base::internal::CopyMode)1, (base::internal::RepeatMode)1> const&, std::__1::vector<favicon_base::FaviconRawBitmapResult, std::__1::allocator<favicon_base::FaviconRawBitmapResult> >*)  (in Google Chrome Framework)  load address 0x1041d2000 + 0x34b9cb9  [trace_event.h:1072]
    +                                         ! : | + !       : |   + ! : | + ! 1605 favicon::FaviconServiceImpl::RunFaviconImageCallbackWithBitmapResults(base::Callback<void (favicon_base::FaviconImageResult const&), (base::internal::CopyMode)1, (base::internal::RepeatMode)1> const&, int, std::__1::vector<favicon_base::FaviconRawBitmapResult, std::__1::allocator<favicon_base::FaviconRawBitmapResult> > const&)  (in Google Chrome Framework)  load address 0x1041d2000 + 0x34f9c4b  [favicon_service_impl.cc:294]
    +                                         ! : | + !       : |   + ! : | + ! : 1603 bookmarks::BookmarkModel::FaviconLoaded(bookmarks::BookmarkNode const*)  (in Google Chrome Framework)  load address 0x1041d2000 + 0x33957c4  [bookmark_model.cc:1084]
    +                                         ! : | + !       : |   + ! : | + ! : | 1092 -[BookmarkBarController nodeFaviconLoaded:node:]  (in Google Chrome Framework)  load address 0x1041d2000 + 0x42932a3  [bookmark_bar_controller.mm:2197]
C    +                                         ! : | + !       : |   + ! : | + ! : | + 1088 -[BookmarkBarController rebuildLayoutWithAnimated:]  (in Google Chrome Framework)  load address 0x1041d2000 + 0x4291eb6  [bookmark_bar_controller.mm:0]
    +                                         ! : | + !       : |   + ! : | + ! : | + ! 1063 -[BookmarkBarController layoutFromCurrentState]  (in Google Chrome Framework)  load address 0x1041d2000 + 0x4291d06  [bookmark_bar_controller.mm:1893]
    +                                         ! : | + !       : |   + ! : | + ! : | + ! : 1059 -[BookmarkBarController widthOfButtonForNode:]  (in Google Chrome Framework)  load address 0x1041d2000 + 0x4292964  [algorithm:719]
    +                                         ! : | + !       : |   + ! : | + ! : | + ! : | 941 +[BookmarkButtonCell cellWidthForNode:image:]  (in Google Chrome Framework)  load address 0x1041d2000 + 0x42a1585  

Comment 10 by sky@chromium.org, Sep 21 2017

Might you have a *ton* of bookmarks? This sounds like a dup of 699377.
Yes I think the "ton" of bookmarks I had was the source of the issue. Not sure how I got so many, I think it must be because I rebuild and switch machines and browsers constantly, so re-importing happens since there were massive numbers of duplications in my bookmarks, including javascript-enabled links from tools I haven't used in years. I've cleaned them out, and monitored it over the last few days and haven't had the issue reoccur. Thanks for all the help!
Components: -UI>Input>Text -Services>Sync UI>Browser>Bookmarks
Mergedinto: 699377
Status: Duplicate (was: Available)
Thanks sky@ and for the feedback nissan.dookeran@ - merging as duplicate.

Sign in to add a comment