Project

General

Profile

Actions

Emulator Issues #10345

closed

Dolphin hangs on exit in Common::BlockingLoop::~BlockingLoop

Added by Anonymous almost 7 years ago. Updated over 6 years ago.

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.

Actions #1

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 #2

Updated by Anonymous over 6 years ago

  • Status changed from Accepted to Fixed
Actions

Also available in: Atom PDF