<?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>165483</bug_id>
          
          <creation_ts>2016-12-06 12:21:14 -0800</creation_ts>
          <short_desc>REGRESSION(r209399): Causes crashes when dumping JIT disassembly</short_desc>
          <delta_ts>2016-12-07 13:15:57 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Saboff">msaboff</reporter>
          <assigned_to name="Michael Saboff">msaboff</assigned_to>
          <cc>benjamin</cc>
    
    <cc>cdumez</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>commit-queue</cc>
    
    <cc>darin</cc>
    
    <cc>dbates</cc>
    
    <cc>ryanhaddad</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1256899</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2016-12-06 12:21:14 -0800</bug_when>
    <thetext>Looks like the RELEASE_ASSERT() at the end of sixCharacterHashStringToInteger() has an inverted check.  We want to assert that the string is terminated with a null character.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256901</commentid>
    <comment_count>1</comment_count>
      <attachid>296306</attachid>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2016-12-06 12:25:18 -0800</bug_when>
    <thetext>Created attachment 296306
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256903</commentid>
    <comment_count>2</comment_count>
      <attachid>296306</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2016-12-06 12:27:06 -0800</bug_when>
    <thetext>Comment on attachment 296306
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256920</commentid>
    <comment_count>3</comment_count>
      <attachid>296306</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2016-12-06 12:58:45 -0800</bug_when>
    <thetext>Comment on attachment 296306
Patch

Oops! Thanks very much for fixing this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256921</commentid>
    <comment_count>4</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2016-12-06 12:59:10 -0800</bug_when>
    <thetext>Wonder why EWS missed it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256922</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2016-12-06 13:01:23 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; Wonder why EWS missed it.

I don&apos;t think the debug tests exercise this path.  That would require something to dump the hashed name of a compiled JS function.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256923</commentid>
    <comment_count>6</comment_count>
      <attachid>296306</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-12-06 13:04:10 -0800</bug_when>
    <thetext>Comment on attachment 296306
Patch

Clearing flags on attachment: 296306

Committed r209413: &lt;http://trac.webkit.org/changeset/209413&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256924</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-12-06 13:04:15 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256958</commentid>
    <comment_count>8</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-12-06 14:08:41 -0800</bug_when>
    <thetext>*** Bug 165490 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256959</commentid>
    <comment_count>9</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2016-12-06 14:11:25 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; Wonder why EWS missed it.
&gt; 
&gt; I don&apos;t think the debug tests exercise this path.  That would require
&gt; something to dump the hashed name of a compiled JS function.

I was wrong, the debug bots did catch this (https://bugs.webkit.org/show_bug.cgi?id=165490).  It just took a little time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1257122</commentid>
    <comment_count>10</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2016-12-06 18:51:00 -0800</bug_when>
    <thetext>Are &quot;the debug bots&quot; part of EWS, or part of some other automated WebKit testing?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1257123</commentid>
    <comment_count>11</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2016-12-06 18:51:40 -0800</bug_when>
    <thetext>Also, Michael, do you know why these need to be RELEASE_ASSERT and not just ASSERT?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1257261</commentid>
    <comment_count>12</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2016-12-07 10:05:25 -0800</bug_when>
    <thetext>(In reply to comment #10)
&gt; Are &quot;the debug bots&quot; part of EWS, or part of some other automated WebKit
&gt; testing?

There is a mac-debug EWS bot.  I don&apos;t know if this bot would / did catch the issue.  It would depend on what tests that bot runs.

&gt; Also, Michael, do you know why these need to be RELEASE_ASSERT and not just ASSERT?

I don&apos;t know why this isn&apos;t simply an ASSERT.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1257333</commentid>
    <comment_count>13</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-12-07 13:15:57 -0800</bug_when>
    <thetext>(In reply to comment #12)
&gt; (In reply to comment #10)
&gt; &gt; Are &quot;the debug bots&quot; part of EWS, or part of some other automated WebKit
&gt; &gt; testing?
&gt; 
&gt; There is a mac-debug EWS bot.  I don&apos;t know if this bot would / did catch
&gt; the issue.  It would depend on what tests that bot runs.

The failure was caught after the patch was landed by the bots that run JSC tests. EWS does not currently run JSC tests.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>296306</attachid>
            <date>2016-12-06 12:25:18 -0800</date>
            <delta_ts>2016-12-06 13:04:10 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>165483.patch</filename>
            <type>text/plain</type>
            <size>1250</size>
            <attacher name="Michael Saboff">msaboff</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XVEYvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFNvdXJjZS9XVEYvQ2hh
bmdlTG9nCShyZXZpc2lvbiAyMDk0MTEpCisrKyBTb3VyY2UvV1RGL0NoYW5nZUxvZwkod29ya2lu
ZyBjb3B5KQpAQCAtMSwzICsxLDE2IEBACisyMDE2LTEyLTA2ICBNaWNoYWVsIFNhYm9mZiAgPG1z
YWJvZmZAYXBwbGUuY29tPgorCisgICAgICAgIFJFR1JFU1NJT04ocjIwOTM5OSk6IENhdXNlcyBj
cmFzaGVzIHdoZW4gZHVtcGluZyBKSVQgZGlzYXNzZW1ibHkKKyAgICAgICAgaHR0cHM6Ly9idWdz
LndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE2NTQ4MworCisgICAgICAgIFJldmlld2VkIGJ5
IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIEZpeGVkIHRoZSBSRUxFQVNFX0FTU0VSVCgpIHRv
IGNoZWNrI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