Bug 84868 - [GTK] FunctionalTest.RefCountedStorage fails in Debug bot
Summary: [GTK] FunctionalTest.RefCountedStorage fails in Debug bot
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on: 84446
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-25 08:32 PDT by Carlos Garcia Campos
Modified: 2012-04-26 07:48 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2012-04-25 08:32:22 PDT
[ 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.
Comment 1 Martin Robinson 2012-04-25 08:35:58 PDT
Isn't it true that the code that this bug depends on is still r? and not landed?
Comment 2 Carlos Garcia Campos 2012-04-25 08:44:55 PDT
(In reply to comment #1)
> Isn't it true that the code that this bug depends on is still r? and not landed?

Yes.
Comment 3 Carlos Garcia Campos 2012-04-26 07:48:11 PDT
This should be fixed now see http://trac.webkit.org/changeset/115314