Morsmalleo / AhMyth

Cross-Platform Android Remote Administration Tool | Official maintained repository for the AhMyth R.A.T Project | A dedicated revival of the original repository at https://GitHub.com/AhMyth/AhMyth-Android-RAT
GNU General Public License v3.0
714 stars 177 forks source link

sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process. #106

Closed Frido-Cpp closed 2 years ago

Frido-Cpp commented 2 years ago

It was Working Fine But today on launch it gives this error [16798:0420/092018.834203:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.

Morsmalleo commented 2 years ago

Run it out of sandbox with

npx electron ./app --no-sandbox start
Morsmalleo commented 2 years ago

Or you can remove AhMyth and set it up again following the instructions in the AhMyth Wiki

Morsmalleo commented 2 years ago

Please let me know if either solution worked

Frido-Cpp commented 2 years ago

okay, Thanks. I'll do it rn.
Still Patiently waiting for the USSD plugin. Once again I can contribute with python part of things

Frido-Cpp commented 2 years ago

Before I opened this issue, I deleted Ahmyth and reinstalled with the wiki guide, Now I've started It again with the command above but same error. I'm running ubuntu this time, not kali anymore. Ahmyth opens up but that error shows on terminal, so you can't click on anything in the Ahmyth UI and it opens up. Everything was working fine yesterday

Frido-Cpp commented 2 years ago

So what Can I do About that error bro?

Morsmalleo commented 2 years ago

Before I opened this issue, I deleted Ahmyth and reinstalled with the wiki guide, Now I've started It again with the command above but same error. I'm running ubuntu this time, not kali anymore. Ahmyth opens up but that error shows on terminal, so you can't click on anything in the Ahmyth UI and it opens up. Everything was working fine yesterday

A broken user interface usually means you have the wrong electron version installed

Morsmalleo commented 2 years ago

Run command

electron -v 

And show me the output

Frido-Cpp commented 2 years ago

v9.4.4

Morsmalleo commented 2 years ago

Hmm okay, it's not a wrong electron version, do you have a node_modules folder in the AhMyth-Server folder by chance???

Frido-Cpp commented 2 years ago

yes I do

Morsmalleo commented 2 years ago

This could be the reason why this error is arising, Remove the node_modules folder from the AhMyth-Server folder and run AhMyth again

Frido-Cpp commented 2 years ago

okay

Frido-Cpp commented 2 years ago

worked Thanks a lot bro.

Morsmalleo commented 2 years ago

worked Thanks a lot bro.

You're welcome!

So this is a basic rundown of what was happening;

You had electron v9.4.4 installed globally and you also had electron installed locally in the AhMyth/AhMyth-Server directory, hence why there was a node_modules folder present.

So when you were trying to run AhMyth, the electron you have installed globally and the electron you had installed locally in the node_modules folder located inside the AhMyth/AhMyth-Server directory, were both trying to run AhMyth at the same time, hence the error message

InitializeSandbox() called with multiple threads in process gpu-process

Because there were two electron installations trying to start one application

Frido-Cpp commented 2 years ago

okay I understand clearly now