<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>187170</bug_id>
          
          <creation_ts>2018-06-28 23:39:27 -0700</creation_ts>
          <short_desc>[GTK][Debug] Crash at google calendar (ASSERTION FAILED: !getDirect(offset) || !JSValue::encode(getDirect(offset)))</short_desc>
          <delta_ts>2018-07-03 07:17:42 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>186989</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=186989</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>187036</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xabier Rodríguez Calvar">calvaris</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mcatanzaro</cc>
    
    <cc>webkit-unassigned</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1437709</commentid>
    <comment_count>0</comment_count>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2018-06-28 23:39:27 -0700</bug_when>
    <thetext>+++ This bug was initially created as a clone of Bug #187036 +++

1. open calendar.google.com (log in if needed)
2. try the &quot;7 days&quot; view (I don&apos;t know if this is strictly needed, it is just my default view)
3. click on the button &quot;right&quot; 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&amp;, JSC::PropertyName, JSC::JSValue, unsigned int, JSC::PutPropertySlot&amp;) [with JSC::JSObject::PutMode &lt;anonymous&gt; = (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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1438837</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-07-03 07:17:42 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 186989 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>