Bug 187170

Summary: [GTK][Debug] Crash at google calendar (ASSERTION FAILED: !getDirect(offset) || !JSValue::encode(getDirect(offset)))
Product: WebKit Reporter: Xabier Rodríguez Calvar <calvaris>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: mcatanzaro, webkit-unassigned
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=186989
Bug Depends on: 187036    
Bug Blocks:    

Description Xabier Rodríguez Calvar 2018-06-28 23:39:27 PDT
+++ This bug was initially created as a clone of Bug #187036 +++

1. open calendar.google.com (log in if needed)
2. try the "7 days" view (I don't know if this is strictly needed, it is just my default view)
3. click on the button "right" to go to the next 7 days

With MiniBrowser and master debug, between steps 2 and 3, I am getting:

ASSERTION FAILED: !getDirect(offset) || !JSValue::encode(getDirect(offset))
DerivedSources/ForwardingHeaders/JavaScriptCore/JSObjectInlines.h(335) : bool JSC::JSObject::putDirectInternal(JSC::VM&, JSC::PropertyName, JSC::JSValue, unsigned int, JSC::PutPropertySlot&) [with JSC::JSObject::PutMode <anonymous> = (JSC::JSObject::PutMode)1]
1   0x7f5baa055317 /home/calvaris/gnome/WebKit/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.0.so.18(WTFCrash+0x9) [0x7f5baa055317]
2   0x7f5bb49d7b4f /home/calvaris/gnome/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN3JSC8JSObject17putDirectInternalILNS0_7PutModeE1EEEbRNS_2VMENS_12PropertyNameENS_7JSValueEjRNS_15PutPropertySlotE+0x67b) [0x7f5bb49d7b4f]
3   0x7f5bb49d1eb1 /home/calvaris/gnome/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN3JSC8JSObject9putDirectERNS_2VMENS_12PropertyNameENS_7JSValueEj+0xff) [0x7f5bb49d1eb1]
4   0x7f5ba9cf50e6 /home/calvaris/gnome/WebKit/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.0.so.18(_ZN3JSC10JSFunction18getOwnPropertySlotEPNS_8JSObjectEPNS_9ExecStateENS_12PropertyNameERNS_12PropertySlotE+0x292) [0x7f5ba9cf50e6]
5   0x7f5ba9cf57fe /home/calvaris/gnome/WebKit/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.0.so.18(_ZN3JSC10JSFunction3putEPNS_6JSCellEPNS_9ExecStateENS_12PropertyNameENS_7JSValueERNS_15PutPropertySlotE+0x240) [0x7f5ba9cf57fe]
6   0x7f5ba94e1232 /home/calvaris/gnome/WebKit/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.0.so.18(_ZN3JSC6JSCell9putInlineEPNS_9ExecStateENS_12PropertyNameENS_7JSValueERNS_15PutPropertySlotE+0x9e) [0x7f5ba94e1232]
7   0x7f5ba94e3fe7 /home/calvaris/gnome/WebKit/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.0.so.18(_ZN3JSC7JSValue9putInlineEPNS_9ExecStateENS_12PropertyNameES0_RNS_15PutPropertySlotE+0x83) [0x7f5ba94e3fe7]
8   0x7f5ba9a889ec /home/calvaris/gnome/WebKit/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.0.so.18(+0x278e9ec) [0x7f5ba9a889ec]

As stated in bug comment 1 of bug 187036.
Comment 1 Michael Catanzaro 2018-07-03 07:17:42 PDT

*** This bug has been marked as a duplicate of bug 186989 ***