-
Notifications
You must be signed in to change notification settings - Fork 123
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
Async appender in msys2 ucrt-x86_64-g++ occasionally blocks #402
Comments
The cause was a failure to lock the mutex before calling notify_all(), which seems to be a problem in newer compilers (gcc 14, MSVC 2022 Release builds). No re-occurance during tens of thousands of invocations of |
Reopening this as it seems to still be a problem on Github CI build machines. Unable to reproduce on AMD Ryzen 7 3750H in tens of thousands of invocations of |
Hello Stephen, Many thanks |
Releases are somewhat periodic, but I think we do have enough to do one soon. Using master is always at your own risk |
The following is the stack trace obtained in #415 suggesting some sort of race condition in ring buffer slot mangement:
|
And another stack trace captured by #415 possibly indicating a race condition problem:
|
The frequency varies from about 1 in 10 in Github CI build machines to 1 in 3000 on a AMD Ryzen 7 3750H.
The debugger shows all threads blocking on condition_variable::wait
The text was updated successfully, but these errors were encountered: