New issue
Advanced search Search tips

Issue 677660 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 663342
Owner: ----
Closed: Jan 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Accesing array element hangs browser tab if developer tools are open

Reported by alexey.g...@gmail.com, Dec 30 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Steps to reproduce the problem:
1. Open developer tools on any page
2. Insert the following code into console:
var x = ["//tracking.vengovision.ru/tracking/2677023005/21/1483108968/0/5C01DC6CD1702B99/403203135/721/2/0/185/501165/501175/3/4/0/0/0/0/1/0/1920/1080/0/0/93689198/0/10/0/TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV09XNjQpIEFwcGxlV2ViS2l0LzUzNy4zNiAoS0hUTUwsIGxpa2UgR2Vja28pIENocm9tZS81NS4wLjI4ODMuODcgU2FmYXJpLzUzNy4zNg==/aHR0cDovL2xvY2FsaG9zdDo2MDAwMC9pVmVuZ28tQmFubmVycy9WaWRlby90ZXN0MS5odG1s/"];
x[0];
3. The developer tools will stop working; refresh button for page will stop working; at some point in the future (5-10 minutes), browser will crash

What is the expected behavior?
Console should print the first and only element in the array.

What went wrong?
The developer tools will stop working; refresh button for page will stop working; at some point in the future (5-10 minutes), browser will crash.

Did this work before? Yes Chrome Version 54?

Chrome version: 55.0.2883.87  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 24.0 r0

You have to open developer tools, otherwise it will not crash.

Creating empty html page with this code doesn't lead to crash. However, as you start adding more code to the page, at some point it will start to crash.

Seems to be crashing on all platforms for Google Chrome Version 55.* and Opera Version 42.*
 

Comment 1 by runem...@gmail.com, Dec 30 2016

An array isn't necessary for this to happen. All you need is to do is write a string containing many slashes to the console. The more slashes there are, the more developer tools will hang. For example, this:

console.log("//////////////////////////////////////");

will make the output have a noticable delay, while this:


console.log("//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////");

will make it hang for a very long time, with CPU at max.

Comment 2 Deleted

Comment 3 by runem...@gmail.com, Dec 30 2016

The bug doesn't seem to happen on Chrome Canary, though.

Comment 4 by woxxom@gmail.com, Dec 31 2016

Duplicate of  issue 663342 .

Comment 5 by junov@chromium.org, Jan 2 2017

Components: -Blink Platform>DevTools>JavaScript
Mergedinto: 663342
Status: Duplicate (was: Unconfirmed)
This issue seems more similar to #663342 and hence duping into it.

Thanks!

Sign in to add a comment