chrome freeze on hard BigInt calculations
Reported by
mozti...@gmail.com,
Jun 4 2018
|
|||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36 Steps to reproduce the problem: let a = 1n; for (let i = 0; i < 1000000; i++) a <<= 10n; What is the expected behavior? maybe lags but possibiliti to close tab with execution at least. What went wrong? tab freeze. can't close it. can't close chrome. Did this work before? N/A Chrome version: 67.0.3396.62 Channel: stable OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version:
,
Jun 4 2018
,
Jun 4 2018
TabStrip is for tab UI stuff; in this case the TabStrip is functional (sends close requests), the problem is in the code below that (e.g. the renderer not being responsive to such requests). I don't know what the right component is for such issues :/
,
Jun 5 2018
,
Jun 5 2018
Hm I have a test site here [1] where I can only reproduce when devtools is open. This seems intentional here: https://cs.chromium.org/chromium/src/chrome/browser/ui/fast_unload_controller.cc?rcl=da92021743d369b000d9c294337d2f900780dd51&l=58 Without devtools open, the tab closes within a few seconds. mozti4.1: can you reproduce without devtools open? [1] https://cr.kungfoo.net/hung-renderer/big-int-computation.html
,
Jun 5 2018
No, I can't. It's only freeze when devtools opened. Btw when devtools closed and computation processing i can't open it.
,
Jun 5 2018
Punting to devtools team, but this is lower priority since it probably only affects developers. Opening devtools also requires communication with the renderer main thread I guess, so it makes sense that you can't open it if the main thread is completely busy. Devtools folks: Why can't we fast-shutdown a page that is being inspected?
,
Jun 11 2018
,
Aug 21
If it is reproducible only when DevTools is shown then you can use following steps to kill any JavaScript: 1. request pause. 2. terminate current JavaScript execution. GIF: https://twitter.com/ak_239/status/979767841573359618
,
Sep 27
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by csharrison@chromium.org
, Jun 4 2018Labels: OS-Linux