-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
counts.MaxWorking > 0 (src/vm/win32threadpool.h Line: 202) assertion failure #9032
Comments
cc @kouvel |
The failure does also occur on 0a17ae1, which is built locally:
Build system: Ubuntu 17.04 The build repository is just cloned, with following change:
However, the failure doesn't occur with binaries, which are downloaded from: If I use |
@ruben-ayrapetyan, if you're able to repro this consistently, could you please get a stack trace and also check the value of MaxWorking at the time of failure (assuming it's 0). How many cores does the machine have? |
Also what's the value of ThreadpoolMgr::MinLimitTotalWorkerThreads? The only way I can see this happening is if MinLimitTotalWorkerThreads is set to 0 through Thread.SetMinThreads, which probably shouldn't be allowed anyway but I don't see any calls to it in the IL. Wondering if some binaries may be out of sync, could you also put a breakpoint in ThreadpoolMgr::SetMinThreads to make sure that is not the case? |
* Add test for setting min worker threads in thread pool to 0 Related to https://github.com/dotnet/coreclr/issues/14239 Depends on dotnet/coreclr#14864 * Add a verification removed in #25144 * Address feedback
Closing with fix above assuming that is what was happening |
Hello.
There is a failure when running binary-trees benchmark (details below):
Architecture: armel
Build type: Debug
Hardware: Odroid-XU4
Commit hash: 48c1ec9
CoreFX: https://ci.dot.net/job/dotnet_corefx/job/master/job/tizen_armel_cross_release/2952/artifact/bin/build.tar.gz (seems to be a989d4f)
Command line: CLR_ICU_VERSION_OVERRIDE=57.1 ./corerun -c . ../bin-trees.dll 16
Test: bin-trees.dll.zip - a slightly modified version of a binary-trees benchmark from benchmarksgame.alioth.debian.org
CC @jkotas @janvorli @Dmitri-Botcharnikov @gbalykov @kvochko
The text was updated successfully, but these errors were encountered: