-
Notifications
You must be signed in to change notification settings - Fork 23
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
Thread safety issue #26
Comments
There definitely could be some thread-safety issues, I'll have a look at it. Do you have more context? Did you run into bugs/crashes? Is there any debugging log you'd like to share? What makes you think that line is the cause of your issue? Thanks |
Multiple threads modify schemas at the same time(https://github.com/n4r1b/ferrisetw/blob/master/src/schema.rs#L130), resulting in crashes or memory errors. |
I'm planning to take care of this in an upcoming release of this crate |
Hello. If you're on a hurry, you can have try to use this temporary branch, which resolves the very issue you've pinpointed. There is some extra work to do however regarding possible race conditions between threads where one thread would drop the |
This has been fixed in ferrisetw 1.0 |
ferrisetw has a thread safety issue(xiaopengli89/precord#9), I checked the code and the cause of the issue should be here:
https://github.com/n4r1b/ferrisetw/blob/master/src/trace.rs#L99
The text was updated successfully, but these errors were encountered: