<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Win][Debug] Assertion fails in TestWTF."
href="https://bugs.webkit.org/show_bug.cgi?id=159299">159299</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[Win][Debug] Assertion fails in TestWTF.
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>Tools / Tests
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pvollan@apple.com
</td>
</tr>
<tr>
<th>CC</th>
<td>lforschler@apple.com
</td>
</tr></table>
<p>
<div>
<pre>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.
<span class="quote">>        WTF.dll!WTFCrash() Line 317        C++</span >
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++</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>