RetroArch icon indicating copy to clipboard operation
RetroArch copied to clipboard

RetroArch crashes when getting an achievement with fastforward on

Open MortimerScharf opened this issue 4 years ago • 7 comments

Description

There's games where I enable fast-forward to get through the slow loading screens (we are talking PSX here), and I've encountered this bug now many, many times and it's getting really annoying. Basically, if I unlock an achievement with fast-forward enabled, there's a very high chance my emulator will freeze and close. I checked the logs with Verbose enabled and the very last line simply states that I unlocked the achievement. This also happened to me once without fast-forward, so I don't know what gives. This happened to me on many games now, and with both Beetle PSX HW and Duckstation cores.

Expected behavior

Unlock the achievement with fast-forward on (or not) and resume playing.

Actual behavior

RetroArch has a very high chance of crashing on me when unlocking an achievement with fast-forward enabled.

Steps to reproduce the bug

  1. Get ready to meet the requirements for an achievement.
  2. Toggle fast-forward.
  3. Game crashes.

Bisect Results

This first happened to me when I installed Beetle PSX HW core around two weeks ago. I didn't even have fast-forward mode on when it crashed to me on Tenchu as soon as I got an achievement. Now it's started happening much more often with Duckstation.

Version/Commit

Latest Stable.

  • RetroArch: [version/commit] 1.9.12.

Environment information

  • OS: Windows 10. Here I attach one of the logs from when the game crashed on me as soon as I got an achievement.

retroarch__2021_10_23__14_59_45.log

MortimerScharf avatar Oct 25 '21 23:10 MortimerScharf

I can unfortunately confirm, the same is happening to me, using Beetle PSX HW specifically. Fast-forward enabled while getting an achievement, and it crashes. Especially with the PSX loading times, this is quite annoying. To be even more specific, it happened while playing Broken Sword 1 and also while playing the sequel, so I am not sure if it is game related.

KhobarKast avatar Nov 29 '21 14:11 KhobarKast

Do you have automatic screenshots on? It's probably the same issue as #11483 or one of the issues it links to.

Jamiras avatar Nov 29 '21 15:11 Jamiras

Oh, interesting, thank you! I will turn the screenshotting off and see if it changes. That would be such a quality of life improvement!

KhobarKast avatar Dec 01 '21 22:12 KhobarKast

@KhobarKast did turning off automatic screenshots fix this for you?

briaguya0 avatar Feb 05 '22 03:02 briaguya0

@Jamiras has this been fixed by now? Can this be closed?

LibretroAdmin avatar Sep 05 '22 13:09 LibretroAdmin

I was never able to reproduce. The linked issue (#11483) is still open and describes a crash when taking a screenshot with vulkan in fullscreen and fast forward. The provided log shows the user was using vulkan in fullscreen and capturing screenshots, so I assume it's the same issue.

[INFO] [Environ]: SET_HW_RENDER, context type: vulkan.
[INFO] [Video]: Video @ fullscreen
[INFO] [RCHEEVOS]: Captured screenshot for achievement 89702

Jamiras avatar Sep 06 '22 00:09 Jamiras

It is likely this is fixed now by this commit/PR -

https://github.com/libretro/RetroArch/pull/14475

@MortimerScharf You still around, and could you test?

LibretroAdmin avatar Oct 05 '22 02:10 LibretroAdmin

I never really used that core any more, I just moved to Swanstation and never looked back. But no, I have not had it happened to me again.

MortimerScharf avatar Nov 13 '22 11:11 MortimerScharf