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)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: gkw, Assigned: shu)

References

Details

(4 keywords, Whiteboard: [jsbugmon:])

Crash Data

Attachments

(2 files)

Attached file stack —
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)
Crash Signature: [@ Balloc] [@ js_strtod] [@ js::StringToNumber] → [@ Balloc] [@ js_strtod] [@ js::StringToNumber]
Whiteboard: [jsbugmon:update] → [jsbugmon:]
JSBugMon: Cannot process bug: Unable to automatically reproduce, please track manually.
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: general → shu
Attachment #795817 - Flags: review?(nmatsakis)
Opening up as per comment 2.
Group: core-security
Keywords: csec-dos
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 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+
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.

Attachment

General

Created:
Updated:
Size: