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

Issue 730777 link

Starred by 23 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

[MD settings] cookies and local data page slow / freezes

Reported by stephan....@gmail.com, Jun 7 2017

Issue description

Chrome Version (from the about:version page):59.0.3071.86
Is this the most recent version:
OS + version:Arch Linux 4.11.3-1-ARCH
CPU architecture (32-bit / 64-bit):-bit
Window manager:i3wm
URLs (if relevant):
Behavior in Linux Firefox:
Behavior in Windows Chrome (if you have access to it):

What steps will reproduce the problem?
(1)open settings -> Advanced -> Content Settings -> Cookies
(2)
(3)

What is the expected result?
display cookies menu

What happens instead?
crashes, error displaying this website (repeatable error)

Please provide any additional information below. Attach a screenshot
and backtrace if possible.

For graphics-related bugs, please copy/paste the contents of the about:gpu
page at the end of this report.


 
gdb-chromium.txt
25.0 KB View Download
chromium_crash.png
17.4 KB View Download
Just seen, that my Num-Lock was not working, because I rebooted. CPU is 64-bit
Labels: Needs-Triage-M59
Cc: brajkumar@chromium.org
Labels: Needs-Feedback
Unable to reproduce this issue on Ubuntu 14.04 using chrome latest stable #59.0.3071.86 by following steps mentioned in the original comment. Observed no crashes while opening cookies menu under chrome;//settings.

stephan@ Could you please confirm are you able to reproduce this crash consistently including incognito mode? Please provide the sample crash ID's from chrome://crashes for further investigation.

Thanks!
Components: UI>Settings Privacy

Comment 5 by dpa...@chromium.org, Jun 12 2017

Cc: dschuyler@chromium.org
Labels: Proj-MaterialDesign-WebUI
I don't know if this is the same issue, but on my side, when going to chrome://settings/content/cookies the content appears, but everything in the tab is frozen (I can't click anywhere). I can close the tab and repeat again: same problem.

Nothing in chrome://crashes/

Chrome Version 59.0.3071.115
Fedora 25 with NVidia driver

In about:gpu there are some logs like:
[4169:4239:0630/161558.187399:WARNING:x11_util.cc(1366)] : X error received: serial 257269, error_code 3 (BadWindow), request_code 4, minor_code 0 (Unknown)
I have a similar problem, except that the cookies setting page freezes midway through the animation of the page sliding from the right.

Chrome Version: 59.0.3071.115 (Official Build) (64-bit)
OS + version: Xubuntu 16.04
CPU architecture (32-bit / 64-bit): 64-bit
Window manager: XFCE

What steps will reproduce the problem?
(1) Open settings -> Advanced -> Content Settings -> Cookies.

What is the expected result?
Displays the cookies menu.

What happens instead?
The animation of the cookies setting page sliding from the right, replacing the content page, freezes partway through. See the screenshot.
screenshot.png
25.2 KB View Download
I forgot to add to the previous comment: the settings page freezes, and there's nothing to be done except to close it. Even trying to open the main Settings page via the three-dots menu in the browser's upper-right corner, or via writing "chrome://settings/" in the URL bar, does nothing.
The sliding freeze happens here too, and when I hit F5 it crashes as described in the first post. I had no time yet to debug it, because I have too many tabs open and did not find the time to back them up and start a single process of chromium for debugging.

Chromium version is now 59.0.3071.109
Project Member

Comment 10 by sheriffbot@chromium.org, Jul 15 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "brajkumar@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
Cc: jmukthavaram@chromium.org
Labels: Needs-Feedback
Thanks for the reply.
Still we are unable to reproduce the issue on Linux Ubuntu 14.04,mac 10.12.5 & Windows 7 using chrome stable#59.0.3071.115 & Latest Canary#62.0.3166.0 as per the steps mentioned above.

Please check the issue on chrome latest versions & let us know your observations on the same.
Please find the attached screenshot for reference .

730777.png
121 KB View Download
Is it truly frozen or just very slow. There's an existing issue where a user with a large number of cookies can stall for a very long time on entry to this page. 
Possibly related:  Issue 710979  (which is about separating the UI for the two separate things on this page (cookie permissions; and the locally stored data)).
On a Mac (macOS 10.12.6), the cookie page does load, but the animation pauses for a second or two at the spot my screenshot in comment #7 indicates. It might be that on Linux, Chromium was indeed just very slow in loading the cookies, and not terminally frozen. (I do have a large number of cookies on both Linux and Mac.)
Here are some screencapture of the behavior. You can see in the longer video that the behavior is not consistent. After several attempts, I manage to reach the cookie page.

Version 59.0.3071.115
chrome-crash1.ogv
300 KB View Download
chrome-crash.ogv
3.1 MB View Download
Did you enable "Automatically send usage statistics and crash reports to Google"(chrome://settings -> Advanced -> Privacy and security)?

I think this is a precondition for recording crashdumps and that they show up on chrome://crashes.
It was not enabled. I just enabled it, restarted Chrome, and reproduced the issue, but there is no crash dump in chrome://crashes
 Issue 754322  has been merged into this issue.
Owner: dschuyler@chromium.org
Status: Assigned (was: Unconfirmed)
Labels: -Pri-3 Pri-2
Summary: [MD settings] cookies content settings freezes (was: cookies menu crashes)
Labels: -Pri-2 M-63 Pri-1
Summary: [MD settings] cookies and local data page slow / freezes (was: [MD settings] cookies content settings freezes)
 Issue 762856  has been merged into this issue.
 Issue 763393  has been merged into this issue.
Issue 762801 has been merged into this issue.
Project Member

Comment 25 by bugdroid1@chromium.org, Sep 14 2017

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

commit 6168254bec4cbdc002ca79b2956b83d7b85c864b
Author: Dave Schuyler <dschuyler@chromium.org>
Date: Thu Sep 14 20:28:05 2017

[MD settings] separate proxy for site settings and local data

This CL separates the browser proxy code for the site settings prefs and
the cookies and local storage data into separate proxies. These concepts
had become conflated. This CL is a step toward fixing the bug mentioned.

Bug:  730777 
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I616d02bda05cc662bcc89dffb1720c432ae1a424
Reviewed-on: https://chromium-review.googlesource.com/658601
Commit-Queue: Dave Schuyler <dschuyler@chromium.org>
Reviewed-by: Patti <patricialor@chromium.org>
Cr-Commit-Position: refs/heads/master@{#502033}
[modify] https://crrev.com/6168254bec4cbdc002ca79b2956b83d7b85c864b/chrome/browser/resources/settings/settings_resources.grd
[modify] https://crrev.com/6168254bec4cbdc002ca79b2956b83d7b85c864b/chrome/browser/resources/settings/site_settings/compiled_resources2.gyp
[modify] https://crrev.com/6168254bec4cbdc002ca79b2956b83d7b85c864b/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.html
[modify] https://crrev.com/6168254bec4cbdc002ca79b2956b83d7b85c864b/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js
[add] https://crrev.com/6168254bec4cbdc002ca79b2956b83d7b85c864b/chrome/browser/resources/settings/site_settings/local_data_browser_proxy.html
[add] https://crrev.com/6168254bec4cbdc002ca79b2956b83d7b85c864b/chrome/browser/resources/settings/site_settings/local_data_browser_proxy.js
[modify] https://crrev.com/6168254bec4cbdc002ca79b2956b83d7b85c864b/chrome/browser/resources/settings/site_settings/site_data.js
[modify] https://crrev.com/6168254bec4cbdc002ca79b2956b83d7b85c864b/chrome/browser/resources/settings/site_settings/site_data_details_subpage.html
[modify] https://crrev.com/6168254bec4cbdc002ca79b2956b83d7b85c864b/chrome/browser/resources/settings/site_settings/site_data_details_subpage.js
[modify] https://crrev.com/6168254bec4cbdc002ca79b2956b83d7b85c864b/chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js
[modify] https://crrev.com/6168254bec4cbdc002ca79b2956b83d7b85c864b/chrome/test/data/webui/settings/cr_settings_browsertest.js
[modify] https://crrev.com/6168254bec4cbdc002ca79b2956b83d7b85c864b/chrome/test/data/webui/settings/site_data_details_subpage_tests.js
[modify] https://crrev.com/6168254bec4cbdc002ca79b2956b83d7b85c864b/chrome/test/data/webui/settings/site_data_test.js
[add] https://crrev.com/6168254bec4cbdc002ca79b2956b83d7b85c864b/chrome/test/data/webui/settings/test_local_data_browser_proxy.js
[modify] https://crrev.com/6168254bec4cbdc002ca79b2956b83d7b85c864b/chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js

Status: Started (was: Assigned)
 Issue 770483  has been merged into this issue.
Cc: hdodda@chromium.org
 Issue 768248  has been merged into this issue.

Comment 29 by hilg...@gmail.com, Oct 13 2017

I am able to reproduce the same hang -> crash on Ubuntu 16.04.3 LTS with Chrome 61.0.3163.100. The workaround is to use F12 -> Application -> Cookies -> hit delete key
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7bd49763ba4347be4b631a6443346f3ac1dcdb24

commit 7bd49763ba4347be4b631a6443346f3ac1dcdb24
Author: Dave Schuyler <dschuyler@chromium.org>
Date: Thu Oct 12 22:00:59 2017

[MD settings] improve time to display local data

This CL moves more of the local data list management to c++ (from JS)
for performance reasons.

Bug:  683467 
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: Ie43f35409193178de2a525988b00caaa99fe0ef4
Reviewed-on: https://chromium-review.googlesource.com/714241
Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org>
Commit-Queue: Dave Schuyler <dschuyler@chromium.org>
Cr-Commit-Position: refs/heads/master@{#508491}
[modify] https://crrev.com/7bd49763ba4347be4b631a6443346f3ac1dcdb24/chrome/browser/resources/settings/settings_resources.grd
[modify] https://crrev.com/7bd49763ba4347be4b631a6443346f3ac1dcdb24/chrome/browser/resources/settings/site_settings/compiled_resources2.gyp
[delete] https://crrev.com/4cdc761ecbeb58ad52db6667c9f505af9dd0bed3/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.html
[delete] https://crrev.com/4cdc761ecbeb58ad52db6667c9f505af9dd0bed3/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js
[delete] https://crrev.com/4cdc761ecbeb58ad52db6667c9f505af9dd0bed3/chrome/browser/resources/settings/site_settings/cookie_tree_node.js
[modify] https://crrev.com/7bd49763ba4347be4b631a6443346f3ac1dcdb24/chrome/browser/resources/settings/site_settings/local_data_browser_proxy.js
[modify] https://crrev.com/7bd49763ba4347be4b631a6443346f3ac1dcdb24/chrome/browser/resources/settings/site_settings/site_data.html
[modify] https://crrev.com/7bd49763ba4347be4b631a6443346f3ac1dcdb24/chrome/browser/resources/settings/site_settings/site_data.js
[modify] https://crrev.com/7bd49763ba4347be4b631a6443346f3ac1dcdb24/chrome/browser/resources/settings/site_settings/site_data_details_subpage.html
[modify] https://crrev.com/7bd49763ba4347be4b631a6443346f3ac1dcdb24/chrome/browser/resources/settings/site_settings/site_data_details_subpage.js
[modify] https://crrev.com/7bd49763ba4347be4b631a6443346f3ac1dcdb24/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
[modify] https://crrev.com/7bd49763ba4347be4b631a6443346f3ac1dcdb24/chrome/browser/ui/webui/settings/settings_cookies_view_handler.cc
[modify] https://crrev.com/7bd49763ba4347be4b631a6443346f3ac1dcdb24/chrome/browser/ui/webui/settings/settings_cookies_view_handler.h
[modify] https://crrev.com/7bd49763ba4347be4b631a6443346f3ac1dcdb24/chrome/test/data/webui/settings/cr_settings_browsertest.js
[modify] https://crrev.com/7bd49763ba4347be4b631a6443346f3ac1dcdb24/chrome/test/data/webui/settings/site_data_details_subpage_tests.js
[modify] https://crrev.com/7bd49763ba4347be4b631a6443346f3ac1dcdb24/chrome/test/data/webui/settings/site_data_test.js
[modify] https://crrev.com/7bd49763ba4347be4b631a6443346f3ac1dcdb24/chrome/test/data/webui/settings/test_local_data_browser_proxy.js
Status: Fixed (was: Started)
Project Member

Comment 32 by bugdroid1@chromium.org, Oct 19 2017

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

commit 34eeae65c51a2e8c545daef878a74e1efc6c81ef
Author: Dave Schuyler <dschuyler@chromium.org>
Date: Thu Oct 19 01:18:07 2017

[MD settings] cleanup display local data

This CL removes the start/count parameters from getDisplayList for local data (which is not used)
and adds a loading message during the data transfer (from C++ to JS).

Bug:  730777 ,  776190 
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I75d1728a84cc262b040e4ed3959a46914b48a040
Reviewed-on: https://chromium-review.googlesource.com/683467
Commit-Queue: Dave Schuyler <dschuyler@chromium.org>
Reviewed-by: Hector Carmona <hcarmona@chromium.org>
Cr-Commit-Position: refs/heads/master@{#509957}
[modify] https://crrev.com/34eeae65c51a2e8c545daef878a74e1efc6c81ef/chrome/app/settings_strings.grdp
[modify] https://crrev.com/34eeae65c51a2e8c545daef878a74e1efc6c81ef/chrome/browser/resources/settings/site_settings/local_data_browser_proxy.js
[modify] https://crrev.com/34eeae65c51a2e8c545daef878a74e1efc6c81ef/chrome/browser/resources/settings/site_settings/site_data.html
[modify] https://crrev.com/34eeae65c51a2e8c545daef878a74e1efc6c81ef/chrome/browser/resources/settings/site_settings/site_data.js
[modify] https://crrev.com/34eeae65c51a2e8c545daef878a74e1efc6c81ef/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
[modify] https://crrev.com/34eeae65c51a2e8c545daef878a74e1efc6c81ef/chrome/browser/ui/webui/settings/settings_cookies_view_handler.cc
[modify] https://crrev.com/34eeae65c51a2e8c545daef878a74e1efc6c81ef/chrome/browser/ui/webui/settings/settings_cookies_view_handler.h
[modify] https://crrev.com/34eeae65c51a2e8c545daef878a74e1efc6c81ef/chrome/test/data/webui/settings/test_local_data_browser_proxy.js

Comment 33 by danza...@gmail.com, Oct 25 2017

I have similar problem in arch linux. When I'm trying to access cookies page, either from settings or directly(chrome://settings/content/cookies) the page hangs, it loads forever, the list of cookies is empty and no controls working(back arrow button, search text entry etc).
In chrome://crashes page no crash reported. 
I experience the same symptoms as in Comment 33 on Gentoo Linux, running Chromium 62.0.3202.62 (Developer Build) (64-bit). The workaround in Comment 29 does allow me to view and clear cookies for individual sites, which is what I really need to do.
#33 and #34 Thanks for the information. The UI should be improved in Chrome 63 and higher. Do you know which version of Chrome is showing the problem?

Navigating to chrome://version/ will show the version number.
My about page says 

Version 62.0.3202.62 (Official Build) (64-bit)

and the chrome://settings/siteData page doesn't load. It uses a lot of CPU when you first click it, but doesn't ever actually show anything.

Thanks orangewinds@gmail.com. The fix above (in comment #30) should help quite a bit. That fix will be in Version 63.0.3239. I'm very interested to hear if the page works well in Version 63 or later.
Cc: kkaluri@chromium.org
 Issue 732813  has been merged into this issue.

Comment 39 by lccof...@gmail.com, Nov 24 2017

Having the same problem.
Not sure if related (my guess it is). When monitoring the network, it seems for every site that you have cookies, there is a network communication. Why? Cookies are local!
Attaching some screenshots.
Screenshot from 2017-11-24 11-18-29.png
95.5 KB View Download
Screenshot from 2017-11-24 11-18-45.png
100 KB View Download
woah! I bet it's trying to fetch their favicons. Can you click one of the  completed requests and see if it's fetching favicon.png?
@ #39 and #40. Thanks for the report!
Since that's in a different UI (it's not in the MD settings page) let's make it a separate bug. I've created a new bug at  Issue 788857 .

(You're also invited to try this out in the UI at chrome://settings/siteData if that page is slow, that's for this bug).

@41, pretty sure #39's shots are the network tab of dev tools.

(doesn't imply either way md or not)
@42 excellent point (yeah, that's separate from MD extensions).
Confirmed fixed in Chrome 63
#44 Thanks!

Sign in to add a comment