-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Request for clarification on the thread-safety (or lack thereof) of the Julia logging system #57376
Comments
I think one of the more surprising thing is described by @vtjnash as:
|
Attempts to add tests that demonstrate the issue here #57448 |
We discussed this in the multithreading community call (link) and identified three potential threadsafety issues: ConsoleLogger
Global logger
|
Am I missing something or won't all of these lead to regular exceptions rather than segfaults? |
Data races will lead to arbitrary UB, which will probably do pretty bad things (the best of which is to segfault) |
@vtjnash are there any other issues you're aware of? |
I did not find any (recent) issues tracking this, so feel free to mark as a duplicate if there is one.
There were some recent messages across various Slack channels that implied that logging is somehow inherently thread-unsafe. I believe that a lot of people were confused/surprised by this. I repeatedly asked for clarification on Slack. I don't want to put further pressure on anyone in particular, but I feel like this should be clarified by someone qualified to do so.
The text was updated successfully, but these errors were encountered: