{"action":"created","issue":{"url":"https://api.github.com/repos/sirjuddington/SLADE/issues/473","repository_url":"https://api.github.com/repos/sirjuddington/SLADE","labels_url":"https://api.github.com/repos/sirjuddington/SLADE/issues/473/labels{/name}","comments_url":"https://api.github.com/repos/sirjuddington/SLADE/issues/473/comments","events_url":"https://api.github.com/repos/sirjuddington/SLADE/issues/473/events","html_url":"https://github.com/sirjuddington/SLADE/issues/473","id":138753404,"number":473,"title":"crash when trying to save music wad","user":{"login":"L3gend","id":9967923,"avatar_url":"https://avatars.githubusercontent.com/u/9967923?v=3","gravatar_id":"","url":"https://api.github.com/users/L3gend","html_url":"https://github.com/L3gend","followers_url":"https://api.github.com/users/L3gend/followers","following_url":"https://api.github.com/users/L3gend/following{/other_user}","gists_url":"https://api.github.com/users/L3gend/gists{/gist_id}","starred_url":"https://api.github.com/users/L3gend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/L3gend/subscriptions","organizations_url":"https://api.github.com/users/L3gend/orgs","repos_url":"https://api.github.com/users/L3gend/repos","events_url":"https://api.github.com/users/L3gend/events{/privacy}","received_events_url":"https://api.github.com/users/L3gend/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-06T04:17:30Z","updated_at":"2016-03-06T10:55:28Z","closed_at":null,"body":"**SLADE Version**: (3.1 1 0)\r\n**Operating System**: (Windows xp)\r\n\r\n**Issue Details**:\r\nI am trying to make a usable music wad with the psx 20th anniversary soundtrack.  But whenever I try to save the wad, slade crashes. It gets an unhandled exception. I am specifically trying to put it into a wad file rather than pk3 so it can be used with doom retro. Also am trying to use the music in ogg format.\r\n\r\nHere is the stack file:\r\n`Version: 3.1.1\r\nCurrent action: aman_save\r\nOperating System: Windows XP (build 2600, Service Pack 3)\r\nGraphics Vendor: OpenGL not initialised\r\nGraphics Hardware: OpenGL not initialised\r\nOpenGL Version: OpenGL not initialised\r\n\r\nStack Trace:\r\n0: [unknown location] [unknown:0]\r\n1: (c:\\dev\\slade3\\src\\maineditor\\mainwindow.cpp:437) MainWindow::createStartPage\r\n2: (c:\\dev\\slade3\\src\\maineditor\\mainwindow.cpp:1108) MainWindow::onActivate\r\n3: (f:\\programming\\libs\\wxwidgets\\src\\common\\appbase.cpp:612) wxAppConsoleBase::HandleEvent\r\n4: (f:\\programming\\libs\\wxwidgets\\src\\common\\appbase.cpp:623) wxAppConsoleBase::CallEventHandler\r\n5: (f:\\programming\\libs\\wxwidgets\\src\\common\\event.cpp:1751) wxEvtHandler::SearchDynamicEventTable\r\n6: (f:\\programming\\libs\\wxwidgets\\src\\common\\event.cpp:1585) wxEvtHandler::TryHereOnly\r\n7: (f:\\programming\\libs\\wxwidgets\\src\\common\\event.cpp:1491) wxEvtHandler::ProcessEvent\r\n8: (f:\\programming\\libs\\wxwidgets\\src\\common\\event.cpp:1554) wxEvtHandler::DoTryChain\r\n9: (f:\\programming\\libs\\wxwidgets\\src\\common\\event.cpp:1495) wxEvtHandler::ProcessEvent\r\n10: (f:\\programming\\libs\\wxwidgets\\src\\common\\event.cpp:1647) wxEvtHandler::SafelyProcessEvent\r\n11: (f:\\programming\\libs\\wxwidgets\\src\\msw\\window.cpp:4069) wxWindow::HandleActivate\r\n12: (f:\\programming\\libs\\wxwidgets\\src\\msw\\window.cpp:2833) wxWindow::MSWHandleMessage\r\n13: (f:\\programming\\libs\\wxwidgets\\src\\msw\\window.cpp:3645) wxWindow::MSWWindowProc\r\n14: (f:\\programming\\libs\\wxwidgets\\src\\msw\\toplevel.cpp:467) wxTopLevelWindowMSW::MSWWindowProc\r\n15: (f:\\programming\\libs\\wxwidgets\\src\\msw\\frame.cpp:890) wxFrame::MSWWindowProc\r\n16: (f:\\programming\\libs\\wxwidgets\\src\\msw\\window.cpp:2711) wxWndProc\r\n17: [unknown location] GetDC\r\n18: [unknown location] GetDC\r\n19: [unknown location] DefWindowProcW\r\n20: [unknown location] DefWindowProcW\r\n21: [unknown location] KiUserCallbackDispatcher\r\n22: [unknown location] GetCursorFrameInfo\r\n23: [unknown location] SoftModalMessageBox\r\n24: [unknown location] MessageBoxIndirectA\r\n25: [unknown location] MessageBoxTimeoutW\r\n26: [unknown location] MessageBoxExW\r\n27: [unknown location] MessageBoxW\r\n28: (f:\\programming\\libs\\wxwidgets\\src\\common\\msgout.cpp:133) wxMessageOutputBest::Output\r\n29: (f:\\programming\\libs\\wxwidgets\\src\\common\\msgout.cpp:86) wxMessageOutput::DoPrintfWchar\r\n30: (f:\\programming\\libs\\wxwidgets\\include\\wx\\msgout.h:39) wxMessageOutputBase::Printf<wxString>\r\n31: (f:\\programming\\libs\\wxwidgets\\src\\common\\appbase.cpp:650) wxAppConsoleBase::OnUnhandledException\r\n32: (f:\\programming\\libs\\wxwidgets\\src\\common\\init.cpp:497) wxEntryReal\r\n33: (f:\\programming\\libs\\wxwidgets\\src\\msw\\main.cpp:188) wxEntry\r\n34: (f:\\programming\\libs\\wxwidgets\\src\\msw\\main.cpp:415) wxEntry\r\n35: (c:\\dev\\slade3\\src\\application\\mainapp.cpp:421) WinMain\r\n36: (f:\\dd\\vctools\\crt\\vcstartup\\src\\startup\\exe_common.inl:264) __scrt_common_main_seh\r\n37: [unknown location] RegisterWaitForInputIdle\r\n\r\nLast Log Messages:\r\n`\r\n"},"comment":{"url":"https://api.github.com/repos/sirjuddington/SLADE/issues/comments/192870469","html_url":"https://github.com/sirjuddington/SLADE/issues/473#issuecomment-192870469","issue_url":"https://api.github.com/repos/sirjuddington/SLADE/issues/473","id":192870469,"user":{"login":"Gaerzi","id":4178859,"avatar_url":"https://avatars.githubusercontent.com/u/4178859?v=3","gravatar_id":"","url":"https://api.github.com/users/Gaerzi","html_url":"https://github.com/Gaerzi","followers_url":"https://api.github.com/users/Gaerzi/followers","following_url":"https://api.github.com/users/Gaerzi/following{/other_user}","gists_url":"https://api.github.com/users/Gaerzi/gists{/gist_id}","starred_url":"https://api.github.com/users/Gaerzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gaerzi/subscriptions","organizations_url":"https://api.github.com/users/Gaerzi/orgs","repos_url":"https://api.github.com/users/Gaerzi/repos","events_url":"https://api.github.com/users/Gaerzi/events{/privacy}","received_events_url":"https://api.github.com/users/Gaerzi/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T10:55:28Z","updated_at":"2016-03-06T10:55:28Z","body":"The stack trace befuddles me. Why does it crash in createStartPage when what you're doing is saving a file? I'd expect the crash to be somewhere in WadArchive:: code, but here what it says is that the main window is activated while the active page is the start page (rather than your archive)."}}