-
Notifications
You must be signed in to change notification settings - Fork 913
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
Something causing dataraces? #378
Comments
*edited the original post |
The First warning
at The second Warning
at in both warnings, the driver is listed in the trace before any of the PGE functions. i can't say with certainty, but this makes me think that the problem isn't PGE, but the AMD driver. I'll wait for someone else who knows more to weigh in, but that's my take on it. |
Hello! Thank you for your response. I am indeed using a radeon AMD driver. There are actually a lot more warnings, these are just the first two. |
Hey, you're welcome! i've never personally done thread sanitizing, but when i used valgrind for memory checks, i had a screen full of memory related problems just from my video driver and the prevailing wisdom at the time, don't know if it has changed, was to ignore them. It was so common that there were specific nvidia "ignore" configurations for valgrind. I wonder if this is a similar situation. EDIT: I wonder what happens when you take graphics and the platform out of the equation by adding this to your compiler flags
Full build command
and it didn't have any messages at all!, obviously without graphics or a platform it's not gonna create a window or renderer. |
Hello I ran the examplel PGE program that Javid provides (olcExampleProgram.cpp) with a thread sanitizer and got the warnings shown in the screenshot below. I'm not sure if these warnings are substantial. Any thoughts? I'm compiling with cmake .. -DCMAKE_CXX_FLAGS="-ggdb -fsanitize=thread". Using CMake btw.
The text was updated successfully, but these errors were encountered: