Subprocess failed error. code: 139 when running RECAST

When trying to run RECAST (on different analyses) on my laptop it crashed reporting error like:

 ERROR | subprocess failed. code: 139,  command docker run --rm -i reanahub/reana-demo-atlas-recast-eventselection:1.0 sh -c bash

(this particular example is from running recast run examples/rome). When running docker docker run --rm -i reanahub/reana-demo-atlas-recast-eventselection:1.0 sh -c bash it just crashes without any messages/warnings (returning only the status code 139).

In case somebody else runs into the issue, it is due to the host machine kernel setting vsyscalls being disabled. On debian machine adding this line

GRUB_CMDLINE_LINUX_DEFAULT="vsyscall=emulate"

in /etc/default/grub, followed by update-grub and reboot fixes the problem (see https://helpcenter.onlyoffice.com/server/docker/mail/enabling-vsyscall-on-debian.aspx for more details).