Summary: | [Win][Debug] Assertion fails in TestWTF. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Per Arne Vollan <pvollan> | ||||
Component: | Tools / Tests | Assignee: | Per Arne Vollan <pvollan> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | achristensen, bfulgham, commit-queue, lforschler | ||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Created attachment 282436 [details]
Patch
Comment on attachment 282436 [details] Patch Clearing flags on attachment: 282436 Committed r202686: <http://trac.webkit.org/changeset/202686> All reviewed patches have been landed. Closing bug. Thanks for reviewing :) |
The assert in the & operator in the UniqueRef class fails, because the UniqueRef instance has been moved. The Windows version of the UNUSED_PARAM macro is getting the address of the parameter, causing the assertion failure. > WTF.dll!WTFCrash() Line 317 C++ TestWTFLib.dll!WTF::UniqueRef<TestWebKitAPI::A>::operator&() Line 54 C++ TestWTFLib.dll!TestWebKitAPI::WTF_UniqueRef_Test::TestBody() Line 83 C++ TestWTFLib.dll!testing::Test::Run() Line 2070 C++ TestWTFLib.dll!testing::internal::TestInfoImpl::Run() Line 2318 C++ TestWTFLib.dll!testing::TestCase::Run() Line 2421 C++ TestWTFLib.dll!testing::internal::UnitTestImpl::RunAllTests() Line 4025 C++ TestWTFLib.dll!testing::UnitTest::Run() Line 3677 C++ TestWTFLib.dll!TestWebKitAPI::TestsController::run(int argc, char * * argv) Line 80 C++ TestWTFLib.dll!main(int argc, char * * argv) Line 53 C++ TestWTFLib.dll!dllLauncherEntryPoint(int argc, char * * argv) Line 60 C++ TestWTF.exe!main(int argc, const char * * argv) Line 247 C++