Python: Process finished with exit code -1073741819 (0xC0000005). How to Debug?


I'm getting a strange error "Process finished with exit code -1073741819 (0xC0000005)" running python 3.7 on a windows machine. The process just crashes. The error comes in random time. It seems to appear inside a thread.

Is there someway to get more information where exactly the error comes from? Right now my only solution is to add logging, but that is really time consuming.

Thanks a lot for any hint.

asked on Stack Overflow Sep 6, 2020 by MichaelRazum

1 Answer


I had the same issue, not long time ago and I have solved this with the following solution:

reinstall python – you don't have python33.dll in c:\WINDOWS\system32\

Maybe you have different python versions – look at folders in root of c:

If yes, then point to your version of python.exe in pyCharm > Settings > Project Interpreter

answered on Stack Overflow Jan 20, 2021 by Tal Dennis

User contributions licensed under CC BY-SA 3.0