<?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>84868</bug_id>
          
          <creation_ts>2012-04-25 08:32:22 -0700</creation_ts>
          <short_desc>[GTK] FunctionalTest.RefCountedStorage fails in Debug bot</short_desc>
          <delta_ts>2012-04-26 07:48:11 -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>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>84446</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mrobinson</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>609789</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2012-04-25 08:32:22 -0700</bug_when>
    <thetext>[ RUN      ] FunctionalTest.RefCountedStorage
ASSERTION FAILED: m_key != PTHREAD_KEYS_MAX
../../Source/WTF/wtf/ThreadIdentifierDataPthreads.cpp(65) : static WTF::ThreadIdentifier WTF::ThreadIdentifierData::identifier()
1   0x458714 ./WebKitBuild/Debug/Programs/TestWebKitAPI/WTF/TestFunctional() [0x458714]
2   0x42ee99 ./WebKitBuild/Debug/Programs/TestWebKitAPI/WTF/TestFunctional() [0x42ee99]
3   0x4074c7 ./WebKitBuild/Debug/Programs/TestWebKitAPI/WTF/TestFunctional() [0x4074c7]
4   0x407600 ./WebKitBuild/Debug/Programs/TestWebKitAPI/WTF/TestFunctional() [0x407600]
5   0x409ccc ./WebKitBuild/Debug/Programs/TestWebKitAPI/WTF/TestFunctional() [0x409ccc]
6   0x408a51 ./WebKitBuild/Debug/Programs/TestWebKitAPI/WTF/TestFunctional() [0x408a51]
7   0x409d32 ./WebKitBuild/Debug/Programs/TestWebKitAPI/WTF/TestFunctional() [0x409d32]
8   0x408aa4 ./WebKitBuild/Debug/Programs/TestWebKitAPI/WTF/TestFunctional() [0x408aa4]
9   0x406646 ./WebKitBuild/Debug/Programs/TestWebKitAPI/WTF/TestFunctional() [0x406646]
10  0x41084f ./WebKitBuild/Debug/Programs/TestWebKitAPI/WTF/TestFunctional() [0x41084f]
11  0x410df9 ./WebKitBuild/Debug/Programs/TestWebKitAPI/WTF/TestFunctional() [0x410df9]
12  0x41140e ./WebKitBuild/Debug/Programs/TestWebKitAPI/WTF/TestFunctional() [0x41140e]
13  0x415c39 ./WebKitBuild/Debug/Programs/TestWebKitAPI/WTF/TestFunctional() [0x415c39]
14  0x414896 ./WebKitBuild/Debug/Programs/TestWebKitAPI/WTF/TestFunctional() [0x414896]
15  0x42d331 ./WebKitBuild/Debug/Programs/TestWebKitAPI/WTF/TestFunctional() [0x42d331]
16  0x7f3fbe383ead /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f3fbe383ead]
17  0x405729 ./WebKitBuild/Debug/Programs/TestWebKitAPI/WTF/TestFunctional() [0x405729]
Running main() from gtest_main.cc

The problem is that threading is not initialized. Instead of using libgtestmain from gtwest, we should use the same main than wk2 unit tests, which uses the TestsController class that initilizes threading before running tests. I&apos;ll fix it as soon as bug #84446 is fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>609793</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2012-04-25 08:35:58 -0700</bug_when>
    <thetext>Isn&apos;t it true that the code that this bug depends on is still r? and not landed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>609804</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2012-04-25 08:44:55 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Isn&apos;t it true that the code that this bug depends on is still r? and not landed?

Yes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>610602</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2012-04-26 07:48:11 -0700</bug_when>
    <thetext>This should be fixed now see http://trac.webkit.org/changeset/115314</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>