Comment 4 for bug 1774302

Revision history for this message
Jody Simpson (jksimpson) wrote :

I was able to cobble together a fix for this, hopefully someone could use this information to create a more refined solution.

The underlying issue is that /usr/lib/gridengine/spooldefaults.bin will segfault when creating the initial databases. gridengine-client_8.1.9+dfsg-9 from debian sid has the appropriate fixes for this. I copied over spooldefaults.bin, libspoolb.so and libspoolc.so from /usr/lib/gridengine in that package.

After this, gridengine-master will try to start and report:
error opening shared lib "/usr/lib/gridengine/libspoolb.so": /usr/lib/x86_64-linux-gnu/libjemalloc.so.2: cannot allocate memory in static TLS block

This can be resolved by compiling jemalloc with --disable-initial-exec-tls