-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Crash with doctest on attempting to debug the editor when compiling with tests=yes
#40666
Comments
As discussed in IRC full rebuild fixes this issue |
Reopening because it now happens sporadically. 👀 When I do manage to startup the editor, I get either #40667 or #40654 on exiting Godot while debugging. I then stop the debugging forcefully, and when try to debug again, I get this crash. Stopping the debugging again and now can launch the editor, and the same steps can be repeated. That's with full engine rebuild as described above: |
I will look into this now and see if this happens on OSX too, under the same conditions. |
If not will try out MSVC/vscode on windows |
Some good news OSX cannot reproduce this, so indeed it's isolated to VSCode on windows with MSVC. |
When compiling with
I get this trace rarely, like need to start debug 10 times, but mostly I get the call stack as described in the issue above. |
@RevoluPowered still getting crashes with #40681, but I got curious whether removing all |
Same crash if compiled under VS2017 or VS2019 toolchains. Found very similar issue regarding https://en.wikipedia.org/wiki/Thread-local_storage#Windows_implementation |
BTW, have anyone tested Mingw build? |
tests=yes
tests=yes
tests=yes
Godot version:
4.0-dev 5287124
OS/device including version:
Windows 10
target=debug, bits=64
MSVC version 14.2, arch amd64
Happens in both VS2017 and VS2019.
Issue description:
Call stack from VS Code:
Screenshot from Visual Studio:
Running the editor or tests without debugger works fine.
Steps to reproduce:
Compile the engine with
scons tests=yes
: #40696.I'm using the C++ extension for VSCode to debug Godot with Visual Studio Windows debugger, with the configuration file similar to this:
Minimal reproduction project:
Happens even on project manager startup.
The text was updated successfully, but these errors were encountered: