Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is Killed:9 and how to fix in macOS Terminal?

I have a simple Python code for a machine learning project. I have a relatively big database of spontaneous speech. I started to train my speech model. Since it's a huge database I let it work overnight. In the morning I woke up and saw a mysterious

Killed: 9

line in my Terminal. Nothing else. There is no other error message or something to work with. The code run well for about 6 hours which is 75% of the whole process so I really don't understand whats went wrong.

What is Killed:9 and how to fix it? It's very frustrating to lose hours of computing time...

I'm on macOS Mojave beta if it's matter. Thank you in advance!

like image 984
Hordon Avatar asked Aug 14 '18 03:08

Hordon


1 Answers

I faced this issue when I updated my Mac OS version from Catalina to Big Sur. I was trying to run a binary and facing the Killed: 9 issue.

I was able to resolve this issue by following the steps below (I referred to this Apple StackExchange post for these steps) :-

  1. Download UPX via Homebrew - brew install upx
  2. Then decompress the binary - upx -d /path/to/binary/file
like image 150
Dhruv Saraswat Avatar answered Oct 22 '22 16:10

Dhruv Saraswat