sirjuddington / SLADE

It's a Doom editor
https://slade.mancubus.net
GNU General Public License v2.0
711 stars 109 forks source link

Crash when program tries to save/quit through Windrows shutdown #1650

Closed Superjustinbros closed 6 months ago

Superjustinbros commented 10 months ago

SLADE Version

3.2.5

OS

Windows

Editor

Resource editor

Steps to Reproduce

I was...

To reproduce:

  1. Open SLADE, preferably on an unsaved file
  2. Attempt to shut down your computer
  3. The "Are you sure you want to quit" option will block being able to shut down your computer, and may act strangely, requiring you to click Yes/No multiple times. Saving a file through quitting the program might have a greater chance of triggering a direct crash.

Crash Information

Version: 3.2.5 (x64)
No current action

Operating System: Windows 11 (build 22621), 64-bit edition
Graphics Vendor: NVIDIA Corporation
Graphics Hardware: NVIDIA GeForce RTX 3060/PCIe/SSE2
OpenGL Version: 4.6.0 NVIDIA 516.94

Stack Trace:
0: [unknown location] [unknown:2427732288]
1: (H:\Dev\vcpkg\buildtrees\ftgl\src\6cd6ee4bb4-c4b4732ae9.clean\src\FTGlyphContainer.cpp:55) FTGlyphContainer::~FTGlyphContainer
2: [unknown location] FTFontImpl::`scalar deleting destructor'
3: [unknown location] FTFont::`scalar deleting destructor'
4: (H:\Dev\SLADE\Build\src\OpenGL\DrawingFTGL.cpp:231) slade::drawing::cleanupFonts
5: (H:\Dev\SLADE\Build\src\Application\App.cpp:702) slade::app::exit
6: (H:\Dev\SLADE\Build\src\MainEditor\UI\MainWindow.cpp:486) slade::MainWindow::exitProgram
7: (H:\Dev\SLADE\Build\src\MainEditor\UI\MainWindow.cpp:718) slade::MainWindow::onClose
8: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\common\appbase.cpp:673) wxAppConsoleBase::CallEventHandler
9: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\common\event.cpp:1439) wxEvtHandler::ProcessEventIfMatchesId
10: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\common\event.cpp:1901) wxEvtHandler::SearchDynamicEventTable
11: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\include\wx\event.h:4007) wxEvtHandler::TryBeforeAndHere
12: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\common\event.cpp:1530) wxEvtHandler::ProcessEvent
13: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\common\event.cpp:1534) wxEvtHandler::ProcessEvent
14: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\common\event.cpp:1650) wxEvtHandler::SafelyProcessEvent
15: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\common\wincmn.cpp:585) wxWindowBase::Close
16: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\msw\app.cpp:868) wxApp::OnQueryEndSession
17: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\common\appbase.cpp:673) wxAppConsoleBase::CallEventHandler
18: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\common\event.cpp:1439) wxEvtHandler::ProcessEventIfMatchesId
19: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\common\event.cpp:1039) wxEventHashTable::HandleEvent
20: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\include\wx\event.h:4007) wxEvtHandler::TryBeforeAndHere
21: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\common\event.cpp:1534) wxEvtHandler::ProcessEvent
22: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\common\event.cpp:1650) wxEvtHandler::SafelyProcessEvent
23: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\msw\window.cpp:3569) wxWindow::MSWHandleMessage
24: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\msw\window.cpp:3906) wxWindow::MSWWindowProc
25: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\msw\nonownedwnd.cpp:265) wxNonOwnedWindow::MSWWindowProc
26: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\msw\toplevel.cpp:328) wxTopLevelWindowMSW::MSWWindowProc
27: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\msw\frame.cpp:912) wxFrame::MSWWindowProc
28: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\msw\window.cpp:2948) wxWndProc
29: [unknown location] DispatchMessageW
30: [unknown location] DispatchMessageW
31: [unknown location] GetClassLongW
32: [unknown location] KiUserCallbackDispatcher
33: [unknown location] NtUserMessageCall
34: [unknown location] GetDlgCtrlID
35: [unknown location] GetDlgCtrlID
36: [unknown location] DefSubclassProc
37: [unknown location] DefSubclassProc
38: [unknown location] DispatchMessageW
39: [unknown location] DispatchMessageW
40: [unknown location] GetClassLongW
41: [unknown location] KiUserCallbackDispatcher
42: [unknown location] NtUserPeekMessage
43: [unknown location] PeekMessageW
44: [unknown location] PeekMessageW
45: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\msw\evtloopconsole.cpp:107) wxMSWEventLoopBase::GetNextMessageTimeout
46: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\msw\evtloopconsole.cpp:99) wxMSWEventLoopBase::GetNextMessage
47: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\msw\evtloop.cpp:171) wxGUIEventLoop::Dispatch
48: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\common\evtloopcmn.cpp:288) wxEventLoopManual::DoRun
49: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\common\evtloopcmn.cpp:87) wxEventLoopBase::Run
50: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\common\appbase.cpp:381) wxAppConsoleBase::MainLoop
51: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\common\init.cpp:497) wxEntryReal
52: (H:\Dev\vcpkg\buildtrees\wxwidgets\src\v3.2.3-90b1eb06ca.clean\src\msw\main.cpp:175) wxEntry
53: (D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288) __scrt_common_main_seh
54: [unknown location] BaseThreadInitThunk
55: [unknown location] RtlUserThreadStart

Last Log Messages:
Opening archive C:\Users\User\Sonic Robo Blast 2\SRB2Kart\DOWNLOAD\mmg modpack\Default Track Packs\Track Pack\KRL_IvoIndustries-v102.pk3
Opening archive C:\Users\User\Sonic Robo Blast 2\SRB2Kart\DOWNLOAD\zito modpack\KRL_Aether_Pack_v3.3.pk3
Opening archive C:\Users\User\Sonic Robo Blast 2\SRB2Kart\DOWNLOAD\KR_Barkpark-redux-b5.pk3
Opening archive C:\Users\User\Sonic Robo Blast 2\SRB2Kart\DOWNLOAD\zito modpack\KRBL_Barkpark-v3.9.pk3
Error: can't open file 'C:\Users\User\AppData\Roaming\SLADE3\mapwindow.layout' (error 0: The operation completed successfully.)
Tokenizer::openFile: Unable to open file C:\Users\User\AppData\Roaming\SLADE3\mapwindow.layout
Creating backup C:/Users/User/Sonic Robo Blast 2/SRB2Kart/luafiles/KS_BlueSkyFilter-r1.0.pk3.bak
Creating backup C:/Users/User/Sonic Robo Blast 2/SRB2Kart/luafiles/KS_BlueSkyFilter-r1.0.pk3.bak
Creating backup C:/Users/User/Sonic Robo Blast 2/SRB2Kart/luafiles/KS_BlueSkyFilter-r1.0.pk3.bak
Creating backup C:/Users/User/Sonic Robo Blast 2/SRB2Kart/luafiles/KS_BlueSkyFilter-r1.0.pk3.bak

Screenshots

(No image necessary)