WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
159299
[Win][Debug] Assertion fails in TestWTF.
https://bugs.webkit.org/show_bug.cgi?id=159299
Summary
[Win][Debug] Assertion fails in TestWTF.
Per Arne Vollan
Reported
2016-06-30 06:49:46 PDT
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++
Attachments
Patch
(1.35 KB, patch)
2016-06-30 06:57 PDT
,
Per Arne Vollan
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Per Arne Vollan
Comment 1
2016-06-30 06:57:17 PDT
Created
attachment 282436
[details]
Patch
WebKit Commit Bot
Comment 2
2016-06-30 10:49:15 PDT
Comment on
attachment 282436
[details]
Patch Clearing flags on attachment: 282436 Committed
r202686
: <
http://trac.webkit.org/changeset/202686
>
WebKit Commit Bot
Comment 3
2016-06-30 10:49:17 PDT
All reviewed patches have been landed. Closing bug.
Per Arne Vollan
Comment 4
2016-06-30 11:20:36 PDT
Thanks for reviewing :)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug