trackerboy icon indicating copy to clipboard operation
trackerboy copied to clipboard

Application may hang when opening a module

Open stoneface86 opened this issue 2 years ago • 1 comments

Bug description

Spurious hang when opening a module. Discovered by @N-SPC700

How to reproduce

Load a module and the application may hang. Hard to reproduce. Most likely a threading issue with the Renderer class, see below.

Information

This is most likely a synchronization issue with the Renderer, I believe the hang is caused by a deadlock when calling Renderer::forceStop https://github.com/stoneface86/trackerboy/blob/develop/src/forms/MainWindow/slots.cpp#L64

Reply to this issue if you have encountered this exact problem with specific details, so we can help isolate the cause.

stoneface86 avatar Jun 13 '22 04:06 stoneface86

New Information

CPU Utilization for the process is 0% when this hang occurs, which strongly suggests the source is a deadlock between the GUI thread and the Renderer thread.

stoneface86 avatar Jul 03 '22 03:07 stoneface86