Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows][Invalid Memory Access (Break)]GOD EATER & GOD EATER BURST (ULJS00237)(NPJH50352)(ULJS00350) #13527

Closed
nassau-tk opened this issue Oct 10, 2020 · 19 comments · Fixed by #13802
Milestone

Comments

@nassau-tk
Copy link
Contributor

What happens?

Turn off "Ignore Invalid Memory Access Error" check box.
These games start,
BANDAI&namco logos appeared and screenshot appear and stop.

And,Not response any key exept "Fast Fowarding Key".
If you click "Fast Fowarding Key" then the intro movie starting.

Ofcourse, If turn on the "Ignore Invalid Memory Access Error" chekc box then error screen is not appear.

What should happen?

Work correctly.(Don't show the error screen.)

What hardware, operating system, and PPSSPP version? On desktop, GPU matters for graphical issues.

PPSSPP Ver.:1.10.3-876
OS:Windows10(64-bit)Japanese
CPU:Ryzen7 3800X(8-core)
GPU:RADEON RX5700XT
Resolution:2560×1440
RAM:32GB

GODEATER Seriese_InvalidMemoryAccess

@hrydgard hrydgard added this to the v1.11.0 milestone Oct 10, 2020
@anr2me
Copy link
Collaborator

anr2me commented Oct 10, 2020

I always wondered, does PSP game developers often use try..catch to handle exception and prevent crashing the game?
because there are programmers who likes or have a habit to catching exception instead of properly check the validity upon using a variable.

@nassau-tk
Copy link
Contributor Author

nassau-tk commented Oct 11, 2020

I got some logs on GOD EATER (ULJS00237).
And,It has some red code.
So,I will report it.

Timing of Invalid Memory Access Error.
GODEATER_01

Timing of intro movie skipping.
GODEATER_02

Timing of any case...(Menu/Load/etc...).
GODEATER_03

Timing of open the PPSSPP menu and stay hold it. (Press ESC key)
"This wasn't a red cord, but while the menu of PPSSPP was opened, it kept increasing, so I was interested."
GODEATER_05

@anr2me
I'm sorry,I don't know about any programmers mind.
Because,I'm just a amature.
But,I know only one thing.
"Japanese like elaborate work..":laughing:
It's Good? or bad? "I don't know!!". 😝

@nassau-tk
Copy link
Contributor Author

@hrydgard

And,Invalid Memory Access Error's last line of text is overlap on before line.

@anr2me
Copy link
Collaborator

anr2me commented Oct 11, 2020

That FriendFinder sending PING to AdhocServer every 2 seconds is normal, it's to prevent it from getting kicked out by Adhoc Server due to timeout while pausing the game (ie. going to PPSSPP settings), because if it get's kicked out that player will no longer be in any group and can't progress anymore.

That sceKernelPrintf might be something that happened inside try..catch where the game developer try to print some logs.

The rest of the Error logs seems to be trivial, some gamedev really does like to ignore error code and just moving on to the next step.

Btw, if you turn on the "Ignore Invalid Memory Access Error" does the game shows any kind of bug in-game?

@nassau-tk
Copy link
Contributor Author

@anr2me

OK! i understood the PING.

And,No. Not happen any error dialog.

hrydgard added a commit that referenced this issue Oct 14, 2020
Doesn't fix it though. A "Resume" button will be added later to BREAK
crashes.
@hrydgard
Copy link
Owner

This error is not actually an invalid memory access, it's the game triggering a software breakpoint as a result of an assert that it hits. This is a long standing issue with this game, and ignoring it works, for whatever reason, so I guess nobody has felt motivated enough to dig into it...

Currently there's no neat UI to resume after this type of breakpoint except to press unthrottle or use the debugger, this will be fixed though. I've take care of the ugly overwrite that you can see in the screenshots above, at least.

@anr2me
Copy link
Collaborator

anr2me commented Oct 15, 2020

How does a real PSP responds to assert breakpoints? are they ignoring it too?

@hrydgard
Copy link
Owner

I'm not 100% sure but I think it'll probably crash. Something is making the game feel uncomfortable, but nobody has figured out what since if you ignore the break the game runs anyway...

@sum2012
Copy link
Collaborator

sum2012 commented Dec 22, 2020

GOD EATER
v1.10.3-1375-g52c6169a5-windows-amd64 media log
https://gist.github.com/sum2012/ec213b7141b0fa08f6ae1a206faa92c7

sum2012 added a commit to sum2012/ppsspp that referenced this issue Dec 22, 2020
@sum2012
Copy link
Collaborator

sum2012 commented Dec 22, 2020

Please help to test any regression of video.Thanks
windows 64 bit modify build 1
https://drive.google.com/file/d/1YamV2gBdOSZWHFSrFxda2HmdCa87FcBM/view?usp=sharing

@nassau-tk
Copy link
Contributor Author

@sum2012
I tested on GOD EATER & GOD EATER BURST.

Result : [Break] is not happen.

@sum2012
Copy link
Collaborator

sum2012 commented Dec 23, 2020 via email

@nassau-tk
Copy link
Contributor Author

If can I do it then I wish help you.
But,I have a problem.
It's a ...."What is regression in video?"
Regression...?

Can I have directions in detail?

@sum2012
Copy link
Collaborator

sum2012 commented Dec 23, 2020 via email

@nassau-tk
Copy link
Contributor Author

Um...
I don't know those video.
But, I will try check some game's movie scene.

@hrydgard
Copy link
Owner

The word "Regression" just means that something that worked before, no longer works.

@nassau-tk
Copy link
Contributor Author

Oh!!
Thank you!!
(My English level is so low.Sorry! 😅)

And, I didn't find those issue exept these games(GE) since v1.10.3-876.

Maybe, Not related below.
Please see for reference.
#12768 not solved. (Type:Freeze in game movie scene)
#11060 not solved. (Type:Freeze in game movie scene)
(Intro is OK.)

These games has not problem. (Intro movie.)

  • Monster Hunter series (P/P2/P2G/3rd)
  • Final Fantasy series (1/2/3/4)
  • Assassin's Creed : Bloodlines
  • JEANNE D'ARC
  • Danball Senki /Danball Senki Boost
  • ARMORED CORE series
  • Everybody Golf 1&2
  • Everybody Tennis
  • Everybody Stress Buster
  • ProYakyu Spirits series
  • GUNDAM Battle Tactics
  • GUNDAM ASSAULT Survive
  • GUNDAM BATTLE Chronicle
  • GUNDAM BATTLE Universe
  • GUNDAM BATTLE Royale
  • GRAN TURISMO

@nassau-tk nassau-tk changed the title [Windows][Invalid Memory Access]GOD EATER & GOD EATER BURST (ULJS00237)(NPJH50352)(ULJS00350) [Windows][Invalid Memory Access (Break)]GOD EATER & GOD EATER BURST (ULJS00237)(NPJH50352)(ULJS00350) Dec 23, 2020
@sum2012
Copy link
Collaborator

sum2012 commented Dec 23, 2020

Thanks @nassau-tk

@nassau-tk
Copy link
Contributor Author

These games has not problem. (Intro movie.)

  • EXIT / EXIT2 (Kangaeru EXIT)
  • KidouSenshi GUNDAM vs GUNDAM / KidouSenshi GUNDAM vs GUNDAM NEXT PLUS
  • Musou OROCHI / Musou OROCHI MaouSairin / Musou OROCHI2 Special
  • Toukiden / Toukiden Kiwami
  • Tekken 6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants