[Webkit-unassigned] [Bug 158790] New: Assertion failure when initializing Intl prototypes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 15 10:22:46 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=158790

            Bug ID: 158790
           Summary: Assertion failure when initializing Intl prototypes
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: andre.bargull at gmail.com

SVN: rev202088
Build with: perl Tools/Scripts/build-jsc --gtk --debug


The following test case triggers this assertion error:
---
ASSERTION FAILED: !state.hadException()
---


Test case:
---
Object.prototype.localeMatcher = "invalid";
Intl.NumberFormat.prototype.resolvedOptions();
---


Stack trace:
---
#0  0x00007ffff6de7098 in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:317
#1  0x00007ffff6b837b8 in JSC::IntlNumberFormat::resolvedOptions (this=0x7fffaf1e3eb0, state=...) at ../../Source/JavaScriptCore/runtime/IntlNumberFormat.cpp:492
#2  0x00007ffff6b85d5f in JSC::IntlNumberFormatPrototypeFuncResolvedOptions (state=0x7fffffffcb40)
    at ../../Source/JavaScriptCore/runtime/IntlNumberFormatPrototype.cpp:149
#3  0x00007fffb0bff028 in ?? ()
#4  0x00007fffffffcba0 in ?? ()
#5  0x00007ffff69f26a1 in llint_entry () at ../../Source/WTF/wtf/RefPtr.h:79
---


Similar issues can be reproduced with:
---
Object.prototype.localeMatcher = "invalid"; 
Intl.NumberFormat.prototype.format(0);
---

And:
---
Object.prototype.localeMatcher = "invalid"; 
Intl.Collator.prototype.resolvedOptions();
---

And:
---
Object.prototype.localeMatcher = "invalid";
Intl.Collator.prototype.compare();
---

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160615/4b2e8352/attachment.html>


More information about the webkit-unassigned mailing list