Ever since I’ve upgraded to Ventura the processes are randomly terminating with Killed 9 signal.

For example:

I am trying to install a new version of ruby using rbenv install 3.2.2 and am seeing killed 9 signal being sen (see below)

opt/homebrew/opt/postgresql@11/include -I/opt/homebrew/opt/libffi/include -MMD -MF crypto/seed/libcrypto-shlib-seed_cbc.d.tmp -MT crypto/seed/libcrypto-shlib-seed_cbc.o -c -o crypto/seed/libcrypto-shlib-seed_cbc.o crypto/seed/seed_cbc.c
make[1]: *** [crypto/seed/libcrypto-shlib-seed.o] Killed: 9
make[1]: *** Waiting for unfinished jobs....
clang: error: unable to execute command: Killed: 9
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
make[1]: *** [crypto/seed/libcrypto-shlib-seed_cbc.o] Killed: 9
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/folders/sh/01k8dfc529q8srsbj35rnbr40000gp/T/rsa_x931-fd450d.c
clang: note: diagnostic msg: /var/folders/sh/01k8dfc529q8srsbj35rnbr40000gp/T/rsa_x931-fd450d.sh
clang: note: diagnostic msg: Crash backtrace is located in
clang: note: diagnostic msg: /Users/zlatansadibasic/Library/Logs/DiagnosticReports/clang_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
clang: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
clang: note: diagnostic msg: 

********************
make[1]: *** [crypto/rsa/libcrypto-shlib-rsa_x931.o] Error 254
make: *** [build_sw] Error 2
 

However this is not specific to using rbenv command or installing ruby. Every so often I get killed 9 signal being sent to some of the git commands when they are run in iterm2 as well.

3