Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Process finished with exit code -1073741819 (0xC0000005) Pycharm

Tags:

I'm completly stuck on this. I keep getting error message

Process finished with exit code -1073741819 (0xC0000005)

I'm using pycharm with pyqt5.6 and qt5.6.2 and the problem started when I upgraded to these versions.

I've tried searching as much as I can, but have not been able to find an answer. Can anyone help please?

like image 635
A Rob4 Avatar asked May 31 '18 09:05

A Rob4


People also ask

What is process finished with exit code 0xC0000005?

0xC0000005 is a code for Access Violation error. It means that your program just tried to read, or write, in a section of memory that it has no access to. Most likely, this happened due to poor usage of pointers. Since your program does not have access to the address 0x0000000, this will cause error 0xC0000005.

Why is my program not running in Pycharm?

On the main toolbar, click the run/debug configuration combobox, and make sure that 'Solver' run/debug configuration is the current one. Now you can observe results in the Run tool window.

What does process finished with exit code mean?

What is the meaning of process finished with exit code? It means the program ran without any errors. Run exit(1) and it'll say it ran with exit code 1. Useful if someone wants to run your program from a script and act on the code returned. 5.23-May-2021.

What does process finished with exit code 0 mean in Pycharm?

It means that there is no error with your code. You have run it right through and there is nothing wrong with it. Pycharm returns 0 when it has found no errors (plus any output you give it) and returns 1 as well as an error message when it encounters errors.


1 Answers

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

like image 156
Jonathan L Avatar answered Sep 21 '22 15:09

Jonathan L