Open sleirsgoevy opened 4 years ago
Will need to re-verify with my fork (which will be replacing the current develop build) to see if it's a patch issue, or a bad exploit issue.
To add to this issue, this also appears to be a bug on 5.05. Launching an application with Mira and without a internet connection freezes the system.
Found it out with LightningMods' help. The issue is that when Mira's initialization thread dies, the whole Mira process gets terminated, and the pointer to it that's cached inside Mira (m_InitParams.process
) becomes invalid.
Adding this to kernel/src/Mira.cpp
fixes the issue:
// Try not to exit
int pipe_fds[2];
kpipe_t(pipe_fds, curthread);
char cha;
kread_t(pipe_fds[0], &cha, 1, curthread);
kthread_exit();
Fixed by #156 #157 #159 #160.
Steps to reproduce:
The bug is present with both ps4jb and ChendoChap's implementation of the kexploit.
EDIT: The issue does not reproduce on ps4jb before b0a79c, which uses an older version of Mira.