[ 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'll fix it as soon as bug #84446 is fixed.
Isn't it true that the code that this bug depends on is still r? and not landed?
(In reply to comment #1) > Isn't it true that the code that this bug depends on is still r? and not landed? Yes.
This should be fixed now see http://trac.webkit.org/changeset/115314