PSP-Archive / ARK-4

Custom Firmware for the PSP and PS Vita.
683 stars 42 forks source link

Crash logs #202

Closed Jambul46 closed 1 year ago

Jambul46 commented 1 year ago

New Feature

Would it be possible to add toggleable crash logs? Or any kind of debug? My PSP sometimes randomly crashes and it's been doing that for long (even with PRO-C) i tried to completly reinstall it but it didnt help.

In short: Recovery Menu > Log Toggle on/off > log.txt

Something like kernel log in normal linux.

Jambul46 commented 1 year ago

Also it doesnt crash in games only when doing random stuff in xmb (and now also launcher)

krazynez commented 1 year ago

If you use the debug versions it has very verbose output on screen.Might be hard to getbresults for random crashes though.

Jambul46 commented 1 year ago

Thats why i said that it would be nice to just go into recovery/settings and be able to enable some sort of logging

JoseAaronLopezGarcia commented 1 year ago

We have debug builds and then there's also PSPLink debugger out there.

Jambul46 commented 1 year ago

PSPLink is no go because i would need to be always connected to pc and like i said it crashes randomly (sometimes just once in a month) and for the debug builds do they log it somewhere? Because when it crashes it completly freezes and then turns off after 10-15 second

JoseAaronLopezGarcia commented 1 year ago

PSPLink is no go because i would need to be always connected to pc and like i said it crashes randomly (sometimes just once in a month) and for the debug builds do they log it somewhere? Because when it crashes it completly freezes and then turns off after 10-15 second

Debug builds have a built-in Blue Screen Of Death that shows important information on the screen that you can then take pictures of. it can be useful.

Jambul46 commented 1 year ago

I'll try that then. I thought it just had like an overlay that would show "kernel" log

Jambul46 commented 1 year ago

Do i just run the update pbp from the debug release?

JoseAaronLopezGarcia commented 1 year ago

Do i just run the update pbp from the debug release?

Yes.

Jambul46 commented 1 year ago

So after installing the debug version i tried to play P3P it showed it was loading some modules got stuck at sceSAScore and then poof it turned off no BSOD. Any idea why that happend?

Jambul46 commented 1 year ago

Works fine with normal version

krazynez commented 1 year ago

DEBUG builds do use more ram so it can cause different issues its more for seeing what it is getting stuck on. Usually you want to pair the DEBUG builds with PSPLink to poke around and see. If an execution happens the BSoD will show, however if the system just halts that does not get triggered before hand sometimes sadly.

Being random would make it very hard for any logging to happen as we would not know what to exactly look for. Having a file that is constantly being written to would not work on the PSP or you would just "lock" up because its just writing to a file the whole time. Threading is a thing yes, but its not really that great to do with io calls from my experience.

We can leave this open if @JoseAaronLopezGarcia can think of something or not. I will also try to brainstorm something, but off the top of my head I can not think of something that would fill the void.