gabr42 / gabr42/OmniThreadLibrary

Bad address when casting FWaitHandle object to TWaiter

Open
#183 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Pascal
Stars
513
Forks
147
PR merge metrics
No merged PRs in 30d

Description

I'm not exactly sure whats going on here but it looks like the cast to TWaiter returned an invalid address into RAX, causing an address exception when trying to set .Signalled true.

![image](https://user-images.githubusercontent.com/2167449/178120806-d01fdafd-6878-4d3e-a55a-7ee2cdcdff8b.png)

app had a ram commit of 23GB, with working set of 21GB (machine has 32GB) with 14 running threads using the `Parallel.ForEach( ... ).NumTasks( System.CPUCount ).Execute( ...)` api.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.