shinyquagsire23 / SaltyNX

Background process for the Nintendo Switch for file/code modification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crashing games with cheats

masagrator opened this issue · comments

Newest version of SaltyNX crashes OS when cheats are enabled and cheats file is in titles.
It was working before implementing blocking systemapps.

Not really sure how Atmo cheats work. Can you post the SaltyNX log?

Atmosphere cheats use debug svc

SaltySD Spawner: got SD card
SaltySD Spawner Start
SaltySD Spawner: got handle 20003 for process
Spawner: SaltySD (pid 80) asked for handle sdcard
Spawner: sending SaltySD test
Spawner: Goodbye.
SaltySD: new max 81, 1 0000005542600000
SaltySD: found AttachProcess event:
tid 0100000000001000 pid 0000000000000081
name qlaunch
isA64 1 addrSpace 3 enableDebug 1
enableAslr 1 useSysMemBlocks 0 poolPartition 1
exception 0000000000000000
SaltySD: TID 0100000000001000 is a system application, aborting bootstrap...
SaltySD: new max 82, 1 0000000f27200000
SaltySD: found AttachProcess event:
tid 010000000000100c pid 0000000000000082
name overlayDisp
isA64 1 addrSpace 3 enableDebug 1
enableAslr 1 useSysMemBlocks 0 poolPartition 1
exception 0000000000000000
SaltySD: TID 010000000000100c is a system application, aborting bootstrap...
SaltySD Spawner: got SD card
SaltySD Spawner Start
SaltySD Spawner: got handle 20003 for process
Spawner: SaltySD (pid 80) asked for handle sdcard
Spawner: sending SaltySD test
Spawner: Goodbye.
SaltySD: new max 81, 1 000000709b800000
SaltySD: found AttachProcess event:
tid 0100000000001000 pid 0000000000000081
name qlaunch
isA64 1 addrSpace 3 enableDebug 1
enableAslr 1 useSysMemBlocks 0 poolPartition 1
exception 0000000000000000
SaltySD: TID 0100000000001000 is a system application, aborting bootstrap...
SaltySD: new max 82, 1 00000007ea400000
SaltySD: found AttachProcess event:
tid 010000000000100c pid 0000000000000082
name overlayDisp
isA64 1 addrSpace 3 enableDebug 1
enableAslr 1 useSysMemBlocks 0 poolPartition 1
exception 0000000000000000
SaltySD: TID 010000000000100c is a system application, aborting bootstrap...
SaltySD: new max 83, 1 000000005ac00000
SaltySD: found AttachProcess event:
tid 010000000000100d pid 0000000000000083
name hbloader
isA64 1 addrSpace 1 enableDebug 1
enableAslr 1 useSysMemBlocks 0 poolPartition 1
exception 0000000000000000
SaltySD: TID 010000000000100d is a system application, aborting bootstrap...

It looks like issue is broader - is in the way in anything using svc debug - sys-ftpd (crashing SaltyNX) and emuiibo (crashing system). This pull request looks like it can avoid crashing SaltyNX because of e401 error.
#8

Got confirmation that merged pull request resolved issue with sys-ftpd.

Edit: It looks like issue is with svcGetThreadList.
It can't get Threads and after more than one hundred attempts it crashes OS. Maybe it outbounds memory?