RPCS3 / rpcs3

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

cellFsRead generates WIN32 error 998/1784 #1466

Closed tambry closed 8 years ago

tambry commented 8 years ago

Happens in following games:

AniLeo commented 8 years ago

Also happens in BJLM61187 (CROSS CHANNEL ~ For all people ~) Steins;Gate 0 also throws out some 0x6f8

{PPU Thread[0x24] (CRI FS File Access 2)[0x0018340c]} Exception: Unknown Win32 error: 0x6f8.
(in file ..\Utilities\File.cpp:690, in function fs::file::read)
Please report this to the developers.
tambry commented 8 years ago

That's quite a different error - ERROR_INVALID_USER_BUFFER. Maybe a game passes a smaller or empty buffer but expects some other behaviour. Could you provide the full log?

AniLeo commented 8 years ago

Well 0x6f8 happens less often than 0x3e6, preventing the game to boot at all like 0x3e6. I got it to appear as the second game boot attempt this time rpcs3_474.zip

Tl;dr: While trying to boot the game, sometimes it throws 0x3e6 and doesn't boot, sometimes it throws 0x6f8 and doesn't boot or it boots without any of those.

tambry commented 8 years ago

Ah, seems like it also occurs in cellFsRead so it's also probably relevant. Thank you.

AniLeo commented 8 years ago

The log I sent you was for S;G 0 but the 0x6f8 also happens in Cross Channel so yeah

Log for Cross Channel @ rpcs3_476.zip

AniLeo commented 8 years ago

This hasn't happened to me yet in the latest build. Need further testing, only tried with S;G 0, but this issue may be gone (?)

tambry commented 8 years ago

Win32 error 998 (ERROR_NOACCESS) and 1784 (ERROR_INVALID_USER_BUFFER) also occurs non-deterministically in LittleBigPlanet Demo.

SakataGintokiYT commented 8 years ago

@tambry Do you know how to fix it ?

tambry commented 8 years ago

Not really. The documentation doesn't even specify a reason for why ERROR_NOACCESS (998) may occur.

Nekotekina commented 8 years ago

I know what causes it. And trying to fix it in fast, half-assed manner won't improve anything, so just wait. And it's irrelevant what games throw it, it may happen for anything.

SakataGintokiYT commented 8 years ago

@Nekotekina *Now

(File.cpp:791 --> 834 )

{PPU[0x98] Thread (CRI FS File Access 1) [0x00dc5b4c]} class fmt::exception thrown: Win32 error: 998. (in file C:\rpcs3\Utilities\File.cpp:834)

AniLeo commented 8 years ago
{PPU[0x34] Thread (CRI FS File Access 2) [0x00183410]} PPU: Function 'cellFsRead' aborted
{PPU[0x34] Thread (CRI FS File Access 2) [0x00183410]} class fmt::exception thrown: Win32 error: 1784.
(in file C:\rpcs3\Utilities\File.cpp:744)

Still an issue in the latest build (tested with Steins;Gate 0)