Assume you are running under Windows. Application Error code 0xc0000005, also known as Access Violation error, is a common problem experienced by Windows users, regardless of os version. There are various causes to trigger Application Error 0xc0000005. For my case, I'm running debug mode in PyCharm (or Eclipse) with code that includes the following:
from pympler import muppy
all_objects=muppy.get_objects() # this causes pydev debugger exit with code -1073741819 (0xC0000005)
It was perfectly fine if execute the same piece of code through PyCharm in non-debug (Run) mode. Disabled the above code in debug mode, issue resolved.
Environment: PyCharm Community 2019.3, Anaconda 3, Python 3.7.3, pympler 0.7, Windows 10 Enterprise
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…