Missing initialization of TLS variable (relevant in debug mode)