Closed tchupp closed 1 year ago
the shell is printing that, this has nothing to do with dumb-init
Do you mind elaborating a little bit?
your shell is printing "Segmentation fault (core dumped)" -- for example try:
$ python3 -c "import subprocess; print(subprocess.call(('node', 'index.js')))"
-11
Ah, interesting! So the monitor in the shell that prints "Segmentation faul (core dumped)" isn't basing that on the exit code then.
Thank you for pointing me in the right direction 😁 I found more info here that helped me understand what was going on: https://martin.uy/blog/who-prints-core-dumped-after-a-segmentation-fault/
Pretty much the title!
I haven't investigated other languages, as NodeJS has a relatively easy reproducible example. I imagine whatever is running inside
dumb-init
is less important here anyways.~Minimum~ Small reproducible example