Closed
Bug 909599
Opened 13 years ago
Closed 13 years ago
Crash [@ Balloc] or [@ js_strtod] or [@ js::StringToNumber] with ParallelArray
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: gkw, Assigned: shu)
References
Details
(4 keywords, Whiteboard: [jsbugmon:])
Crash Data
Attachments
(2 files)
|
1.91 KB,
text/plain
|
Details | |
|
1.21 KB,
patch
|
nmatsakis
:
review+
|
Details | Diff | Splinter Review |
x = Math.tan(5) + []
ParallelArray([764], (function() {})).filter(function(e) {
return e << x
})
crashes js debug (64-bit threadsafe deterministic) shell on m-c changeset 17143a9a0d83 without any CLI arguments at Balloc with js_strtod and js::StringToNumber on the stack.
This crash signature looks scary, so setting this s-s to be safe.
Flags: needinfo?(shu)
Updated•13 years ago
|
Crash Signature: [@ Balloc]
[@ js_strtod]
[@ js::StringToNumber] → [@ Balloc]
[@ js_strtod]
[@ js::StringToNumber]
Whiteboard: [jsbugmon:update] → [jsbugmon:]
Comment 1•13 years ago
|
||
JSBugMon: Cannot process bug: Unable to automatically reproduce, please track manually.
| Assignee | ||
Comment 2•13 years ago
|
||
This is just plain dumb. We don't initialize PerThreadData for ForkJoinSlices (but do for the main thread), which results in a NULL dtoaState, which js_strtod depends on.
The signature is scary, but I'm pretty sure this will only ever result in a NULL access; so you can probably open the bug.
Crash Signature: [@ Balloc]
[@ js_strtod]
[@ js::StringToNumber] → [@ Balloc]
[@ js_strtod]
[@ js::StringToNumber]
Flags: needinfo?(shu)
| Assignee | ||
Comment 3•13 years ago
|
||
Assignee: general → shu
Attachment #795817 -
Flags: review?(nmatsakis)
| Reporter | ||
Comment 4•13 years ago
|
||
Opening up as per comment 2.
Group: core-security
Keywords: csec-dos
| Reporter | ||
Comment 5•13 years ago
|
||
autoBisect shows this is probably related to the following changeset:
The first bad revision is:
changeset: http://hg.mozilla.org/mozilla-central/rev/701af9ee77c8
user: Shu-yu Guo
date: Fri Aug 02 08:24:58 2013 -0700
summary: Bug 892634 - Part 3: Supporting strings in LValueToInt32 in truncation contexts. (r=jandem)
Blocks: 892634
Comment 6•13 years ago
|
||
Comment on attachment 795817 [details] [diff] [review]
how did this ever work
Review of attachment 795817 [details] [diff] [review]:
-----------------------------------------------------------------
Wild.
Attachment #795817 -
Flags: review?(nmatsakis) → review+
| Assignee | ||
Comment 7•13 years ago
|
||
Comment 8•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•