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

16

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?

python
pycharm
pyqt5
asked on Stack Overflow May 31, 2018 by A Rob4 • edited Dec 10, 2018 by dieKoderin

4 Answers

2

Thanks ekhumoro - i didnt know that. not sure if this is the 'right' way to do it but i ended up completely uninstalling anaconda and rebuilding it. when i then made a new virtual environment the problem resolved. if others have the same issue this might work too. BTW the problem first occurred with an update to pyqt5.

answered on Stack Overflow Jun 1, 2018 by A Rob4
2

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

answered on Stack Overflow Dec 13, 2019 by Jonathan L
0

I had the same problem solve it by updating my tensorflow. There is probably some kind of compatibility problem. I realize the problem was from my "import tensorflow" because i was not getting an obvious error right after the import line.

answered on Stack Overflow Dec 10, 2018 by dieKoderin • edited Dec 10, 2018 by dieKoderin
0

Not sure if related. Came here by Google for Process finished with exit code -1073741571 (0xC00000FD)

Problem was recursion in Debug mode in PyCharm using Anaconda environment:

class DemoClass:

    _some_hidden_variable = None

    def __init__(self):
        self.some_variable = 'some_input'

    @property
    def some_variable(self):
        return self._some_hidden_variable

    @some_variable.setter
    def some_variable(self, new_value):
        self.some_variable = new_value  # this row should set _some_hidden_variable 


demo_obj = DemoClass()

If I run it normally, I get:

Traceback (most recent call last):
  File "xxx/minimal_example.py", line 17, in <module>
    demo_obj = DemoClass()
  File "xxx/minimal_example.py", line 6, in __init__
    self.some_variable = 'some_input'
  File "xxx/minimal_example.py", line 14, in some_variable
    self.some_variable = new_value
  File "xxx/minimal_example.py", line 14, in some_variable
    self.some_variable = new_value
  File "xxx/minimal_example.py", line 14, in some_variable
    self.some_variable = new_value
  [Previous line repeated 994 more times]
RecursionError: maximum recursion depth exceeded

Process finished with exit code 1
answered on Stack Overflow Feb 28, 2021 by CodePrinz

User contributions licensed under CC BY-SA 3.0