Project

General

Profile

Actions

Emulator Issues #7589

closed

Dolphin crashes after compressing games

Added by ms.techsupport over 9 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Current
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?
N/A

Game ID?
N/A

-What's the problem? Describe what went wrong in few words.
Dolphin will crash after compressing an undefined number of games. Sometimes it's just one game and then crashes upon starting to compress the second, sometimes it's after 3+ games. Doesn't really break anything because you can keep compressing games after restarting dolphin, but it's a minor nuisance.

-What did you expect to happen instead?
Dolphin to not crash.

-What steps will reproduce the problem?
Compress a game, then keep compressing until the emulator crashes.

-Which versions of Dolphin did you test on?
Dolphin 4.0-2638

-Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?
This bug has always been there for as long as I remember, at least on my machine.

-What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
Windows 7 Ultimate x64
Intel Core i5 2500k @ 4.0Ghz
Nvidia GeForce GTX 560Ti 448
Corsair 2x4GB 1600Mhz

-Is there any other relevant information? (e.g. logs, screenshots, configuration files)
Video: https://www.youtube.com/watch?v=2sIE8yO4gk0

Actions #1

Updated by JMC4789 over 9 years ago

  • Status changed from New to Questionable

Unable to reproduce, tried with my japanese games too. Maybe you can get a coredump for shuffle2 to look at.

Actions #2

Updated by ms.techsupport over 9 years ago

I'm sorry for my tecnological illiteracy, but how do I do that?

Actions #3

Updated by davidthemaster203 over 9 years ago

I get this issue to with the 4.0-4267 build (didn't try any others).

It seems to be an error with MSVCR120.dll according to the Windows Event Viewer:

Log Name: Application
Source: Application Error
Date: 2014-11-29 15:38:14
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: David-PC
Description:
Faulting application name: Dolphin.exe, version: 0.0.0.0, time stamp: 0x5474c1b0
Faulting module name: MSVCR120.dll, version: 12.0.21005.1, time stamp: 0x524f83ff
Exception code: 0xc0000409
Fault offset: 0x000000000006dd27
Faulting process id: 0x698
Faulting application start time: 0x01d00c13648a2d57
Faulting application path: C:\Program Files\Dolphin\Dolphin.exe
Faulting module path: C:\Program Files\Dolphin\MSVCR120.dll
Report Id: a38f0e77-7807-11e4-8270-bc5ff43a6963
Faulting package full name:
Faulting package-relative application ID:
Event Xml:



1000
2
100
0x80000000000000

5884
Application
David-PC



Dolphin.exe
0.0.0.0
5474c1b0
MSVCR120.dll
12.0.21005.1
524f83ff
c0000409
000000000006dd27
698
01d00c13648a2d57
C:\Program Files\Dolphin\Dolphin.exe
C:\Program Files\Dolphin\MSVCR120.dll
a38f0e77-7807-11e4-8270-bc5ff43a6963





Actions #4

Updated by Buddybenj over 9 years ago

Do you have enough disk space left?

Actions #5

Updated by thealexbarney over 9 years ago

I've been having this issue too with 4.0-5291 on Windows 8.1. The issue seems to happen every 5 or so isos. I've attatched the call stack when the error happens. It crashes in the specified function because m_rVolume is set to null when it tries to call its Read method.

DolphinD.exe!DiscIO::CFileSystemGCWii::Read32(unsigned __int64 _Offset) Line 203 C++
DolphinD.exe!DiscIO::CFileSystemGCWii::DetectFileSystem() Line 248 C++
DolphinD.exe!DiscIO::CFileSystemGCWii::CFileSystemGCWii(const DiscIO::IVolume * _rVolume) Line 28 C++
DolphinD.exe!DiscIO::CreateFileSystem(const DiscIO::IVolume * _rVolume) Line 22 C++
DolphinD.exe!DiscIO::DiscScrubber::ParsePartitionData(DiscIO::DiscScrubber::SPartition & _rPartition) Line 268 C++
DolphinD.exe!DiscIO::DiscScrubber::ParseDisc() Line 250 C++
DolphinD.exe!DiscIO::DiscScrubber::SetupScrub(const std::basic_string<char,std::char_traits,std::allocator > & filename, int block_size) Line 111 C++
DolphinD.exe!DiscIO::CompressFileToBlob(const std::basic_string<char,std::char_traits,std::allocator > & infile, const std::basic_string<char,std::char_traits,std::allocator > & outfile, unsigned int sub_type, int block_size, bool (const std::basic_string<char,std::char_traits,std::allocator > &, float, void *) * callback, void * arg) Line 159 C++
DolphinD.exe!CGameListCtrl::CompressSelection(bool _compress) Line 1206 C++
DolphinD.exe!CGameListCtrl::OnMultiCompressISO(wxCommandEvent & formal) Line 1144 C++
DolphinD.exe!wxAppConsoleBase::HandleEvent(wxEvtHandler * handler, void (wxEvent &) * func, wxEvent & event) Line 612 C++
DolphinD.exe!wxAppConsoleBase::CallEventHandler(wxEvtHandler * handler, wxEventFunctor & functor, wxEvent & event) Line 624 C++
DolphinD.exe!wxEvtHandler::ProcessEventIfMatchesId(const wxEventTableEntryBase & entry, wxEvtHandler * handler, wxEvent & event) Line 1386 C++
DolphinD.exe!wxEvtHandler::SearchDynamicEventTable(wxEvent & event) Line 1743 C++
DolphinD.exe!wxEvtHandler::TryHereOnly(wxEvent & event) Line 1577 C++
DolphinD.exe!wxEvtHandler::TryBeforeAndHere(wxEvent & event) Line 3671 C++
DolphinD.exe!wxEvtHandler::ProcessEventLocally(wxEvent & event) Line 1514 C++
DolphinD.exe!wxEvtHandler::ProcessEvent(wxEvent & event) Line 1487 C++
DolphinD.exe!wxEvtHandler::SafelyProcessEvent(wxEvent & event) Line 1605 C++
DolphinD.exe!wxWindowBase::HandleWindowEvent(wxEvent & event) Line 1526 C++
DolphinD.exe!wxMenuBase::SendEvent(int itemid, int checked) Line 674 C++
DolphinD.exe!wxMenu::MSWCommand(unsigned int formal, unsigned short id) Line 985 C++
DolphinD.exe!wxWindow::HandleCommand(unsigned short id
, unsigned short cmd, HWND
* control) Line 5302 C++
DolphinD.exe!wxWindow::MSWHandleMessage(__int64 * result, unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 3048 C++
DolphinD.exe!wxWindow::MSWWindowProc(unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 3628 C++
DolphinD.exe!wxListCtrl::MSWWindowProc(unsigned int nMsg, unsigned __int64 wParam, int64 lParam) Line 3061 C++
DolphinD.exe!wxWndProc(HWND
* hWnd, unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 2717 C++
[External Code]
DolphinD.exe!wxYieldForCommandsOnly() Line 2219 C++
DolphinD.exe!wxWindow::DoPopupMenu(wxMenu * menu, int x, int y) Line 2264 C++
DolphinD.exe!wxWindowBase::PopupMenu(wxMenu * menu, int x, int y) Line 2961 C++
DolphinD.exe!wxWindowBase::PopupMenu(wxMenu * menu, const wxPoint & pos) Line 1209 C++
DolphinD.exe!CGameListCtrl::OnRightClick(wxMouseEvent & event) Line 987 C++
DolphinD.exe!wxAppConsoleBase::HandleEvent(wxEvtHandler * handler, void (wxEvent &) * func, wxEvent & event) Line 612 C++
DolphinD.exe!wxAppConsoleBase::CallEventHandler(wxEvtHandler * handler, wxEventFunctor & functor, wxEvent & event) Line 624 C++
DolphinD.exe!wxEvtHandler::ProcessEventIfMatchesId(const wxEventTableEntryBase & entry, wxEvtHandler * handler, wxEvent & event) Line 1386 C++
DolphinD.exe!wxEvtHandler::SearchDynamicEventTable(wxEvent & event) Line 1743 C++
DolphinD.exe!wxEvtHandler::TryHereOnly(wxEvent & event) Line 1577 C++
DolphinD.exe!wxEvtHandler::TryBeforeAndHere(wxEvent & event) Line 3671 C++
DolphinD.exe!wxEvtHandler::ProcessEventLocally(wxEvent & event) Line 1514 C++
DolphinD.exe!wxEvtHandler::ProcessEvent(wxEvent & event) Line 1487 C++
DolphinD.exe!wxEvtHandler::SafelyProcessEvent(wxEvent & event) Line 1605 C++
DolphinD.exe!wxWindowBase::HandleWindowEvent(wxEvent & event) Line 1526 C++
DolphinD.exe!wxWindow::HandleMouseEvent(unsigned int msg, int x, int y, unsigned int flags) Line 5508 C++
DolphinD.exe!wxWindow::MSWHandleMessage(__int64 * result, unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 3008 C++
DolphinD.exe!wxWindow::MSWWindowProc(unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 3628 C++
DolphinD.exe!wxListCtrl::MSWWindowProc(unsigned int nMsg, unsigned __int64 wParam, int64 lParam) Line 3061 C++
DolphinD.exe!wxWndProc(HWND
* hWnd, unsigned int message, unsigned int64 wParam, int64 lParam) Line 2717 C++
[External Code]
DolphinD.exe!wxWindow::MSWProcessMessage(tagMSG * pMsg) Line 2501 C++
DolphinD.exe!wxGUIEventLoop::PreProcessMessage(tagMSG * msg) Line 148 C++
DolphinD.exe!wxGUIEventLoop::ProcessMessage(tagMSG * msg) Line 166 C++
DolphinD.exe!wxGUIEventLoop::Dispatch() Line 232 C++
DolphinD.exe!wxEventLoopManual::ProcessEvents() Line 173 C++
DolphinD.exe!wxEventLoopManual::DoRun() Line 206 C++
DolphinD.exe!wxEventLoopBase::Run() Line 78 C++
DolphinD.exe!wxAppConsoleBase::MainLoop() Line 334 C++
DolphinD.exe!wxAppConsoleBase::OnRun() Line 260 C++
DolphinD.exe!wxAppBase::OnRun() Line 305 C++
DolphinD.exe!wxEntryReal(int & argc, wchar_t * * argv) Line 495 C++
DolphinD.exe!wxEntry(int & argc, wchar_t * * argv) Line 188 C++
DolphinD.exe!wxEntry(HINSTANCE * hInstance, HINSTANCE
* formal, char * formal, int nCmdShow) Line 415 C++
DolphinD.exe!WinMain(HINSTANCE * hInstance, HINSTANCE
* hPrevInstance, char * __formal, int nCmdShow) Line 90 C++
[External Code]

Actions #6

Updated by phire over 9 years ago

  • Status changed from Questionable to Accepted
Actions #7

Updated by thealexbarney over 9 years ago

I should note that Dolphin appears to finish the compression of the ISO successfully and the Compression progress box says "Done compressing disk image" and at that point the crash happens.

Actions #8

Updated by thealexbarney over 9 years ago

A few more things:
This issue goes back to at least 3.0-783.
This only happens with Wii ISOs.
When doing a batch compression, the dialog will display the previous ISO and "Done compressing disk image" when it moves onto the ISO that makes it crash.
When doing compression one-by-one, it will behave as shown in the video in the issue report.

Actions #11

Updated by JosJuice almost 9 years ago

  • Status changed from Accepted to Fix pending
  • Milestone set to Current

The fix for this should be cherry-picked to stable.

Actions #12

Updated by Armada almost 9 years ago

  • Status changed from Fix pending to Fixed
Actions

Also available in: Atom PDF