<?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>114266</bug_id>
          
          <creation_ts>2013-04-09 04:32:07 -0700</creation_ts>
          <short_desc>Get rid of truncated thread name warnings for non-Windows platforms</short_desc>
          <delta_ts>2013-04-11 10:05:09 -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>Web Template Framework</component>
          <version>528+ (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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Thiago Marcos P. Santos">tmpsantos</reporter>
          <assigned_to name="Thiago Marcos P. Santos">tmpsantos</assigned_to>
          <cc>aroben</cc>
    
    <cc>benjamin</cc>
    
    <cc>cdumez</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>commit-queue</cc>
    
    <cc>darin</cc>
    
    <cc>kling</cc>
    
    <cc>menard</cc>
    
    <cc>ojan.autocc</cc>
    
    <cc>rakuco</cc>
    
    <cc>roger_fong</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>871613</commentid>
    <comment_count>0</comment_count>
    <who name="Thiago Marcos P. Santos">tmpsantos</who>
    <bug_when>2013-04-09 04:32:07 -0700</bug_when>
    <thetext>ERROR: Thread name &quot;com.apple.WebKit.ProcessLauncher&quot; is longer than 31 characters and will be truncated by Visual Studio
/home/buildslave-1/webkit-buildslave/efl-linux-64-debug-wk2/build/Source/WTF/wtf/Threading.cpp(78) : WTF::ThreadIdentifier WTF::createThread(WTF::ThreadFunction, void*, const char*)
ERROR: Thread name &quot;com.apple.WebKit.EventDispatcher&quot; is longer than 31 characters and will be truncated by Visual Studio
/home/buildslave-1/webkit-buildslave/efl-linux-64-debug-wk2/build/Source/WTF/wtf/Threading.cpp(78) : WTF::ThreadIdentifier WTF::createThread(WTF::ThreadFunction, void*, const char*)
ERROR: Thread name &quot;com.apple.WebKit.PluginProcessConnectionManager&quot; is longer than 31 characters and will be truncated by Visual Studio
/home/buildslave-1/webkit-buildslave/efl-linux-64-debug-wk2/build/Source/WTF/wtf/Threading.cpp(78) : WTF::ThreadIdentifier WTF::createThread(WTF::ThreadFunction, void*, const char*)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>871636</commentid>
    <comment_count>1</comment_count>
      <attachid>197032</attachid>
    <who name="Thiago Marcos P. Santos">tmpsantos</who>
    <bug_when>2013-04-09 05:11:24 -0700</bug_when>
    <thetext>Created attachment 197032
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>871645</commentid>
    <comment_count>2</comment_count>
      <attachid>197032</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2013-04-09 05:34:06 -0700</bug_when>
    <thetext>Comment on attachment 197032
Patch

We had this enabled for all platforms because it seemed likely that long thread names would keep being introduced if the warning only appeared on Windows. But apparently this warning isn&apos;t effective. Maybe we should make it a compile-time error instead?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>871798</commentid>
    <comment_count>3</comment_count>
    <who name="Thiago Marcos P. Santos">tmpsantos</who>
    <bug_when>2013-04-09 06:51:05 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 197032 [details])
&gt; We had this enabled for all platforms because it seemed likely that long thread names would keep being introduced if the warning only appeared on Windows. But apparently this warning isn&apos;t effective. Maybe we should make it a compile-time error instead?

Not a Windows expert, but looks to me that you will have a problem only if the truncated names are the same, which doesn&apos;t happen today. Maybe is a better idea just keep my patch and file a bug if the collision ever occurs one day.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>873439</commentid>
    <comment_count>4</comment_count>
      <attachid>197032</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-04-10 20:10:49 -0700</bug_when>
    <thetext>Comment on attachment 197032
Patch

Clearing flags on attachment: 197032

Committed r148166: &lt;http://trac.webkit.org/changeset/148166&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>873440</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-04-10 20:10:51 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>873961</commentid>
    <comment_count>6</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2013-04-11 10:05:09 -0700</bug_when>
    <thetext>This is unfortunate for code that actually is used on Windows as well as other ports. We’d like to notice that the thread names are no good before actually running on Windows.

It seems that the problem comes with code that has no intention of running on Windows, getting warnings about a non-problem.

I guess we can just not worry about this any more unless the confusing thread names on Windows become a real world problem for someone, and then we can revisit this.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>197032</attachid>
            <date>2013-04-09 05:11:24 -0700</date>
            <delta_ts>2013-04-10 20:10:48 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-114266-20130409151112.patch</filename>
            <type>text/plain</type>
            <size>1489</size>
            <attacher name="Thiago Marcos P. Santos">tmpsantos</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTQ4MDA0CmRpZmYgLS1naXQgYS9Tb3VyY2UvV1RGL0NoYW5n
ZUxvZyBiL1NvdXJjZS9XVEYvQ2hhbmdlTG9nCmluZGV4IGVhZDRhZjY3Nzlj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