-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Data parser is not thread safe. #4112
Comments
@trivialfis That's quite concerning. Would you be able to post a small re-producible example? I am actually dealing with a memory bug in MXNet that may be related. |
@hcho3 I'm not sure it would be reproducible on your machine. It's found in a quite surprising way. Fetch my CMake branch: Add after the check. Run I'm running Ubuntu 18.04 with CUDA 9.2 , gcc 7.3.0. |
And the cmake flags: |
Related: dmlc/dmlc-core#505 |
@trivialfis I think dmlc/dmlc-core#511 would fix it. |
@hcho3 Closing for now. |
This is actually a bug in
dmlc-core
, but it's critical and I found it when debugging XGBoost.While looking into #4107 , after some slight modifications, I got a segfault from
gpu_predictor.MGPU_PicklingTest
. Output from ASAN is attached at the end. Some locks for the text parser may be required. @hcho3The text was updated successfully, but these errors were encountered: