Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3 sherloq.py returns "Illegal Instruction" Ubuntu 22.04.4 LTS #97

Open
arbuquerquer opened this issue Jun 25, 2024 · 5 comments
Open

Comments

@arbuquerquer
Copy link

followed the installation instructions with all packages and libraries from requirements.txt:

git clone https://github.com/GuidoBartoli/sherloq.git
cd sherloq/gui
sudo apt install python3-distutils python3-dev python3-testresources subversion
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
rm get-pip.py
sudo pip install virtualenv virtualenvwrapper
echo -e "\n# Python Virtual Environments" >> ~/.bashrc
echo "export WORKON_HOME=$HOME/.virtualenvs" >> ~/.bashrc
echo "export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3" >> ~/.bashrc
echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bashrc
source ~/.bashrc
mkvirtualenv sq -p python3
pip install -r requirements.txt
python3 sherloq.py

running the command python sherloq.py throws an error Illegal operation

any way to troubleshoot where the issue is coming from?

screenshot

@arbuquerquer arbuquerquer changed the title python sherloq.py returns "Illegal Instruction" Ubuntu 22.04.4 LTS python3 sherloq.py returns "Illegal Instruction" Ubuntu 22.04.4 LTS Jun 25, 2024
@GuidoBartoli
Copy link
Owner

This is really strange, I cannot replicate your issue on my Ubuntu, same version... are you trying this inside a Virtual Machine?

@migueletto
Copy link

Does it always give 'Illegal instruction' ?
Perhaps you could run the command with gdb (assuming your machine has gnu debugger installed). Like this:
gdb --args python3 sherloq.py
When the '(gdb)' prompt appears, enter the 'run' command:
(gdb) run
If the program faults again, gdb will hopefully give some hint where it is happening.

@chunghanlaugambit
Copy link

This is really strange, I cannot replicate your issue on my Ubuntu, same version... are you trying this inside a Virtual Machine?

hi there! thank you for responding. yes, I'm testing it out inside a virtual machine

@chunghanlaugambit
Copy link

Does it always give 'Illegal instruction' ? Perhaps you could run the command with gdb (assuming your machine has gnu debugger installed). Like this: gdb --args python3 sherloq.py When the '(gdb)' prompt appears, enter the 'run' command: (gdb) run If the program faults again, gdb will hopefully give some hint where it is happening.

let me have a look and see whether this returns anything interesting. thank you!

@laurenzm
Copy link

laurenzm commented Sep 5, 2024

Hello,
same problem with Debian 12 :
gdb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants