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

Issue 828881 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Profiler can hang at "Loading profile..."

Project Member Reported by rbyers@chromium.org, Apr 4 2018

Issue description

Chrome Version: 65.0.3325.181
OS: Linux

What steps will reproduce the problem?
(1) Open https://chat.google.com
(2) Start devtools profile and reload page
(3) Stop profile once the page has loaded

What is the expected result?
Profile completes

What happens instead?
DevTools hangs with "Loading profile..." dialog and stop button greyed out.  Have to kill the tab.

 
Description: Show this description
Description: Show this description

Comment 3 by l...@chromium.org, Apr 5 2018

Owner: alph@chromium.org
Status: Assigned (was: Untriaged)
Thanks for the report.  On that URL, I was able to reload and have my profile recording take 130sec+ without any sign of completing, but the 'Stop' button was never greyed out for me.

alph@, would you mind taking a look?

Comment 4 by alph@chromium.org, Apr 5 2018

The inspected page is hung in stack frame Advance loop:

#0  0x000055804f7fb902 in v8::internal::StackFrame::ComputeType(v8::internal::StackFrameIteratorBase const*, v8::internal::StackFrame::State*) ()
#1  0x000055804f7fbcf3 in v8::internal::SafeStackFrameIterator::IsValidCaller(v8::internal::StackFrame*) ()
#2  0x000055804f7fba99 in v8::internal::SafeStackFrameIterator::AdvanceOneFrame() ()
#3  0x000055804f7fb958 in v8::internal::SafeStackFrameIterator::Advance() ()
#4  0x000055804f7fb5d7 in v8::internal::SafeStackFrameIterator::SafeStackFrameIterator(v8::internal::Isolate*, unsigned char*, unsigned char*, unsigned char*) ()

Comment 5 by b11...@gmail.com, Apr 9 2018

I ran into this bug myself and I figured out a way to duplicate it.

Chrome Version: 65.0.3325.181
OS: Windows 10

Steps to Reproduce:
(1) Open https://chat.google.com in two separate tabs
(2) Start a devtools profile on each and reload the pages (the ctrl+shift+e button)
(3) One will complete while the other will hang.
Project Member

Comment 6 by bugdroid1@chromium.org, Apr 10 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/v8/v8.git/+/4b0644f501de6aa8a3c99f1208a6b9d3b36a378f

commit 4b0644f501de6aa8a3c99f1208a6b9d3b36a378f
Author: Alexei Filippov <alph@chromium.org>
Date: Tue Apr 10 18:48:15 2018

[profiler] Ensure the SafeStackFrameIterator progresses.

If it does not, the stack may be in an unconsistent state. Bailout if so.

BUG= chromium:828881 

Change-Id: Ia66077d3846bf9a1d556a37fd8e0ca856f9d2464
Reviewed-on: https://chromium-review.googlesource.com/1002535
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Alexei Filippov <alph@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52532}
[modify] https://crrev.com/4b0644f501de6aa8a3c99f1208a6b9d3b36a378f/src/frames.cc

Comment 7 by alph@chromium.org, Apr 11 2018

Status: Fixed (was: Assigned)

Sign in to add a comment