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

Issue 781030 link

Starred by 8 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Heap Dump Does not work on Android

Reported by chuest...@gmail.com, Nov 2 2017

Issue description

Steps to reproduce the problem:
1. Open a webpage in Chrome on Android device (ex nytimes.com)
2. Open inspector through chrome://inspect on computer
3. Take heap snapshot through memory tab

I've tried this on an S8 and a Pixel. I've also tried restarting chrome on the device and the computer.

What is the expected behavior?
Some sort of heap snapshot eventually loads

What went wrong?
Snapshot stays in "Loading..." state forever after percentage reaches 100%.

Did this work before? N/A 

Chrome version: 62.0.3202.73  Channel: stable
OS Version: 7.0
Flash Version:
 
Screen Shot 2017-11-02 at 2.49.40 PM.png
15.9 KB View Download
Cc: msrchandra@chromium.org
Labels: Needs-triage-Mobile Needs-Feedback
Tested the issue using Chrome# 61.0.3163.98 / 62.0.3202.73 and Chrome Canary# 64.0.3256.0 on Pixel (Android 8.1.2) and could not reproduce the issue.
Heap Snapshot loads and available for displaying.

Steps Followed --
1. Open a webpage in Chrome on Android device (ex nytimes.com)
2. Open inspector through chrome://inspect on computer
3. Take heap snapshot through memory tab

@chuesterx -- Could you please let me know if I have missed anything.
Thank You.
Owner: alph@chromium.org
Status: Assigned (was: Unconfirmed)
If it helps, the computer I'm using a 2017 MBPr 15". I also tried it only my coworker's laptop, and the result was the same. 

I tried Chrome Canary 64.0.3257.0 on an S8, and got the same result.
Labels: Triaged-Mobile

Comment 5 by alph@chromium.org, Nov 10 2017

Cc: dgozman@chromium.org
Components: -Platform>DevTools Platform>DevTools>Memory
DevTools creates a web worker providing an URL with query params. The URL is missing in the AppCache manifest so the loading fails.

Comment 6 by alph@chromium.org, Nov 10 2017

Cc: chenwilliam@chromium.org
 Issue 734556  has been merged into this issue.
Project Member

Comment 8 by bugdroid1@chromium.org, Nov 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/chrome-devtools-frontend/+/d2ba16433e37b8b319b785f3d35ebc3989e53896

commit d2ba16433e37b8b319b785f3d35ebc3989e53896
Author: Alexei Filippov <alph@chromium.org>
Date: Fri Nov 10 01:37:09 2017

DevTools: Allow fetching frontend files missing in AppCache from the network.

The DevTools frontend may include query parameters for module urls. Allow such files
to be fetched from the network if they are missing in the AppCache.

BUG= 781030 

Change-Id: Ica103d6d0c1a18cc5a0ace1e4f1e76183e18752a

[modify] https://crrev.com/d2ba16433e37b8b319b785f3d35ebc3989e53896/gce/uploader_iteration.sh

Cc: halliwell@chromium.org
Cc: klausw@chromium.org lushnikov@chromium.org
 Issue 715452  has been merged into this issue.

Comment 11 by alph@chromium.org, Nov 13 2017

Status: Fixed (was: Assigned)

Comment 12 by alph@chromium.org, Nov 15 2017

Cc: alph@chromium.org
 Issue 724043  has been merged into this issue.

Comment 13 by atua...@gmail.com, Nov 22 2017

can it publish to devtools server as soon as possible? this also will lead to can't format minified javascript, developer difficult to debug js.
What's the ETA for when this fix will go live? 

Comment 15 by alph@chromium.org, Nov 23 2017

The fix is live. All the Chrome releases made after November 17 should work.
Is it possible for this fix to be made available for Chrome releases before that as well (e.g. back to say M57, which is the what the next big release of UC is based off of)? 
For example by updating the manifest on the dev tools server, if that's possible?

Comment 17 by atua...@gmail.com, Nov 27 2017

it seems not yet available in old Chrome version. in chrome://appcache-internals/ panel, the manifest not yet contains NETWORK:*
e.g.,
chrome-devtools://devtools/remote/serve_rev/@a000f5daeaac3f79102a0c8f6eaab57aa0e00ae9/a000f5daeaac3f79102a0c8f6eaab57aa0e00ae9.manifest

Comment 18 by atua...@gmail.com, Nov 28 2017

i have downloaded the newest chromium (mac pro system) from "https://download-chromium.appspot.com/", and it seems it does't work, and still can't format minified javascript.

related bug: https://bugs.chromium.org/p/chromium/issues/detail?id=734556

Comment 19 by alph@chromium.org, Nov 28 2017

per comment 18. The link seems to point to Linux Chromium. You need to update Android Chrome to have it working.

Comment 20 by coll...@gmail.com, Nov 29 2017

 issue 734556  is marked as duplicated but the problem still exists
https://bugs.chromium.org/p/chromium/issues/detail?id=734556

diff on gce/uploader_iteration.sh seems to work only in newer version,
when debugging old milestone android chrome, the manifest file need re-upload.

Comment 21 by atua...@gmail.com, Dec 1 2017

can update manifest in devtools server and make it also working at older version? it is very important for browser base of chrome kernel or older chrome browser.

Sign in to add a comment