vmwalker
vmwalker
The problem has a low probability of occurrence and is difficult to reproduce. I am trying to find ways to increase the probability of reproducing this problem, and I will...
I can reproduce the issue using follow code although the probability is a bit small. I test it with a android phone. The key is make ktxTexture2_TranscodeBasis to be called...
I was able to reproduce the issue once every hundred local tests. My conditions for reproduction were that the ktx file was approximately 3MB. The key to reproducing the problem...
@MarkCallow thank you very much for taking the time to discuss this issue. I'll try adding a mutex when calling `ktxTexture2_TranscodeBasis` to work around the problem, although this slightly reduces...
Okay, I'll test it in my environment and report the results later.
@MarkCallow I tested the fix you provided, and the problem did not reappear in more than 1,000 tests. Before the fix, the problem would reappear in about 300 tests in...
@MarkCallow The implementation of std::atomic does not require internal lock. Compared with ordinary type variables, after a std::atomic type variable is modified in one thread, the modified value can be...
This is a low-probability issue in a multi-threaded environment. I completely agree that we should avoid spending too much effort in test cases to completely avoid a particular issue that...