Seems that only Debian i386 build of nodejs is broken. Downloaded https://unofficial-builds.nodejs.org/download/release/v10.24.0/node-v10.24.0-linux-x86.tar.xz unpacked somewhere and edited /usr/bin/yarnpkg to point to the new bin/node added symlinks (dirty hack) so node can find both /usr/lib/nodejs and /usr/share/nodejs: /node_modules -> /usr/share/nodejs /var/lib/gitlab/.node_libraries -> /usr/lib/nodejs
yarnpkg completed without segfault! -- Ondrej Zary