New_refcount != 1 INTERNAL ASSERT FAILED at /pytorch/c10/util/intrusive_ptr.h:183

Hi, I meet the mistak by Pytorch 1.3.0, which is “new_refcount != 1 INTERNAL ASSERT FAILED at c10/util/intrusive_ptr.h:183, please report a bug to PyTorch. intrusive_ptr: Cannot increase refcount after it reached zero.”, and don’t know how to solve it.
Anyone can give me suggestions?
Thank you very much!

Could you update PyTorch to the latest stable release (1.7.1) or the nightly binary and rerun your code?
You might be running into an already fixed issue. If you are still seeing this error, could you post an executable code snippet to reproduce it?

Thank you for your attention.The bug I meeted is in Docker, which use Pytorch1.3.0 branch.
Then I found the mistake of the version of GCC, after fixed it by changing GCC, the mistake doesn’t appear again.And I think I have solved the problem.
Thank you again!