ppsspp icon indicating copy to clipboard operation
ppsspp copied to clipboard

Sunday Vs Magazine Shuuketsu! Choujou Daikessen (Japan) crashes out after the intro

Open benderscruffy opened this issue 7 years ago • 19 comments

PPSSPP v1.5.4-995-g373366911 Windows 64 bit choose arcade mode and after you choose your character and opponent the intro plays and after that it goes to play music but then static and nothing but a black screen ppsspplog.zip

benderscruffy avatar May 21 '18 02:05 benderscruffy

35:48:388 sndp thread  E[SCEAUDIO]: HLE\sceAudio.cpp:114 sceAudioOutputPannedBlocking() - bad channel
35:48:388 sndp thread  D[SCEAUDIO]: HLE\sceAudio.cpp:130 80260003 = sceAudioOutputPannedBlocking(10080000, 00008000, 00008000, 08c85fc0)
35:48:389 sndp thread  I[SCEIO]: HLE\sceIo.cpp:1017 stdout: sceWaveAudioWriteBlocking failed 80260003!!!!!!!!!!!!!!!!!!!!!

That error is SCE_ERROR_AUDIO_INVALID_CHANNEL. I wonder if this is a thread timing issue.

But it first goes wrong here:

35:46:990 sndp thread  D[SCEAUDIO]: HLE\sceAudio.cpp:130 00000100 = sceAudioOutputPannedBlocking(00000004, 00008000, 00008000, 08c85bc0)
35:46:990 sxm_main     D[SCEKERNEL]: HLE\sceKernelThread.cpp:30 Context switch: sndp thread -> sxm_main (288->276, pc: 088f2cac->0880970c, blocking audio) +13us
35:46:992 sndp thread  D[SCEKERNEL]: HLE\sceKernelThread.cpp:30 Context switch: sxm_main -> sndp thread (276->288, pc: 08809764->088f2cac, audio drain) +5597us
35:46:992 sndp thread  W[MEMMAP]: MemmapFunctions.cpp:91 ReadFromHardware: Invalid address 10080000

It's output other audio to the same address, so I'm not sure why it's suddenly getting invalid accesses. After that, it starts making weird wrong SAS calls, so it definitely seems like that thread's memory got corrupted.

-[Unknown]

unknownbrackets avatar Jun 09 '18 17:06 unknownbrackets

v1.7.1-210-g9bda7cb64 goes ingame now sunday

benderscruffy avatar Nov 28 '18 05:11 benderscruffy

Interesting - I wonder what fixed this.

-[Unknown]

unknownbrackets avatar Nov 28 '18 05:11 unknownbrackets

[Android][OpenGL/Vulkan]

This issue is not fix on the Android. Finish the intro movie when application shut down. But if you "Skip" the intro movie then you can play.

PPSSPP Ver. : 1.8.0-617 OS: Android 9.0 DeviceName: SONY SO-02K / Xperia XZ1 Compact (Japan) CPU: Snapdragon835 (Octa-core) GPU: Adreno 540 Resolution: 720×1280 RAM: 4GB ROM:32GB ExternalStrage: microSDXC 512GB

recording_ULJM05450.zip

nassau-tk avatar Sep 17 '19 09:09 nassau-tk

I tested on the Windos10(64-bit). The issue happen on the Windows PPSSPP too yet. PPSSPP crash when the movie finished. You can play the game when If you skip the movie.

PPSSPP: v1.9.3-656 CPU: i7-4770K GPU: GeForce750Ti RAM: 16GB OS:Windows10 Home

nassau-tk avatar Apr 14 '20 06:04 nassau-tk

Invalid Memory Access Error

sunday_vs_magazine_error

nassau-tk avatar Jul 23 '20 11:07 nassau-tk

I will get a look when my mpeg pull request merged

sum2012 avatar Dec 23 '20 13:12 sum2012

Where is the crash video ? I test no problem in intro. edit:Test in v1.10.3-1375-g52c6169a5-windows-amd64

sum2012 avatar Dec 24 '20 12:12 sum2012

@sum2012

Please, See movie from below link.(On my Google drive) https://drive.google.com/file/d/1dJEDLJWicQfM-rn5n2BRq_t_DG13CI4K/view?usp=sharing

The points of issue is not intro movie of wakeup.

1 Select a character.(Any character is OK.) 2 Intro movie is play per character. 3 Freeze!(Invalid Memory Access Error.)

[Log] EDIT: Delete

nassau-tk avatar Dec 24 '20 12:12 nassau-tk

v1.10.3-1375-g52c6169a5-windows-amd64 mpeg log: https://gist.github.com/sum2012/94e50eadc97a7d292336ffe491ad4106

@nassau-tk I have no idea now. I teach you about some logging: When there is a video \audio problem Need this setting 1 Then paste it in https://gist.github.com to share the log to contributor.

sum2012 avatar Dec 24 '20 12:12 sum2012

@sum2012 Thank you for teaching!! Is this OK??? https://gist.github.com/nassau-tk/76d1e133323b778c7b6b968f52c84d24

nassau-tk avatar Dec 24 '20 13:12 nassau-tk

System->Developer tools->Logging channels->"ME" Change to "Debug",others change to "Info"

sum2012 avatar Dec 24 '20 13:12 sum2012

Oops! Sorry.

When Load screen. (I found Red code .For reference.) https://gist.github.com/nassau-tk/d6faf14b94053deb2f23089cc7be34bf

When play the character movie.(between start to error.) https://gist.github.com/nassau-tk/3a44b01a3c270a3717faf6e31778b458

Is this right?:sweat_smile:

nassau-tk avatar Dec 24 '20 14:12 nassau-tk

Next time you post all log into the gist. No need separate.

sum2012 avatar Dec 24 '20 14:12 sum2012

OK! I understood it. Thank you for your kindness!!

nassau-tk avatar Dec 24 '20 14:12 nassau-tk

What happen if change sceMpeg.cpp line 1336 from

Memory::Write_U32(ctx->avc.avcFrameStatus, initAddr);

to

Memory::Write_U32(1, initAddr);

?

shenweip avatar Dec 29 '20 13:12 shenweip

Yes,It fix the crash modify log: https://gist.github.com/sum2012/f0fbed7c1f75067319c4afc1cf8de289

sum2012 avatar Dec 29 '20 14:12 sum2012

Take the record that this game's firmware is 5.03

sum2012 avatar Jan 30 '21 15:01 sum2012

PPSSPP v1.13.1-234-g5434bd83e still crashes out PPSSPP v1 13 1-234-g5434bd83e 8_08_2022 3_06_47 PM ppsspplog.zip

benderscruffy avatar Aug 08 '22 07:08 benderscruffy

Update the log to v1.13.1-544-g31bd16a04 https://gist.github.com/sum2012/0c50736b1b95968d50ef1406c1578e70

sum2012 avatar Aug 27 '22 01:08 sum2012

v1.13.2, still crash after character FMV... Any Fix?

Nekorozo avatar Sep 25 '22 10:09 Nekorozo

update the log to v1.13.2-1209-ga26a353c2 ppsspplogv1.13.2-1209-ga26a353c2.zip

sum2012 avatar Sep 25 '22 13:09 sum2012

The game do not load mpeg.prx from disc0:\PSP_GAME\USRDIR\module\mpeg.prx Will pull request @shenweip method. Not sure is hack or not ........

sum2012 avatar Sep 25 '22 14:09 sum2012

Yes,It fix the crash modify log: https://gist.github.com/sum2012/f0fbed7c1f75067319c4afc1cf8de289

how to do this?

Nekorozo avatar Sep 25 '22 14:09 Nekorozo

Yes,It fix the crash modify log: https://gist.github.com/sum2012/f0fbed7c1f75067319c4afc1cf8de289

how to do this?

I will upload the build here if @hrydgard don't accept my patch. You are run in windows or android ?

sum2012 avatar Sep 25 '22 15:09 sum2012

Windows!

Nekorozo avatar Sep 25 '22 16:09 Nekorozo

Windows!

PPSSPPWindows64v1.3.2-1209m.zip

sum2012 avatar Sep 25 '22 22:09 sum2012

Windows!

PPSSPPWindows64v1.3.2-1209m.zip

Thank you so much!

Nekorozo avatar Sep 26 '22 08:09 Nekorozo

Thanks it's finally fix it. Screenshot_2022-10-03-22-10-39-45

ghost avatar Oct 03 '22 14:10 ghost

Credit to @shenweip I just add some code from it,

sum2012 avatar Oct 03 '22 14:10 sum2012

Credit to @shenweip I just add some code from it,

Hoping you can also fix the crash issue of SOCOM Fireteam Bravo 3 https://github.com/hrydgard/ppsspp/issues/12730

ghost avatar Oct 03 '22 14:10 ghost

ok,I try again

Credit to @shenweip I just add some code from it,

Hoping you can also fix the crash issue of SOCOM Fireteam Bravo 3 #12730

sum2012 avatar Oct 03 '22 23:10 sum2012