Alright after smashing my head around for ages, figured out it happens due to thread-safe variables being used for general purpose graph functions. I.e., using same variables for thread-safe functions and non-threadsafe functions.
2 Likes