Bug#1033655: elpa-flycheck: Emacs28 / flycheck is spawning wild running shellcheck processes eating up the system memory (oom-kill)
> I can't duplicate this on a bookworm system. Does it happen for any
> shell script, or some particular ones?
A simple 3-line script doesn't have the problem.
The shell scripts here using a bash library of 5k lines of code.
I just ensured that the problem occurres with this script.
http://svn.computer42.org/svn/computer42-src/c42-utilities/trunk/batchme
The script depend on the libraries:
- http://svn.computer42.org/svn/computer42-src/c42-utilities/trunk/c42-common-functions
- http://svn.computer42.org/svn/computer42-src/c42-utilities/trunk/c42-common-functions
Either put the „libs“ to /usr/local/lib/bash or tweak the `batchme` script head to allow `shellscript` finding the libs.
The shellcheck options here are:
`export SHELLCHECK_OPTS=--norc --shell=bash --enable=add-default-case,avoid-nullary-conditions,require-variable-braces --exclude=SC2015,SC2120,SC2059,SC2119,SC1091,SC1090,SC1111`
Reply to: