RPCS3 / rpcs3

PlayStation 3 emulator and debugger
https://rpcs3.net/
GNU General Public License v2.0
15.4k stars 1.91k forks source link

[Bug] "Sleepy" threads don't invoke the "Terminate RPCS3 unsafely" dialogue #16131

Open Hasster1 opened 1 month ago

Hasster1 commented 1 month ago

Quick summary

When a thread gets "sleepy", the dialogue for force-stopping the emulator (https://github.com/RPCS3/rpcs3/pull/14038) doesn't appear.

Details

Continuation of https://github.com/RPCS3/rpcs3/issues/16045

Since i was a bit busy (and unlucky) at the time when that issue got closed, i couldn't manage to respond in time, thus, i'm forced to make a new issue

I was informed, that whenever emulator had any problems with stopping the emulation, a dialogue would appear (https://github.com/RPCS3/rpcs3/pull/14038), prompting to either force-stop the emulation, or wait.

But, i've never saw that dialogue (which is why i made that issue in the first place).

In any case, the problem is that whenever the thread gets "sleepy", and the emulation can't stop itself, that dialogue doesn't appear at all (i've been waiting for a couple of minutes, and nothing.)

image

Attach a log file

RPCS3 (4).log

Attach capture files for visual issues

No response

System configuration

No response

Other details

No response

Hasster1 commented 3 days ago

I probably should also add that when you close the game while it's compiling ppu (and probably spu) modules, the game will keep compiling the last 'batch' of modules while also saying that the thread is too sleepy.

elad335 commented 3 days ago

That makes sense now, will fix soon