<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/234117>234117</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            lldb test TestSBData.py is flaky on Windows on Arm
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            lldb,
            test-suite,
            platform:windows
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          DavidSpickett
      </td>
    </tr>
</table>

<pre>
    https://lab.llvm.org/buildbot/#/builders/141/builds/24482

```
FAIL: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_with_run_command (TestSBData.SBDataAPICase.test_with_run_command)

Log Files:

 - C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\lldb-test-build\python_api\sbdata\TestSBData\Failure_test_with_run_command.log

======================================================================

FAIL: test_with_run_command (TestSBData.SBDataAPICase.test_with_run_command)

 Test the SBData APIs.

----------------------------------------------------------------------

Traceback (most recent call last):

  File "C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\API\python_api\sbdata\TestSBData.py", line 171, in test_with_run_command

 self.assert_data(data.GetUnsignedInt32, offset, 8)

  File "C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\API\python_api\sbdata\TestSBData.py", line 454, in assert_data

    self.assertTrue(

AssertionError: False is not true : GetUnsignedInt32(error, 0) did not succeed: error: unable to read data

Config=aarch64-C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe

----------------------------------------------------------------------

Ran 3 tests in 0.629s



FAILED (failures=1)


--

********************
```
Judging by the other flakes we've seen, we could be stepping too far and letting the `delete[]` run which would make the memory unreadable.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzcVk-PqzYQ_zTOZRQENmThwIElL9VWe1j17VOPkYEB3Bg7sk3SfPvK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