[Webkit-unassigned] [Bug 159299] New: [Win][Debug] Assertion fails in TestWTF.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 30 06:49:46 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=159299

            Bug ID: 159299
           Summary: [Win][Debug] Assertion fails in TestWTF.
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: pvollan at apple.com
                CC: lforschler at apple.com

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++

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160630/8157e733/attachment.html>


More information about the webkit-unassigned mailing list