Skip to content
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 after exiting game session: MinGW thread_local problem #14140

Closed
sfan5 opened this issue Dec 20, 2023 · 5 comments · Fixed by #14329
Closed

Crash after exiting game session: MinGW thread_local problem #14140

sfan5 opened this issue Dec 20, 2023 · 5 comments · Fixed by #14329
Labels
Blocker The issue needs to be addressed before the next release. Bug Issues that were confirmed to be a bug Regression Something that used to work no longer does. Windows
Milestone

Comments

@sfan5
Copy link
Member

sfan5 commented Dec 20, 2023

happening since 47e557b

backtrace looks like this:

Thread 31 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 3856.0x1e98]
0x00007ff79cca5c32 in LogStream::~LogStream() ()
(gdb) bt
#0  0x00007ff79cca5c32 in LogStream::~LogStream() ()
#1  0x00007ffcd274c099 in ?? ()
#2  0x00007ffd0ab4a050 in ?? ()
#3  0x00007ffd24d7f05b in ?? ()
#4  0x0000000000000001 in ?? ()
#5  0x000000000cff2240 in ?? ()
#6  0x0000000000000001 in ?? ()
#7  0x000000000cff2240 in ?? ()
#8  0x00007ffd0ab4a050 in ?? ()
#9  0x00007ffd0ab44a40 in ?? ()
#10 0x000000000c79c200 in ?? ()
#11 0x00007ffd00000000 in ?? ()
#12 0x000000000c79c200 in ?? ()
#13 0x00007ffcd285b908 in ?? ()
#14 0x0000000000000000 in ?? ()
@sfan5 sfan5 added Bug Issues that were confirmed to be a bug Blocker The issue needs to be addressed before the next release. Windows Regression Something that used to work no longer does. labels Dec 20, 2023
@Zughy Zughy added this to the 5.9.0 milestone Dec 20, 2023
@sfan5
Copy link
Member Author

sfan5 commented Dec 21, 2023

@SmallJoker
Copy link
Member

Which builds does this affect? MSVC, MinGW or both?

@sfan5
Copy link
Member Author

sfan5 commented Dec 21, 2023

Only MinGW it appears.

@sfan5
Copy link
Member Author

sfan5 commented Dec 22, 2023

On IRC it was speculated that this is actually the long-unfixed msys2/MINGW-packages#2519, which is something we've been dealing with intermittently (see #12022).

@sfan5 sfan5 changed the title Crash after exiting game session Crash after exiting game session: MinGW thread_local problem Jan 1, 2024
@sfan5
Copy link
Member Author

sfan5 commented Jan 16, 2024

For the record: switching to an LLVM toolchain would fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocker The issue needs to be addressed before the next release. Bug Issues that were confirmed to be a bug Regression Something that used to work no longer does. Windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants