dolphinsmalltalk / Dolphin

Dolphin Smalltalk Core Image
MIT License
301 stars 58 forks source link

VMTest>>#testInterruptPendingOverlappedCall locks up intermittently #1166

Closed blairmcg closed 2 years ago

blairmcg commented 2 years ago

There is a deadlock in the VM code for interrupting overlapped/threaded calls waiting for completion. This can occasionally result in VMTest>>#testInterruptPendingOverlappedCall locking up, which is visible in the appveyor build history as a build that runs for an hour before timing out.

To Reproduce

  1. Build VM in debug mode
  2. Start Dolphin under VS debugger
  3. Open browser on VMTest (regression tests need to be loaded)
  4. Switch to Unit Tests tab and press Run Tests

Expected behavior Tests run (slowly) to completion

Actual behavior Tests lock up in Kernel.Tests.VMTest>>#testInterruptPendingOverlappedCall