Actions
Emulator Issues #10345
closedDolphin hangs on exit in Common::BlockingLoop::~BlockingLoop
Status:
Fixed
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
Sometimes DolphinWX GUI will close, but the process is still running. Attaching debugger shows 2 threads alive, the main thread and one thread pool thread.
The main thread hung while executing CRT atexit() callbacks - specifically the destructor for static Common::BlockingLoop s_gpu_mainloop;
.
Unfortunately I killed the process without fully finding the root cause, so this is a reminder that someone should track it down sometime - dumps welcome.
It may be Windows specific and/or runtime specific (since we use std threading primitives afaik), but not sure yet.
Updated by Anonymous almost 7 years ago
This is a side-effect of video backends not properly stopping the fifo BlockingLoop (also: BlockingLoop dtor doesn't try hard enough to kill itself).
Actions