-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
[BUG] - App crashes when creating clients from multiple threads #17
Labels
bug
Something isn't working
Comments
Changing Lines 59 to 90 in e538105
into
helps a little(removes crashes from Client::new functions), but later threaded(and also possibly non threaded) operations like mkdir still fails. More and more I think it might be limitation of libsmbclient |
This code crashes app, so this is problem of libsmbclient.
in build.rs
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When creating multiple clients from multiple threads, app crashes with info like
realloc(): invalid next size
code
Project - testt.zip
valgrind shows such errors
I want to connect to different servers, basing on user input from different threads - should I use some cache/lock mechanism or this code is fine, but there is bug in this repo?
Environment
The text was updated successfully, but these errors were encountered: