hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.44k stars 2.19k forks source link

Gta LCS crashes on android #11381

Closed marcospampi closed 6 years ago

marcospampi commented 6 years ago

I recently got my heart broken by a crash while playing this game, the mission is the one you inspect the yakuza's ammo repository, immediately after the first cutscene on stanton. Tried both vulkan and opengl.

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'xiaomi/vince/vince:7.1.2/N2G47H/V9.5.3.0.NEGMIFA:user/release-keys'
Revision: '0'
ABI: 'arm64'
pid: 24544, tid: 24571, name: AndroidRender  >>> org.ppsspp.ppsspp <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2300000018
    x0   000000230994f6b0  x1   0000000000000000  x2   0000000000000001  x3   0000000000000002
    x4   0000000000000000  x5   0000007f8c3da918  x6   ffffffffffffffff  x7   0000000000000000
    x8   0000000000000000  x9   0000007f865e5cc0  x10  0000000000000040  x11  ffffffffffffffc0
    x12  0000007f865e5cc0  x13  0000000000000040  x14  0000000000000040  x15  0000000000000040
    x16  0000000000000018  x17  0000000000000068  x18  0000000000200010  x19  0000002309ff6bd0
    x20  00000000b22b2cd0  x21  0000000000000018  x22  000000000000037c  x23  000000000899fdd8
    x24  00000000000453fb  x25  0000000020000000  x26  0000007f86400000  x27  0000007f903f8f60
    x28  0000002300000000  x29  0000007f8c3daa70  x30  0000007f864001ac
    sp   0000007f8c3daa70  pc   0000007f865e5c54  pstate 0000000060000000

backtrace:
    #00 pc 00000000001e5c54  <anonymous:0000007f86400000>
    #01 pc 00000000000001a8  <anonymous:0000007f86400000>
unknownbrackets commented 6 years ago

If you save in game, and then load your save, does this still happen?

If so, can you try going to Tools -> Developer Options under Settings, and changing the CPU Core to IR Interpreter? It will be slower, but if it still crashes, the backtrace will be more helpful. If it doesn't crash, that will be useful information too.

Another thing to try (this won't lead to a better backtrace or fixing the real bug) is disabling "Fast Memory" under System. This will make it emulate slower and consume more battery, but rather than crashing on bad memory access (like the above), it will try to ignore it and keep playing the game.

That might workaround the issue, but a real PSP would crash on bad memory access. So ideally we want to fix the issue.

Also: make sure you're trying with the latest git build.

-[Unknown]

marcospampi commented 6 years ago

Could have been some memory overflow issue? I did saved the state just before the cutscene begin, If I go straight to the cutscene the game would crash, though I've ride around and then it didn't crashed. So looks like that the issue can be closed, I hope the error log could be handly , sorry I didn't backup-ed the state.