-
Notifications
You must be signed in to change notification settings - Fork 3.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
Dialog box pops up when using Debug build of LightGBM #3151
Comments
Thanks for the report and for using We do not maintain If you are able to reproduce this pop up using only |
Sorry, I think you have misunderstood, the issue has nothing to do with LightGBM.Net, I maintain that project, and I am just using it as a way to explain how to replicate the issue. The error is being generated by the native lightgbm dll. |
oh I definitely did misunderstand. Can you please provide a reproducible example that doesn't rely on |
@mjmckp The `Debug' is the 'debug' mode of lightgbm.dll or LightGBM.net? |
@guolinke The debug build of |
@mjmckp This is due to a bug in undefined "num_threads" of the TrainingShareStates. The num_threads of a TrainingShareStates is set in this function. However, when the bin is nullptr, num_threads of TrainingShareStates is not set.
But later on, this num_threads will be passed to num_threads argument of omp here
which causes the error. Inserting We will resolve this with a pull request together with the problem in #3152. |
@shiyu1994 I think you can create a PR to fix this first. |
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
When I attempt to use a debug build of LightGBM, when I create the booster object with default parameters, I get the following dialog box pop up:
This doesn't happen with a release build. I think this is being generated by OpenMP, I've seen mention of it elsewhere in projects that use OpenMP.
Steps to reproduce:
Switch to the(No longer necessary, use master branch)update_jun_20
branchLightGBM.Net\native\Debug
folderThe text was updated successfully, but these errors were encountered: