Project

General

Profile

Actions

Emulator Issues #13094

closed

Portable mode causes Dolphin to hang on start up

Added by kill8r about 2 years ago. Updated about 2 years ago.

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

0%

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

Description

Game Name?

[The Emulator itself]

Game ID? (right click the game in the game list, Properties, Info tab)

[N/A]

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

[N/A]

What's the problem? Describe what went wrong.

[When enabling portable mode by putting portable.txt in the folder where the exe is stored, Dolphin fails to start up correctly and hangs with a blank window that isn't responding to messages or interactions]

What steps will reproduce the problem?

[Be on 5.0-17762 and try to enable portable mode by putting a empty txt file named portable.txt in the folder where you have Dolphin.exe. Try to start the program and notice that the program fails to start up correctly and instead hangs with a empty window]

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

[Version number here]

Is the issue present in the latest stable version?

[5.0-17762]

If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

[First broken version number here (if applicable)]

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

[Attach any fifologs if possible, write a description of fifologs and screenshots here to assist people unfamiliar with the game.]

What are your PC specifications? (CPU, GPU, Operating System, more)

[Ryzen 7 5700X, Radeon RX 5700XT, Windows 11 22621.675]

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

[Anything else here]

Actions #1

Updated by Anonymous about 2 years ago

i can't repro this. can you take a dump of dolphin (use task manager) and share a link to that.

https://superuser.com/questions/1246211/what-is-the-create-dump-file-feature-in-task-manager

Actions #2

Updated by JMC4789 about 2 years ago

  • Status changed from New to Questionable

Please provide a crash dump if possible, and if portable mode was working in older builds, a bisect. As is, we can't reproduce the issue and there's no information given here that assists us in reproducing it.

Actions #4

Updated by Anonymous about 2 years ago

here are the stacks:

.  0  Id: 6260.2b74 Suspend: 0 Teb: 000000d3`2d5de000 Unfrozen
 # Child-SP          RetAddr               Call Site
00 000000d3`2d3db608 00007ffa`04785833     ntdll!NtDelayExecution+0x14
01 000000d3`2d3db610 00007ffa`01c29fcd     ntdll!RtlDelayExecution+0x43
02 000000d3`2d3db640 00007ff9`557126be     KERNELBASE!SleepEx+0x7d
03 (Inline Function) --------`--------     Qt6Core!QThread::msleep+0xf [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\corelib\thread\qthread_win.cpp @ 399] 
04 000000d3`2d3db6c0 00007ff9`55951781     Qt6Core!QLockFile::tryLock+0x37e [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\corelib\io\qlockfile.cpp @ 314] 
05 (Inline Function) --------`--------     Qt6Core!QLockFile::lock+0xb [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\corelib\io\qlockfile.cpp @ 253] 
06 000000d3`2d3db7f0 00007ff9`55951400     Qt6Core!QConfFileSettingsPrivate::syncConfFile+0x2b1 [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\corelib\io\qsettings.cpp @ 1350] 
07 000000d3`2d3dba50 00007ff9`55955d61     Qt6Core!QConfFileSettingsPrivate::sync+0x50 [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\corelib\io\qsettings.cpp @ 1293] 
08 (Inline Function) --------`--------     Qt6Core!QSettingsPrivate::update+0x10 [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\corelib\io\qsettings.cpp @ 330] 
09 000000d3`2d3dbaa0 00007ff9`54a2310e     Qt6Core!QSettings::event+0x21 [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\corelib\io\qsettings.cpp @ 3250] 
0a 000000d3`2d3dbad0 00007ff9`54a227e7     Qt6Widgets!QApplicationPrivate::notify_helper+0x10e [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\widgets\kernel\qapplication.cpp @ 3339] 
0b 000000d3`2d3dbb00 00007ff9`55747c95     Qt6Widgets!QApplication::notify+0x1b17 [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\widgets\kernel\qapplication.cpp @ 3291] 
0c 000000d3`2d3dc060 00007ff9`55748ae9     Qt6Core!QCoreApplication::notifyInternal2+0xc5 [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\corelib\kernel\qcoreapplication.cpp @ 1068] 
0d (Inline Function) --------`--------     Qt6Core!QCoreApplication::sendEvent+0xf [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\corelib\kernel\qcoreapplication.cpp @ 1484] 
0e 000000d3`2d3dc0d0 00007ff9`5530876f     Qt6Core!QCoreApplicationPrivate::sendPostedEvents+0x1f9 [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\corelib\kernel\qcoreapplication.cpp @ 1848] 
0f 000000d3`2d3dc1b0 00007ff9`558ca055     Qt6Gui!QWindowsGuiEventDispatcher::sendPostedEvents+0xf [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\gui\platform\windows\qwindowsguieventdispatcher.cpp @ 80] 
10 000000d3`2d3dc1e0 00007ff9`55308749     Qt6Core!QEventDispatcherWin32::processEvents+0x95 [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\corelib\kernel\qeventdispatcher_win.cpp @ 476] 
11 000000d3`2d3df350 00007ff9`5574f9d4     Qt6Gui!QWindowsGuiEventDispatcher::processEvents+0x19 [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\gui\platform\windows\qwindowsguieventdispatcher.cpp @ 73] 
12 (Inline Function) --------`--------     Qt6Core!QEventLoop::processEvents+0x24 [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\corelib\kernel\qeventloop.cpp @ 136] 
13 000000d3`2d3df380 00007ff9`557482c9     Qt6Core!QEventLoop::exec+0x1d4 [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\corelib\kernel\qeventloop.cpp @ 217] 
14 000000d3`2d3df420 00007ff6`2cd31286     Qt6Core!QCoreApplication::exec+0x169 [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\corelib\kernel\qcoreapplication.cpp @ 1389] 
15 000000d3`2d3df480 00007ff6`2cd316ad     Dolphin!app_main+0x1556 [d:\Source\Core\DolphinQt\Main.cpp @ 287] 
16 000000d3`2d3dfc40 00007ff6`2d28aaea     Dolphin!wWinMain+0x10d [d:\Source\Core\DolphinQt\Main.cpp @ 306] 
17 (Inline Function) --------`--------     Dolphin!invoke_main+0x21 [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 118] 
18 000000d3`2d3dfc90 00007ffa`029a244d     Dolphin!__scrt_common_main_seh+0x106 [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 288] 
19 000000d3`2d3dfcd0 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
1a 000000d3`2d3dfd00 00000000`00000000     ntdll!RtlUserThreadStart+0x28

   1  Id: 6260.adc Suspend: 0 Teb: 000000d3`2d5e0000 Unfrozen
 # Child-SP          RetAddr               Call Site
00 000000d3`2d6ffa58 00007ffa`04765a0e     ntdll!NtWaitForWorkViaWorkerFactory+0x14
01 000000d3`2d6ffa60 00007ffa`029a244d     ntdll!TppWorkerThread+0x2ee
02 000000d3`2d6ffd40 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
03 000000d3`2d6ffd70 00000000`00000000     ntdll!RtlUserThreadStart+0x28

   2  Id: 6260.13dc Suspend: 0 Teb: 000000d3`2d5e2000 Unfrozen
 # Child-SP          RetAddr               Call Site
00 000000d3`2d7ffaf8 00007ffa`04765a0e     ntdll!NtWaitForWorkViaWorkerFactory+0x14
01 000000d3`2d7ffb00 00007ffa`029a244d     ntdll!TppWorkerThread+0x2ee
02 000000d3`2d7ffde0 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
03 000000d3`2d7ffe10 00000000`00000000     ntdll!RtlUserThreadStart+0x28

   3  Id: 6260.1560 Suspend: 0 Teb: 000000d3`2d5e4000 Unfrozen
 # Child-SP          RetAddr               Call Site
00 000000d3`2d8ff868 00007ffa`04765a0e     ntdll!NtWaitForWorkViaWorkerFactory+0x14
01 000000d3`2d8ff870 00007ffa`029a244d     ntdll!TppWorkerThread+0x2ee
02 000000d3`2d8ffb50 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
03 000000d3`2d8ffb80 00000000`00000000     ntdll!RtlUserThreadStart+0x28

   4  Id: 6260.129c Suspend: 0 Teb: 000000d3`2d5e6000 Unfrozen
 # Child-SP          RetAddr               Call Site
00 000000d3`2d9ffa68 00007ffa`04765a0e     ntdll!NtWaitForWorkViaWorkerFactory+0x14
01 000000d3`2d9ffa70 00007ffa`029a244d     ntdll!TppWorkerThread+0x2ee
02 000000d3`2d9ffd50 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
03 000000d3`2d9ffd80 00000000`00000000     ntdll!RtlUserThreadStart+0x28

   5  Id: 6260.664c Suspend: 0 Teb: 000000d3`2d5e8000 Unfrozen
 # Child-SP          RetAddr               Call Site
00 000000d3`2daff388 00007ffa`01c44f39     ntdll!NtWaitForMultipleObjects+0x14
01 000000d3`2daff390 00007ff9`febe4557     KERNELBASE!WaitForMultipleObjectsEx+0xe9
02 000000d3`2daff670 00007ff9`febe42cb     CoreMessaging!Microsoft::CoreUI::Dispatch::WaitController::Callback_WaitAny+0xb7
03 000000d3`2daff760 00007ff9`febe40a2     CoreMessaging!Microsoft::CoreUI::Dispatch::Win32EventLoopBridge::Callback_DoWait+0x11b
04 000000d3`2daff830 00007ff9`fec03026     CoreMessaging!Microsoft::CoreUI::Dispatch::Win32EventLoopBridge::Callback_Wait+0x52
05 000000d3`2daff8b0 00007ff9`fec04c05     CoreMessaging!Microsoft::CoreUI::Dispatch::WaitCollection::Callback_DoGeneralWait+0x1e6
06 000000d3`2daff980 00007ff9`fec023ef     CoreMessaging!Microsoft::CoreUI::Dispatch::WaitController::Callback_OnDispatch+0x2e5
07 000000d3`2daffa70 00007ff9`fec0122b     CoreMessaging!Microsoft::CoreUI::Dispatch::EventLoop::Callback_RunCoreLoop+0x36f
08 000000d3`2daffb80 00007ff9`febc2b71     CoreMessaging!Microsoft::CoreUI::Dispatch::Win32EventLoopBridge::Callback_Run+0x5ab
09 000000d3`2daffc50 00007ff9`febc2aaf     CoreMessaging!Microsoft::CoreUI::Dispatch::EventLoop::Callback_Run+0xa1
0a 000000d3`2daffca0 00007ff9`febd2ab6     CoreMessaging!Microsoft::CoreUI::Messaging::MessageSession::InterfaceImplementation$::_Microsoft_CoreUI_IExportMessageSession::Dispatcher::Run+0x2f
0b 000000d3`2daffcd0 00007ff9`f1602d48     CoreMessaging!Microsoft::CoreUI::IExportMessageSession::ExportAdapter$::Run+0x66
0c 000000d3`2daffd10 00007ff9`f1616049     inputhost!MessagingThread::ThreadProc+0xcc
0d 000000d3`2daffd60 00007ffa`029a244d     inputhost!<lambda_376318154f061e76a4fa5387c7eed0ca>::<lambda_invoker_cdecl>+0x9
0e 000000d3`2daffd90 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
0f 000000d3`2daffdc0 00000000`00000000     ntdll!RtlUserThreadStart+0x28

   6  Id: 6260.1814 Suspend: 0 Teb: 000000d3`2d5ea000 Unfrozen
 # Child-SP          RetAddr               Call Site
00 000000d3`2dbffaf8 00007ffa`04765a0e     ntdll!NtWaitForWorkViaWorkerFactory+0x14
01 000000d3`2dbffb00 00007ffa`029a244d     ntdll!TppWorkerThread+0x2ee
02 000000d3`2dbffde0 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
03 000000d3`2dbffe10 00000000`00000000     ntdll!RtlUserThreadStart+0x28

   7  Id: 6260.56e4 Suspend: 0 Teb: 000000d3`2d5ec000 Unfrozen
 # Child-SP          RetAddr               Call Site
00 000000d3`2dcffb78 00007ffa`0479983b     ntdll!NtWaitForAlertByThreadId+0x14
01 000000d3`2dcffb80 00007ffa`01c560e9     ntdll!RtlSleepConditionVariableSRW+0x13b
02 000000d3`2dcffc00 00007ff9`dee12a35     KERNELBASE!SleepConditionVariableSRW+0x29
03 000000d3`2dcffc40 00007ff9`dee12bb3     msvcp140!Concurrency::details::stl_condition_variable_win7::wait_for+0x15 [D:\a\_work\1\s\src\vctools\crt\github\stl\src\primitives.hpp @ 87] 
04 000000d3`2dcffc70 00007ff6`2cdd702d     msvcp140!_Cnd_timedwait+0x93 [D:\a\_work\1\s\src\vctools\crt\github\stl\src\cond.cpp @ 74] 
05 (Inline Function) --------`--------     Dolphin!std::condition_variable::wait_until+0x1d [v:\14.33.31629\include\mutex @ 671] 
06 (Inline Function) --------`--------     Dolphin!std::condition_variable::wait_for+0x53 [v:\14.33.31629\include\mutex @ 619] 
07 (Inline Function) --------`--------     Dolphin!IoThreadHolder::Start::__l2::<lambda_1>::operator()+0x96 [d:\Externals\discord-rpc\src\discord_rpc.cpp @ 95] 
08 (Inline Function) --------`--------     Dolphin!std::invoke+0x96 [v:\14.33.31629\include\type_traits @ 1548] 
09 000000d3`2dcffce0 00007ffa`02119363     Dolphin!std::thread::_Invoke<std::tuple<`IoThreadHolder::Start'::`2'::<lambda_1> >,0>+0xad [v:\14.33.31629\include\thread @ 55] 
0a 000000d3`2dcffd20 00007ffa`029a244d     ucrtbase!thread_start<unsigned int (__cdecl*)(void *),1>+0x93
0b 000000d3`2dcffd50 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
0c 000000d3`2dcffd80 00000000`00000000     ntdll!RtlUserThreadStart+0x28

   8  Id: 6260.4ec4 Suspend: 0 Teb: 000000d3`2d5ee000 Unfrozen "Analytics"
 # Child-SP          RetAddr               Call Site
00 000000d3`2ddff928 00007ffa`0479983b     ntdll!NtWaitForAlertByThreadId+0x14
01 000000d3`2ddff930 00007ffa`01c560e9     ntdll!RtlSleepConditionVariableSRW+0x13b
02 000000d3`2ddff9b0 00007ff9`dee12a09     KERNELBASE!SleepConditionVariableSRW+0x29
03 (Inline Function) --------`--------     msvcp140!Concurrency::details::stl_condition_variable_win7::wait_for+0x15 [D:\a\_work\1\s\src\vctools\crt\github\stl\src\primitives.hpp @ 87] 
04 000000d3`2ddff9f0 00007ff9`dee12c4a     msvcp140!Concurrency::details::stl_condition_variable_win7::wait+0x19 [D:\a\_work\1\s\src\vctools\crt\github\stl\src\primitives.hpp @ 81] 
05 000000d3`2ddffa20 00007ff6`2d142e9a     msvcp140!_Cnd_wait+0x3a [D:\a\_work\1\s\src\vctools\crt\github\stl\src\cond.cpp @ 59] 
06 (Inline Function) --------`--------     Dolphin!std::condition_variable::wait+0x10 [v:\14.33.31629\include\mutex @ 598] 
07 (Inline Function) --------`--------     Dolphin!std::condition_variable::wait+0x1a [v:\14.33.31629\include\mutex @ 604] 
08 (Inline Function) --------`--------     Dolphin!Common::Event::Wait+0x3a [d:\Source\Core\Common\Event.h @ 55] 
09 000000d3`2ddffa50 00007ff6`2cd1276f     Dolphin!Common::AnalyticsReporter::ThreadProc+0x6a [d:\Source\Core\Common\Analytics.cpp @ 169] 
0a (Inline Function) --------`--------     Dolphin!std::invoke+0x6 [v:\14.33.31629\include\type_traits @ 1564] 
0b 000000d3`2ddffaf0 00007ffa`02119363     Dolphin!std::thread::_Invoke<std::tuple<void (__cdecl Common::WorkQueueThread<GameTracker::Command>::*)(void),Common::WorkQueueThread<GameTracker::Command> *>,0,1>+0xf [v:\14.33.31629\include\thread @ 56] 
0c 000000d3`2ddffb20 00007ffa`029a244d     ucrtbase!thread_start<unsigned int (__cdecl*)(void *),1>+0x93
0d 000000d3`2ddffb50 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
0e 000000d3`2ddffb80 00000000`00000000     ntdll!RtlUserThreadStart+0x28

   9  Id: 6260.61d4 Suspend: 0 Teb: 000000d3`2d5f2000 Unfrozen
 # Child-SP          RetAddr               Call Site
00 000000d3`2deff508 00007ffa`01c44f39     ntdll!NtWaitForMultipleObjects+0x14
01 000000d3`2deff510 00007ffa`02fb845d     KERNELBASE!WaitForMultipleObjectsEx+0xe9
02 000000d3`2deff7f0 00007ffa`02fb82ca     combase!WaitCoalesced+0xa9 [onecore\com\published\comutils\coalescedwait.cxx @ 72] 
03 000000d3`2deffa90 00007ffa`02fb80cb     combase!CROIDTable::WorkerThreadLoop+0x5a [onecore\com\combase\dcomrem\refcache.cxx @ 1682] 
04 000000d3`2deffae0 00007ffa`02fb8049     combase!CRpcThread::WorkerLoop+0x57 [onecore\com\combase\dcomrem\threads.cxx @ 283] 
05 000000d3`2deffb60 00007ffa`029a244d     combase!CRpcThreadCache::RpcWorkerThreadEntry+0x29 [onecore\com\combase\dcomrem\threads.cxx @ 77] 
06 000000d3`2deffb90 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
07 000000d3`2deffbc0 00000000`00000000     ntdll!RtlUserThreadStart+0x28

  10  Id: 6260.db8 Suspend: 0 Teb: 000000d3`2d5f4000 Unfrozen
 # Child-SP          RetAddr               Call Site
00 000000d3`2dfff6f8 00007ffa`04785833     ntdll!NtDelayExecution+0x14
01 000000d3`2dfff700 00007ffa`01c29fcd     ntdll!RtlDelayExecution+0x43
02 000000d3`2dfff730 00007ff9`f705e567     KERNELBASE!SleepEx+0x7d
03 000000d3`2dfff7b0 00007ff9`f705e3cc     Windows_Gaming_Input!ProviderManagerWorker::WorkerThreadProc+0x157
04 000000d3`2dfffa40 00007ffa`029a244d     Windows_Gaming_Input!ProviderManagerWorker::WorkerThreadProcThunk+0x1c
05 000000d3`2dfffa70 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
06 000000d3`2dfffaa0 00000000`00000000     ntdll!RtlUserThreadStart+0x28

  11  Id: 6260.627c Suspend: 0 Teb: 000000d3`2d5f6000 Unfrozen
 # Child-SP          RetAddr               Call Site
00 000000d3`2e0ffa38 00007ffa`04785833     ntdll!NtDelayExecution+0x14
01 000000d3`2e0ffa40 00007ffa`01c29fcd     ntdll!RtlDelayExecution+0x43
02 000000d3`2e0ffa70 00007ff6`2d64722c     KERNELBASE!SleepEx+0x7d
03 000000d3`2e0ffaf0 00007ff6`2d0baac1     Dolphin!SDL_WaitEventTimeout_REAL+0x8ac [d:\Externals\SDL\SDL\src\events\SDL_events.c @ 1113] 
04 000000d3`2e0ffba0 00007ff6`2d0b980e     Dolphin!`ciface::SDL::Init'::`2'::<lambda_1>::operator()+0x341 [d:\Source\Core\InputCommon\ControllerInterface\SDL\SDL.cpp @ 219] 
05 (Inline Function) --------`--------     Dolphin!std::invoke+0x5 [v:\14.33.31629\include\type_traits @ 1548] 
06 000000d3`2e0ffd30 00007ffa`02119363     Dolphin!std::thread::_Invoke<std::tuple<`ciface::SDL::Init'::`2'::<lambda_1> >,0>+0xe [v:\14.33.31629\include\thread @ 56] 
07 000000d3`2e0ffd60 00007ffa`029a244d     ucrtbase!thread_start<unsigned int (__cdecl*)(void *),1>+0x93
08 000000d3`2e0ffd90 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
09 000000d3`2e0ffdc0 00000000`00000000     ntdll!RtlUserThreadStart+0x28

  12  Id: 6260.6450 Suspend: 0 Teb: 000000d3`2d5f8000 Unfrozen
 # Child-SP          RetAddr               Call Site
00 000000d3`2e1ff988 00007ffa`010ee36b     ntdll!NtRemoveIoCompletion+0x14
01 000000d3`2e1ff990 00007ffa`029a244d     mswsock!SockAsyncThread+0x9b
02 000000d3`2e1ff9f0 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
03 000000d3`2e1ffa20 00000000`00000000     ntdll!RtlUserThreadStart+0x28

  13  Id: 6260.3e2c Suspend: 0 Teb: 000000d3`2d5fa000 Unfrozen "SDL_joystick"
 # Child-SP          RetAddr               Call Site
00 000000d3`2d3efcb8 00007ffa`0275500a     win32u!NtUserGetMessage+0x14
01 000000d3`2d3efcc0 00007ff6`2d6a06ec     user32!GetMessageW+0x2a
02 (Inline Function) --------`--------     Dolphin!SDL_WaitForDeviceNotification+0x3c [d:\Externals\SDL\SDL\src\joystick\windows\SDL_windowsjoystick.c @ 325] 
03 000000d3`2d3efd20 00007ff6`2d62f52f     Dolphin!SDL_JoystickThread+0x9c [d:\Externals\SDL\SDL\src\joystick\windows\SDL_windowsjoystick.c @ 362] 
04 000000d3`2d3efdb0 00007ff6`2d67611f     Dolphin!SDL_RunThread+0x2f [d:\Externals\SDL\SDL\src\thread\SDL_thread.c @ 303] 
05 (Inline Function) --------`--------     Dolphin!RunThread+0x9 [d:\Externals\SDL\SDL\src\thread\windows\SDL_systhread.c @ 82] 
06 000000d3`2d3efde0 00007ffa`029a244d     Dolphin!RunThreadViaCreateThread+0xf [d:\Externals\SDL\SDL\src\thread\windows\SDL_systhread.c @ 98] 
07 000000d3`2d3efe10 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
08 000000d3`2d3efe40 00000000`00000000     ntdll!RtlUserThreadStart+0x28

  14  Id: 6260.1e38 Suspend: 0 Teb: 000000d3`2d5fc000 Unfrozen
 # Child-SP          RetAddr               Call Site
00 000000d3`2e2ff818 00007ff9`e4633225     win32u!NtUserMsgWaitForMultipleObjectsEx+0x14
01 000000d3`2e2ff820 00007ffa`029a244d     dinput8!CEm_LL_ThreadProc+0x115
02 000000d3`2e2ff890 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
03 000000d3`2e2ff8c0 00000000`00000000     ntdll!RtlUserThreadStart+0x28

  15  Id: 6260.11c0 Suspend: 0 Teb: 000000d3`2d5fe000 Unfrozen
 # Child-SP          RetAddr               Call Site
00 000000d3`2e3ffaa8 00007ffa`01c44f39     ntdll!NtWaitForMultipleObjects+0x14
01 000000d3`2e3ffab0 00007ffa`01c44e3e     KERNELBASE!WaitForMultipleObjectsEx+0xe9
02 000000d3`2e3ffd90 00007ff9`558d0430     KERNELBASE!WaitForMultipleObjects+0xe
03 000000d3`2e3ffdd0 00007ffa`029a244d     Qt6Core!qt_adopted_thread_watcher_function+0xf0 [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\corelib\thread\qthread_win.cpp @ 204] 
04 000000d3`2e3ffe70 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
05 000000d3`2e3ffea0 00000000`00000000     ntdll!RtlUserThreadStart+0x28

  16  Id: 6260.2c8c Suspend: 0 Teb: 000000d3`2d400000 Unfrozen
 # Child-SP          RetAddr               Call Site
00 000000d3`2e4ff958 00007ffa`01c096d3     ntdll!NtRemoveIoCompletion+0x14
01 000000d3`2e4ff960 00007ff6`2d520165     KERNELBASE!GetQueuedCompletionStatus+0x53
02 000000d3`2e4ff9c0 00007ffa`02119363     Dolphin!windows_iocp_thread+0x75 [d:\Externals\libusb\libusb\libusb\os\windows_common.c @ 443] 
03 000000d3`2e4ffa50 00007ffa`029a244d     ucrtbase!thread_start<unsigned int (__cdecl*)(void *),1>+0x93
04 000000d3`2e4ffa80 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
05 000000d3`2e4ffab0 00000000`00000000     ntdll!RtlUserThreadStart+0x28

  17  Id: 6260.61f8 Suspend: 0 Teb: 000000d3`2d402000 Unfrozen "libusb thread"
 # Child-SP          RetAddr               Call Site
00 000000d3`2e5ff828 00007ffa`01c44f39     ntdll!NtWaitForMultipleObjects+0x14
01 000000d3`2e5ff830 00007ffa`01c44e3e     KERNELBASE!WaitForMultipleObjectsEx+0xe9
02 000000d3`2e5ffb10 00007ff6`2d520832     KERNELBASE!WaitForMultipleObjects+0xe
03 000000d3`2e5ffb50 00007ff6`2d51d2ec     Dolphin!usbi_wait_for_events+0x62 [d:\Externals\libusb\libusb\libusb\os\events_windows.c @ 176] 
04 000000d3`2e5ffb90 00007ff6`2d51df3a     Dolphin!handle_events+0x13c [d:\Externals\libusb\libusb\libusb\io.c @ 2244] 
05 000000d3`2e5ffbf0 00007ff6`2d059dc3     Dolphin!libusb_handle_events_timeout_completed+0x51a [d:\Externals\libusb\libusb\libusb\io.c @ 2361] 
06 000000d3`2e5ffc40 00007ff6`2cd1276f     Dolphin!LibusbUtils::Context::Impl::EventThread+0x63 [d:\Source\Core\Core\LibusbUtils.cpp @ 78] 
07 (Inline Function) --------`--------     Dolphin!std::invoke+0x6 [v:\14.33.31629\include\type_traits @ 1564] 
08 000000d3`2e5ffcc0 00007ffa`02119363     Dolphin!std::thread::_Invoke<std::tuple<void (__cdecl Common::WorkQueueThread<GameTracker::Command>::*)(void),Common::WorkQueueThread<GameTracker::Command> *>,0,1>+0xf [v:\14.33.31629\include\thread @ 56] 
09 000000d3`2e5ffcf0 00007ffa`029a244d     ucrtbase!thread_start<unsigned int (__cdecl*)(void *),1>+0x93
0a 000000d3`2e5ffd20 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
0b 000000d3`2e5ffd50 00000000`00000000     ntdll!RtlUserThreadStart+0x28

  18  Id: 6260.6408 Suspend: 0 Teb: 000000d3`2d404000 Unfrozen "Wiimote Scanning Thread"
 # Child-SP          RetAddr               Call Site
00 000000d3`2e6ff5b8 00007ffa`0479983b     ntdll!NtWaitForAlertByThreadId+0x14
01 000000d3`2e6ff5c0 00007ffa`01c560e9     ntdll!RtlSleepConditionVariableSRW+0x13b
02 000000d3`2e6ff640 00007ff9`dee12a35     KERNELBASE!SleepConditionVariableSRW+0x29
03 000000d3`2e6ff680 00007ff9`dee12bb3     msvcp140!Concurrency::details::stl_condition_variable_win7::wait_for+0x15 [D:\a\_work\1\s\src\vctools\crt\github\stl\src\primitives.hpp @ 87] 
04 000000d3`2e6ff6b0 00007ff6`2ccce9b5     msvcp140!_Cnd_timedwait+0x93 [D:\a\_work\1\s\src\vctools\crt\github\stl\src\cond.cpp @ 74] 
05 (Inline Function) --------`--------     Dolphin!std::condition_variable::wait_until+0x3d [v:\14.33.31629\include\mutex @ 671] 
06 000000d3`2e6ff720 00007ff6`2cf0b1c0     Dolphin!std::condition_variable::_Wait_until1<std::chrono::steady_clock,std::chrono::duration<__int64,std::ratio<1,1000000000> >,`Common::Event::WaitFor<__int64,std::ratio<1,1000> >'::`2'::<lambda_1> >+0x145 [v:\14.33.31629\include\mutex @ 730] 
07 (Inline Function) --------`--------     Dolphin!std::condition_variable::wait_for+0x7e [v:\14.33.31629\include\mutex @ 630] 
08 (Inline Function) --------`--------     Dolphin!Common::Event::WaitFor+0xdb [d:\Source\Core\Common\Event.h @ 65] 
09 000000d3`2e6ff790 00007ff6`2cd1276f     Dolphin!WiimoteReal::WiimoteScanner::ThreadFunc+0x340 [d:\Source\Core\Core\HW\WiimoteReal\WiimoteReal.cpp @ 697] 
0a (Inline Function) --------`--------     Dolphin!std::invoke+0x6 [v:\14.33.31629\include\type_traits @ 1564] 
0b 000000d3`2e6ffa50 00007ffa`02119363     Dolphin!std::thread::_Invoke<std::tuple<void (__cdecl Common::WorkQueueThread<GameTracker::Command>::*)(void),Common::WorkQueueThread<GameTracker::Command> *>,0,1>+0xf [v:\14.33.31629\include\thread @ 56] 
0c 000000d3`2e6ffa80 00007ffa`029a244d     ucrtbase!thread_start<unsigned int (__cdecl*)(void *),1>+0x93
0d 000000d3`2e6ffab0 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
0e 000000d3`2e6ffae0 00000000`00000000     ntdll!RtlUserThreadStart+0x28

  19  Id: 6260.2994 Suspend: 0 Teb: 000000d3`2d406000 Unfrozen "Wiimote Pool Thread"
 # Child-SP          RetAddr               Call Site
00 000000d3`2e7ff9a8 00007ffa`04785833     ntdll!NtDelayExecution+0x14
01 000000d3`2e7ff9b0 00007ffa`01c29fcd     ntdll!RtlDelayExecution+0x43
02 000000d3`2e7ff9e0 00007ff9`dee12eec     KERNELBASE!SleepEx+0x7d
03 000000d3`2e7ffa60 00007ff6`2cf09ab8     msvcp140!_Thrd_sleep+0x3c [D:\a\_work\1\s\src\vctools\crt\github\stl\src\cthread.cpp @ 80] 
04 (Inline Function) --------`--------     Dolphin!std::this_thread::sleep_until+0xa8 [v:\14.33.31629\include\thread @ 200] 
05 000000d3`2e7ffab0 00007ff6`2cd1276f     Dolphin!WiimoteReal::WiimoteScanner::PoolThreadFunc+0x168 [d:\Source\Core\Core\HW\WiimoteReal\WiimoteReal.cpp @ 632] 
06 (Inline Function) --------`--------     Dolphin!std::invoke+0x6 [v:\14.33.31629\include\type_traits @ 1564] 
07 000000d3`2e7ffba0 00007ffa`02119363     Dolphin!std::thread::_Invoke<std::tuple<void (__cdecl Common::WorkQueueThread<GameTracker::Command>::*)(void),Common::WorkQueueThread<GameTracker::Command> *>,0,1>+0xf [v:\14.33.31629\include\thread @ 56] 
08 000000d3`2e7ffbd0 00007ffa`029a244d     ucrtbase!thread_start<unsigned int (__cdecl*)(void *),1>+0x93
09 000000d3`2e7ffc00 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
0a 000000d3`2e7ffc30 00000000`00000000     ntdll!RtlUserThreadStart+0x28

  20  Id: 6260.1bd8 Suspend: 0 Teb: 000000d3`2d408000 Unfrozen "HotkeyScheduler"
 # Child-SP          RetAddr               Call Site
00 000000d3`2e8ff5f8 00007ffa`04785833     ntdll!NtDelayExecution+0x14
01 000000d3`2e8ff600 00007ffa`01c29fcd     ntdll!RtlDelayExecution+0x43
02 000000d3`2e8ff630 00007ff6`2cd2d2ea     KERNELBASE!SleepEx+0x7d
03 000000d3`2e8ff6b0 00007ff6`2cd1276f     Dolphin!HotkeyScheduler::Run+0xaa [d:\Source\Core\DolphinQt\HotkeyScheduler.cpp @ 151] 
04 (Inline Function) --------`--------     Dolphin!std::invoke+0x6 [v:\14.33.31629\include\type_traits @ 1564] 
05 000000d3`2e8ffdb0 00007ffa`02119363     Dolphin!std::thread::_Invoke<std::tuple<void (__cdecl Common::WorkQueueThread<GameTracker::Command>::*)(void),Common::WorkQueueThread<GameTracker::Command> *>,0,1>+0xf [v:\14.33.31629\include\thread @ 56] 
06 000000d3`2e8ffde0 00007ffa`029a244d     ucrtbase!thread_start<unsigned int (__cdecl*)(void *),1>+0x93
07 000000d3`2e8ffe10 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
08 000000d3`2e8ffe40 00000000`00000000     ntdll!RtlUserThreadStart+0x28

  21  Id: 6260.6520 Suspend: 0 Teb: 000000d3`2d40a000 Unfrozen "WorkQueueThread"
 # Child-SP          RetAddr               Call Site
00 000000d3`2e9ffb08 00007ffa`0479983b     ntdll!NtWaitForAlertByThreadId+0x14
01 000000d3`2e9ffb10 00007ffa`01c560e9     ntdll!RtlSleepConditionVariableSRW+0x13b
02 000000d3`2e9ffb90 00007ff9`dee12a09     KERNELBASE!SleepConditionVariableSRW+0x29
03 (Inline Function) --------`--------     msvcp140!Concurrency::details::stl_condition_variable_win7::wait_for+0x15 [D:\a\_work\1\s\src\vctools\crt\github\stl\src\primitives.hpp @ 87] 
04 000000d3`2e9ffbd0 00007ff9`dee12c4a     msvcp140!Concurrency::details::stl_condition_variable_win7::wait+0x19 [D:\a\_work\1\s\src\vctools\crt\github\stl\src\primitives.hpp @ 81] 
05 000000d3`2e9ffc00 00007ff6`2cd15ddd     msvcp140!_Cnd_wait+0x3a [D:\a\_work\1\s\src\vctools\crt\github\stl\src\cond.cpp @ 59] 
06 (Inline Function) --------`--------     Dolphin!std::condition_variable::wait+0x10 [v:\14.33.31629\include\mutex @ 598] 
07 (Inline Function) --------`--------     Dolphin!std::condition_variable::wait+0x1a [v:\14.33.31629\include\mutex @ 604] 
08 (Inline Function) --------`--------     Dolphin!Common::Event::Wait+0x38 [d:\Source\Core\Common\Event.h @ 55] 
09 000000d3`2e9ffc30 00007ff6`2cd1276f     Dolphin!Common::WorkQueueThread<GameTracker::Command>::ThreadLoop+0x5d [d:\Source\Core\Common\WorkQueueThread.h @ 80] 
0a (Inline Function) --------`--------     Dolphin!std::invoke+0x6 [v:\14.33.31629\include\type_traits @ 1564] 
0b 000000d3`2e9ffcb0 00007ffa`02119363     Dolphin!std::thread::_Invoke<std::tuple<void (__cdecl Common::WorkQueueThread<GameTracker::Command>::*)(void),Common::WorkQueueThread<GameTracker::Command> *>,0,1>+0xf [v:\14.33.31629\include\thread @ 56] 
0c 000000d3`2e9ffce0 00007ffa`029a244d     ucrtbase!thread_start<unsigned int (__cdecl*)(void *),1>+0x93
0d 000000d3`2e9ffd10 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
0e 000000d3`2e9ffd40 00000000`00000000     ntdll!RtlUserThreadStart+0x28

  22  Id: 6260.2590 Suspend: 0 Teb: 000000d3`2d40e000 Unfrozen "DiscordHandler"
 # Child-SP          RetAddr               Call Site
00 000000d3`2eaff6b8 00007ffa`0479983b     ntdll!NtWaitForAlertByThreadId+0x14
01 000000d3`2eaff6c0 00007ffa`01c560e9     ntdll!RtlSleepConditionVariableSRW+0x13b
02 000000d3`2eaff740 00007ff9`dee12a35     KERNELBASE!SleepConditionVariableSRW+0x29
03 000000d3`2eaff780 00007ff9`dee12bb3     msvcp140!Concurrency::details::stl_condition_variable_win7::wait_for+0x15 [D:\a\_work\1\s\src\vctools\crt\github\stl\src\primitives.hpp @ 87] 
04 000000d3`2eaff7b0 00007ff6`2ccce9b5     msvcp140!_Cnd_timedwait+0x93 [D:\a\_work\1\s\src\vctools\crt\github\stl\src\cond.cpp @ 74] 
05 (Inline Function) --------`--------     Dolphin!std::condition_variable::wait_until+0x3d [v:\14.33.31629\include\mutex @ 671] 
06 000000d3`2eaff820 00007ff6`2ccf3975     Dolphin!std::condition_variable::_Wait_until1<std::chrono::steady_clock,std::chrono::duration<__int64,std::ratio<1,1000000000> >,`Common::Event::WaitFor<__int64,std::ratio<1,1000> >'::`2'::<lambda_1> >+0x145 [v:\14.33.31629\include\mutex @ 730] 
07 (Inline Function) --------`--------     Dolphin!std::condition_variable::wait_for+0x73 [v:\14.33.31629\include\mutex @ 630] 
08 (Inline Function) --------`--------     Dolphin!Common::Event::WaitFor+0xac [d:\Source\Core\Common\Event.h @ 65] 
09 000000d3`2eaff890 00007ff6`2ccf3013     Dolphin!DiscordHandler::Run+0x2a5 [d:\Source\Core\DolphinQt\DiscordHandler.cpp @ 97] 
0a (Inline Function) --------`--------     Dolphin!std::invoke+0xa [v:\14.33.31629\include\type_traits @ 1564] 
0b 000000d3`2eaff9e0 00007ffa`02119363     Dolphin!std::thread::_Invoke<std::tuple<void (__cdecl DiscordHandler::*)(void),DiscordHandler *>,0,1>+0x13 [v:\14.33.31629\include\thread @ 56] 
0c 000000d3`2eaffa10 00007ffa`029a244d     ucrtbase!thread_start<unsigned int (__cdecl*)(void *),1>+0x93
0d 000000d3`2eaffa40 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
0e 000000d3`2eaffa70 00000000`00000000     ntdll!RtlUserThreadStart+0x28

  23  Id: 6260.58d0 Suspend: 0 Teb: 000000d3`2d414000 Unfrozen
 # Child-SP          RetAddr               Call Site
00 000000d3`2edff148 00007ffa`01c44f39     ntdll!NtWaitForMultipleObjects+0x14
01 000000d3`2edff150 00007ffa`01c44e3e     KERNELBASE!WaitForMultipleObjectsEx+0xe9
02 000000d3`2edff430 00007ff9`5593866d     KERNELBASE!WaitForMultipleObjects+0xe
03 000000d3`2edff470 00007ff9`558d087b     Qt6Core!QWindowsFileSystemWatcherEngineThread::run+0xed [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\corelib\io\qfilesystemwatcher_win.cpp @ 648] 
04 000000d3`2edff730 00007ffa`029a244d     Qt6Core!QThreadPrivate::start+0x13b [E:\qsc\qt-everywhere-src-6.3.0\qtbase\src\corelib\thread\qthread_win.cpp @ 328] 
05 000000d3`2edff770 00007ffa`0478df78     kernel32!BaseThreadInitThunk+0x1d
06 000000d3`2edff7a0 00000000`00000000     ntdll!RtlUserThreadStart+0x28
Actions #5

Updated by Anonymous about 2 years ago

The problem appears to be that Qt is trying to create "W:/Emulators/Dolphin/User/Config/Qt.ini.lock" but blocks forever on that: https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/io/qlockfile.cpp#n203

Are there other instances of dolphin running in the background? trying killing all of them in task manager. otherwise, use something like process hacker or procexp to find which process has "W:/Emulators/Dolphin/User/Config/Qt.ini.lock" open. Or worst case try rebooting.

Actions #6

Updated by Anonymous about 2 years ago

p.s. or, if "W:/Emulators/Dolphin/User/Config/Qt.ini.lock" exists, try deleting it before starting dolphin.

Actions #7

Updated by kill8r about 2 years ago

You know, you may be onto something. I don't think this is right lol
https://imgur.com/a/cbdcDXd

Actions #8

Updated by kill8r about 2 years ago

Ok, so deleting all the lock files lets Dolphin start, but closing it and trying to start it up again causes the freeze again. For some reason, the lock files arent being deleted. Dolphin, or Qt rather, gets stuck creating .rmlock files until it is forced closed. Since the original lock files are never actually removed, the lock persists, and more and more rmlock files keep getting created. I am watching it right now create a rmlock file about once every minute

Actions #9

Updated by Anonymous about 2 years ago

what is your W:\ drive (what type of drive + which filesystem type (ntfs? fat32?))? Are you running something that mirrors/backs-up that folder (like onedrive, google drive, etc)? or some tool to "protect" files on there?
do you still have the problem if you put dolphin on a different drive?

Actions #10

Updated by kill8r about 2 years ago

4TB HDD, NTFS, I think I found the issue though, and your hint about things that back up the folder. I have a program I use to automatically back up any changes to specified folders to another location once a day, and I think for some reason, even though it only is supposed to check at a certain time and do nothing else any other time, it was holding a lock on .lock files. I told it to ignore .lock and .rmlock files and now Dolphin opens just fine.

I guess this can be closed, thanks for the help in figuring it out and sorry for taking up your time

Actions #11

Updated by JosJuice about 2 years ago

  • Status changed from Questionable to Invalid
Actions

Also available in: Atom PDF