<?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>223686</bug_id>
          
          <creation_ts>2021-03-24 04:08:51 -0700</creation_ts>
          <short_desc>git-webkit find doesn&apos;t work well with unicode characters in author name</short_desc>
          <delta_ts>2021-04-09 14:56:16 -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>Tools / Tests</component>
          <version>WebKit Nightly Build</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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>ap</cc>
    
    <cc>jbedard</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zhifei_fang</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1743269</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-03-24 04:08:51 -0700</bug_when>
    <thetext>git-webkit find doesn&apos;t work well with unicode characters in author name

https://build.webkit.org/#/builders/28/builds/566
python Tools/Scripts/git-webkit find r274645

Title: Nullptr crash in RenderStyle::shapeOutside()

Traceback (most recent call last):
  File &quot;Tools/Scripts/git-webkit&quot;, line 49, in &lt;module&gt;
    subversion=&apos;https://svn.webkit.org/repository/webkit&apos;,
  File &quot;/Volumes/Data/worker/ios-simulator-14-release-tests-wk2/build/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py&quot;, line 84, in main
    subversion=subversion,
  File &quot;/Volumes/Data/worker/ios-simulator-14-release-tests-wk2/build/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/find.py&quot;, line 118, in main
    return Info.main(args, repository=repository, reference=args.argument[0], **kwargs)
  File &quot;/Volumes/Data/worker/ios-simulator-14-release-tests-wk2/build/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/find.py&quot;, line 87, in main
    print(u&apos;Author: {}&apos;.format(commit.author))
UnicodeEncodeError: &apos;ascii&apos; codec can&apos;t encode character u&apos;\xe9&apos; in position 10: ordinal not in range(128)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1743270</commentid>
    <comment_count>1</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-03-24 04:09:18 -0700</bug_when>
    <thetext>Author name which git-webkit couldn&apos;t handle properly was: Frédéric Wang</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1743271</commentid>
    <comment_count>2</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-03-24 04:11:42 -0700</bug_when>
    <thetext>Steps to reproduce (on python 2):

&gt;&gt;&gt; u&apos;Author: {}&apos;.format(&apos;Fréd&apos;)
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
UnicodeDecodeError: &apos;ascii&apos; codec can&apos;t decode byte 0xc3 in position 2: ordinal not in range(128)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1743917</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2021-03-25 14:26:37 -0700</bug_when>
    <thetext>I can&apos;t reproduce this problem on trunk:

python Tools/Scripts/git-webkit find r274645
Title: Nullptr crash in RenderStyle::shapeOutside()
Author: Frédéric Wang &lt;fred.wang@free.fr&gt;
Date: Thu Mar 18 07:44:01 2021
Revision: 274645
Identifier: 235470@trunk

The issue is that there aren&apos;t any commits in the last week that could have fixed this problem</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1745577</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-03-31 04:09:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/76047116&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1747875</commentid>
    <comment_count>5</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-04-07 07:30:03 -0700</bug_when>
    <thetext>This issue still happening, probably for every commit by authors containing non-ascii characters in their name. e.g.:

https://ews-build.webkit.org/#/builders/8/builds/49976
https://ews-build.webkit.org/#/builders/9/builds/44389
https://ews-build.webkit.org/#/builders/36/builds/32660
https://ews-build.webkit.org/#/builders/47/builds/13126
https://ews-build.webkit.org/#/builders/48/builds/13220
https://ews-build.webkit.org/#/builders/49/builds/12750
https://ews-build.webkit.org/#/builders/50/builds/12986
https://ews-build.webkit.org/#/builders/51/builds/10740
https://ews-build.webkit.org/#/builders/52/builds/12394
https://ews-build.webkit.org/#/builders/53/builds/12048
https://ews-build.webkit.org/#/builders/55/builds/6174
https://ews-build.webkit.org/#/builders/58/builds/6215
https://ews-build.webkit.org/#/builders/59/builds/5290
https://ews-build.webkit.org/#/builders/61/builds/1718
https://ews-build.webkit.org/#/builders/61/builds/1717

UnicodeEncodeError: &apos;ascii&apos; codec can&apos;t encode character u&apos;\xf1&apos; in position 19: ordinal not in range(128)

These builds were for r275596 by &apos;Enrique Ocaña González&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1747879</commentid>
    <comment_count>6</comment_count>
      <attachid>425391</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-04-07 07:50:46 -0700</bug_when>
    <thetext>Created attachment 425391
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1747880</commentid>
    <comment_count>7</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2021-04-07 07:52:27 -0700</bug_when>
    <thetext>Confused by my inability to reproduce, but a ? Seems better than blowing up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1747923</commentid>
    <comment_count>8</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-04-07 09:39:34 -0700</bug_when>
    <thetext>Is there a plan for how to fix it for good, so that names are visible?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1747949</commentid>
    <comment_count>9</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-04-07 10:13:55 -0700</bug_when>
    <thetext>(In reply to Jonathan Bedard from comment #7)
&gt; Confused by my inability to reproduce, but a ? Seems better than blowing up.
I am also unable to reproduce this. This works fine with the problematic commit on my local machine. I even tried on an ews machine which indicated this failure, and I wasn&apos;t able to reproduce.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1747951</commentid>
    <comment_count>10</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-04-07 10:17:41 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #8)
&gt; Is there a plan for how to fix it for good, so that names are visible?
This issue doesn&apos;t happen on Python 3. Also, we are not able to reproduce, so seems like some corner case which fails only in buildbot (and in buildbot we anyways hide this build-step, and only show the commit-identifier). 

So, people aren&apos;t likely to hit this problem on their machines. Automation doesn&apos;t show the author name anyways. We can prioritize the real fix if we notice this problem anywhere else, where it has any visible impact.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1747956</commentid>
    <comment_count>11</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-04-07 10:26:09 -0700</bug_when>
    <thetext>Committed r275612 (236257@main): &lt;https://commits.webkit.org/236257@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 425391.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1747967</commentid>
    <comment_count>12</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-04-07 10:48:47 -0700</bug_when>
    <thetext>If no one is going to see this, it&apos;s better to say something like &quot;cannot print the name, please file a bug if seeing this locally&quot;, not just &quot;?&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1747974</commentid>
    <comment_count>13</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-04-07 11:03:29 -0700</bug_when>
    <thetext>Reopening to attach another patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1747976</commentid>
    <comment_count>14</comment_count>
      <attachid>425420</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-04-07 11:05:48 -0700</bug_when>
    <thetext>Created attachment 425420
[fast-cq] Follow-up Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1748875</commentid>
    <comment_count>15</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-04-09 14:56:14 -0700</bug_when>
    <thetext>Committed r275778 (236351@main): &lt;https://commits.webkit.org/236351@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 425420.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>425391</attachid>
            <date>2021-04-07 07:50:46 -0700</date>
            <delta_ts>2021-04-09 08:01:59 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-223686-20210407105045.patch</filename>
            <type>text/plain</type>
            <size>1646</size>
            <attacher name="Aakash Jain">aakash_jain</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI3NTYwNSkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZ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HJldmlzaW9uIDI3NTYwNSkKKysrIFRvb2xzL1NjcmlwdHMvbGlicmFyaWVzL3dl
YmtpdHNjbXB5L3dlYmtpdHNjbXB5L3Byb2dyYW0vZmluZC5weQkod29ya2luZyBjb3B5KQpAQCAt
ODQsNyArODQsMTAgQEAgY2xhc3MgSW5mbyhDb21tYW5kKToKIAogICAgICAgICBpZiBjb21taXQu
bWVzc2FnZToKICAgICAgICAgICAgIHByaW50KHUnVGl0bGU6IHt9Jy5mb3JtYXQoY29tbWl0Lm1l
c3NhZ2Uuc3BsaXRsaW5lcygpWzBdKSkKLSAgICAgICAgcHJpbnQodSdBdXRob3I6IHt9Jy5mb3Jt
YXQoY29tbWl0LmF1dGhvcikpCisgICAgICAgIHRyeToKKyAgICAgICAgICAgIHByaW50KHUnQXV0
aG9yOiB7fScuZm9ybWF0KGNvbW1pdC5hdXRob3IpKQorICAgICAgICBleGNlcHQgKFVuaWNvZGVF
bmNvZGVFcnJvciwgVW5pY29kZURlY29kZUVycm9yKToKKyAgICAgICAgICAgIHByaW50KCdBdXRo
b3I6ID8nKQogICAgICAgICBwcmludChkYXRldGltZS5mcm9tdGltZXN0YW1wKGNvbW1pdC50aW1l
c3RhbXApLnN0cmZ0aW1lKCdEYXRlOiAlYSAlYiAlZCAlSDolTTolUyAlWScpKQogICAgICAgICBp
ZiBhcmdzLnZlcmJvc2UgPiAwIG9yIGNvbW1pdC5yZXZpc2lvbjoKICAgICAgICAgICAgIHByaW50
KCdSZXZpc2lvbjoge30nLmZvcm1hdChjb21taXQucmV2aXNpb24gb3IgJ04vQScpKQo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>425420</attachid>
            <date>2021-04-07 11:05:48 -0700</date>
            <delta_ts>2021-04-09 14:56:15 -0700</delta_ts>
            <desc>[fast-cq] Follow-up Patch</desc>
            <filename>bug-223686-20210407140547.patch</filename>
            <type>text/plain</type>
            <size>1497</size>
            <attacher name="Aakash Jain">aakash_jain</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI3NTYxMykKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDEzIEBACisyMDIxLTA0LTA3ICBBYWthc2ggSmFpbiAgPGFha2FzaF9qYWluQGFwcGxlLmNv
bT4KKworICAgICAgICBnaXQtd2Via2l0IGZpbmQgZG9lc24ndCB3b3JrIHdlbGwgd2l0aCB1bmlj
b2RlIGNoYXJhY3RlcnMgaW4gYXV0aG9yIG5hbWUgKGZvbGxvdy11cCBmaXgpCisgICAgICAgIGh0
dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0yMjM2ODYKKworICAgICAgICBS
ZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICAqIFNjcmlwdHMvbGlicmFyaWVz
L3dlYmtpdHNjbXB5L3dlYmtpdHNjbXB5L3Byb2dyYW0vZmluZC5weToKKyAgICAgICAgKEluZm8u
bWFpbik6IFVwZGF0ZWQgdGhlIGVycm9yIG1lc3NhZ2UuCisKIDIwMjEtMDQtMDcgIEpvbmF0aGFu
IEJlZGFyZCAgPGpiZWRhcmRAYXBwbGUuY29tPgogCiAgICAgICAgIFtidWlsZC53ZWJraXQub3Jn
XSBDb21taXQgcXVldWUgc2hvdWxkIHBvc3QgdGhlIGlkZW50aWZpZXIKSW5kZXg6IFRvb2xzL1Nj
cmlwdHMvbGlicmFyaWVzL3dlYmtpdHNjbXB5L3dlYmtpdHNjbXB5L3Byb2dyYW0vZmluZC5weQo9
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09Ci0tLSBUb29scy9TY3JpcHRzL2xpYnJhcmllcy93ZWJraXRzY21weS93ZWJraXRz
Y21weS9wcm9ncmFtL2ZpbmQucHkJKHJldmlzaW9uIDI3NTYxMykKKysrIFRvb2xzL1NjcmlwdHMv
bGlicmFyaWVzL3dlYmtpdHNjbXB5L3dlYmtpdHNjbXB5L3Byb2dyYW0vZmluZC5weQkod29ya2lu
ZyBjb3B5KQpAQCAtODcsNyArODcsNyBAQCBjbGFzcyBJbmZvKENvbW1hbmQpOgogICAgICAgICB0
cnk6CiAgICAgICAgICAgICBwcmludCh1J0F1dGhvcjoge30nLmZvcm1hdChjb21taXQuYXV0aG9y
KSkKICAgICAgICAgZXhjZXB0IChVbmljb2RlRW5jb2RlRXJyb3IsIFVuaWNvZGVEZWNvZGVFcnJv
cik6Ci0gICAgICAgICAgICBwcmludCgnQXV0aG9yOiA/JykKKyAgICAgICAgICAgIHByaW50KCdF
cnJvcjogVW5hYmxlIHRvICBwcmludCBjb21taXQgYXV0aG9yIG5hbWUsIHBsZWFzZSBmaWxlIGEg
YnVnIGlmIHNlZWluZyB0aGlzIGxvY2FsbHkuJykKICAgICAgICAgcHJpbnQoZGF0ZXRpbWUuZnJv
bXRpbWVzdGFtcChjb21taXQudGltZXN0YW1wKS5zdHJmdGltZSgnRGF0ZTogJWEgJWIgJWQgJUg6
JU06JVMgJVknKSkKICAgICAgICAgaWYgYXJncy52ZXJib3NlID4gMCBvciBjb21taXQucmV2aXNp
b246CiAgICAgICAgICAgICBwcmludCgnUmV2aXNpb246IHt9Jy5mb3JtYXQoY29tbWl0LnJldmlz
aW9uIG9yICdOL0EnKSkK
</data>

          </attachment>
      

    </bug>

</bugzilla>