Comment 2 for bug 1951126

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Interestingly, after fixing it once (e.g. by installing glusterfs without tcmalloc) it does continue to work even when going back to the old version of glusterfs.

I've tried to purge and reinstall but it still works. As if only some init-once function is the trigger that makes it enter the bad path and no more happening now.

I've found the condition eventually, only when multiple backing tgt stores are installed.
For example tgt-rbd + tgt-glusterfs then the crash happens.
-rw-r--r-- 1 root root 18560 Feb 24 2021 bs_glfs.so
-rw-r--r-- 1 root root 22656 Feb 24 2021 bs_rbd.so

Quite likely those backing store modules trigger some init phase that - when run twice, but with tcmalloc present (on one of them) - crash. tgt-glusterfs alone does not fail "as hard" but still doesn't work.