Fine.
Output of afni_python_wrapper.py -eval "show_process_stack(verb=2)" is here:
'''
** GPS pid 0 not in pid list:
[['1', '0', 'root', '/lib/systemd/systemd', '--unit=basic.target'], ['42', '1', 'root', '/lib/systemd/systemd-journald'], ['65', '1', 'root', '/lib/systemd/systemd-udevd'], ['68', '1', 'systemd+', '/lib/systemd/systemd-networkd'], ['243', '1', 'root', 'snapfuse', '/var/lib/snapd/snaps/lxd_24061.snap', '/snap/lxd/24061', '-o', 'ro,nodev,allow_other,suid'], ['249', '1', 'message+', '/usr/bin/dbus-daemon', '--system', '--address=systemd:', '--nofork', '--nopidfile', '--systemd-activation', '--syslog-only'], ['250', '1', 'root', '/usr/sbin/NetworkManager', '--no-daemon'], ['318', '0', 'root', '/usr/bin/sudo', '-H', '-u', 'hanyu', '/bin/bash', '-c', 'set', '-a;', '[', '-f', '"$HOME/.systemd-env"', ']', '&&', 'source', '"$HOME/.systemd-env";', 'set', '+a;', 'exec', 'bash', '-c', 'sh\', '-c\', '\'\"\$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh\"\', 'f1b07bd25dfad64b0167beb15359ae573aecd2cc\', 'stable\', 'code-server\', '.vscode-server\', '--host=127.0.0.1\', '--port=0\', '--connection-token=2643755491-3678993965-1761600367-607173443\', '--use-host-proxy\', '--without-browser-env-var\', '--disable-websocket-compression\', '--accept-server-license-terms\', '--disable-telemetry\', "--telemetry-level=off\'"], ['319', '318', 'hanyu', 'sh', '-c', '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh"', 'f1b07bd25dfad64b0167beb15359ae573aecd2cc', 'stable', 'code-server', '.vscode-server', '--host=127.0.0.1', '--port=0', '--connection-token=2643755491-3678993965-1761600367-607173443', '--use-host-proxy', '--without-browser-env-var', '--disable-websocket-compression', '--accept-server-license-terms', '--disable-telemetry', '--telemetry-level=off'], ['320', '319', 'hanyu', 'sh', '/mnt/c/Users/hy/.vscode/extensions/ms-vscode-remote.remote-wsl-0.72.0/scripts/wslServer.sh', 'f1b07bd25dfad64b0167beb15359ae573aecd2cc', 'stable', 'code-server', '.vscode-server', '--host=127.0.0.1', '--port=0', '--connection-token=2643755491-3678993965-1761600367-607173443', '--use-host-proxy', '--without-browser-env-var', '--disable-websocket-compression', '--accept-server-license-terms', '--disable-telemetry', '--telemetry-level=off'], ['325', '320', 'hanyu', 'sh', '/home/hanyu/.vscode-server/bin/f1b07bd25dfad64b0167beb15359ae573aecd2cc/bin/code-server', '--host=127.0.0.1', '--port=0', '--connection-token=2643755491-3678993965-1761600367-607173443', '--use-host-proxy', '--without-browser-env-var', '--disable-websocket-compression', '--accept-server-license-terms', '--disable-telemetry', '--telemetry-level=off'], ['329', '325', 'hanyu', '/home/hanyu/.vscode-server/bin/f1b07bd25dfad64b0167beb15359ae573aecd2cc/node', '/home/hanyu/.vscode-server/bin/f1b07bd25dfad64b0167beb15359ae573aecd2cc/out/server-main.js', '--host=127.0.0.1', '--port=0', '--connection-token=2643755491-3678993965-1761600367-607173443', '--use-host-proxy', '--without-browser-env-var', '--disable-websocket-compression', '--accept-server-license-terms', '--disable-telemetry', '--telemetry-level=off'], ['368', '329', 'hanyu', '/home/hanyu/.vscode-server/bin/f1b07bd25dfad64b0167beb15359ae573aecd2cc/node', '/home/hanyu/.vscode-server/bin/f1b07bd25dfad64b0167beb15359ae573aecd2cc/out/bootstrap-fork', '--type=fileWatcher'], ['429', '329', 'hanyu', '/home/hanyu/.vscode-server/bin/f1b07bd25dfad64b0167beb15359ae573aecd2cc/node', '--dns-result-order=ipv4first', '/home/hanyu/.vscode-server/bin/f1b07bd25dfad64b0167beb15359ae573aecd2cc/out/bootstrap-fork', '--type=extensionHost', '--transformURIs', '--useHostProxy=true'], ['521', '429', 'hanyu', '/home/hanyu/miniconda3/envs/bayes/bin/python', '/home/hanyu/.vscode-server/extensions/ms-python.isort-2022.8.0/bundled/tool/server.py'], ['560', '429', 'hanyu', '/home/hanyu/.vscode-server/bin/f1b07bd25dfad64b0167beb15359ae573aecd2cc/node', '/home/hanyu/.vscode-server/extensions/ms-python.vscode-pylance-2022.12.20/dist/server.bundle.js', '--cancellationReceive=file:01deb0d267feb99772e07bc85a0dfbc196dd8c8aac', '--node-ipc', '--clientProcessId=429'], ['882', '1', 'root', '/lib/systemd/systemd-logind'], ['1135', '1', 'root', '/usr/lib/policykit-1/polkitd', '--no-debug'], ['13816', '0', 'root', '/bin/login', '-p', '-f', "'DISPLAY=:0'", "'HOSTTYPE=x86_64'", "'PULSE_SERVER=unix:/mnt/wslg/PulseServer'", "'PWD=/home/hanyu'", "'TERM=xterm-256color'", "'WAYLAND_DISPLAY=wayland-0'", "'WSL2_GUI_APPS_ENABLED=1'", "'WSLENV=WT_SESSION:WT_PROFILE_ID:BASH_ENV/u'", "'WSL_DISTRO_NAME=Ubuntu-20.04'", "'WSL_INTEROP=/run/WSL/13875_interop'", "'WSL_PAC_URL=http://127.0.0.1:10812/pac?t=638423825047575671'", "'WT_PROFILE_ID={07b52e3e-de2c-5db4-bd2d-ba144ed6c273}'", "'WT_SESSION=676da409-3531-4bae-87b1-4d30529a9080'", "'XDG_RUNTIME_DIR=/mnt/wslg/runtime-dir'"], ['13935', '1', 'hanyu', '/lib/systemd/systemd', '--user'], ['13937', '13935', 'hanyu', '(sd-pam)'], ['13943', '13935', 'hanyu', '/usr/bin/pulseaudio', '--daemonize=no', '--log-target=journal'], ['13945', '13935', 'hanyu', '/usr/libexec/tracker-miner-fs'], ['13946', '13816', 'hanyu', '-bash'], ['13956', '13935', 'hanyu', '/usr/bin/dbus-daemon', '--session', '--address=systemd:', '--nofork', '--nopidfile', '--systemd-activation', '--syslog-only'], ['13959', '1', 'rtkit', '/usr/libexec/rtkit-daemon'], ['13973', '13935', 'hanyu', '/usr/libexec/gvfsd'], ['13989', '13935', 'hanyu', '/usr/libexec/gvfs-udisks2-volume-monitor'], ['13992', '1', 'root', '/usr/lib/udisks2/udisksd'], ['14013', '13935', 'hanyu', '/usr/libexec/gvfs-goa-volume-monitor'], ['14017', '13935', 'hanyu', '/usr/libexec/goa-daemon'], ['14026', '13935', 'hanyu', '/usr/libexec/goa-identity-service'], ['14031', '13935', 'hanyu', '/usr/libexec/gvfs-afc-volume-monitor'], ['14038', '13935', 'hanyu', '/usr/libexec/gvfs-mtp-volume-monitor'], ['14042', '13935', 'hanyu', '/usr/libexec/gvfs-gphoto2-volume-monitor'], ['14048', '1', 'root', '/usr/lib/upower/upowerd'], ['14094', '13935', 'hanyu', '/usr/libexec/gvfsd-metadata'], ['23103', '13946', 'hanyu', 'python', '/home/hanyu/abin/afni_python_wrapper.py', '-eval', 'show_process_stack(verb=2)'], ['23104', '23103', 'hanyu', '/bin/sh', '-c', 'ps', '-eo', 'pid,ppid,user,args'], ['23105', '23104', 'hanyu', 'ps', '-eo', 'pid,ppid,user,args']]
** GPSS command failure for: ps h -o pid,ppid,user,comm -p 0
error output:
error: process ID out of range
Usage:
ps [options]
Try 'ps --help <simple|list|output|threads|misc|all>'
or 'ps --help <s|l|o|t|m|a>'
for additional help text.
For more details see ps(1).
** empty process stack
'''
and output of afni_python_wrapper.py -print "get_process_stack()":
** GPSS command failure for: ps h -o pid,ppid,user,comm -p 0
error output:
error: process ID out of range
Usage:
ps [options]
Try 'ps --help <simple|list|output|threads|misc|all>'
or 'ps --help <s|l|o|t|m|a>'
for additional help text.
For more details see ps(1).