hangs and crash in JSON.stringify with slightly possible ads usage
Reported by
abnes...@gmail.com,
Mar 17 2016
|
|||
Issue descriptionChrome Version: Version 50.0.2661.26 unknown (64-bit) + nodejs 4 OS: (linux openSuSE) It's not a bug, but i see as problem. var x = []; x[0x7fffffff]=1; JSON.stringify(x); Page hangs and crash. Article about problem on Russian. Worst usage exmaple https://jsfiddle.net/8hkr3orv/2/ that slow close on windows. https://translate.google.ru/translate?sl=ru&tl=en&js=y&prev=_t&hl=en&ie=UTF-8&u=https%3A%2F%2Fhabrahabr.ru%2Fpost%2F279439%2F&edit-text= Sorry for my english.
,
Mar 24 2016
Just demo, originally i get random(if random IDs too big) hangs after using localStorage serialization, used arrays for orders and rewrite code to object store by numerical IDs, but forget about initialization with array.
,
Apr 21 2016
,
Apr 21 2016
What's the difference of this to, say, "for(;;);"?
,
Apr 21 2016
for(;;) hangs in js, and can handle. Like old interrupt dialog. Also it's can be interrupted in sandbox like nodejs or webworker. In json.stringify system hangs by native code... Also problem, is't linux specific.
,
Apr 21 2016
I see. We will need a place inside stringify to check for interrupts.
,
Jun 7 2016
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/2963b5bd40b11211c42ed7388af24cc5994c8e22 commit 2963b5bd40b11211c42ed7388af24cc5994c8e22 Author: yangguo <yangguo@chromium.org> Date: Tue Jun 07 11:43:41 2016 [json] check and handle interrupts. R=jkummerow@chromium.org BUG= chromium:595626 Review-Url: https://codereview.chromium.org/2037363002 Cr-Commit-Position: refs/heads/master@{#36785} [modify] https://crrev.com/2963b5bd40b11211c42ed7388af24cc5994c8e22/src/json-parser.cc [modify] https://crrev.com/2963b5bd40b11211c42ed7388af24cc5994c8e22/src/json-stringifier.cc [modify] https://crrev.com/2963b5bd40b11211c42ed7388af24cc5994c8e22/test/cctest/test-thread-termination.cc
,
Jun 7 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by rsch...@chromium.org
, Mar 24 2016Labels: Stability-Hang OS-Linux