Process finished with exit code -1073741819 (0xC0000005)
Hi Pavel,
First I would like to thank you for an amazing tutorial-series – it is highly appreciated.
While experimenting around with the NodeEditor (and the Calculator example) the application tends to crash with the following error message: “Process finished with exit code -1073741819 (0xC0000005)”. There are no further messages in debug mode. To reproduce this error I can for example drag an edge (Left mouse button) and drop it somewhere in the scene where Item is “None”. After some iterations (around 10-50) the applications shuts down with the abovementioned exit code displayed in PyCharm Run window/Debug window. The crash happens sooner when working with the Calculator example compared to the NodeEditor itself.
After having searched for this error I have performed the following steps that were suggested from various sources:
- I was initially running Pycharm with Anaconda. Instead I created a virtual environment with the following packages (outside Anaconda):
- pip 20.1.1
- PyQt5 5.15.0
- PyQt5-sip 12.8.0
- PyQt5-stubs 5.14.2.2
- setuptools 49.2.0
- Unchecked PyQt compatible (Build, Excecution, Deployment -- > Python Debugger)
- Updated NVIDIA graphics driver
- Deactivated “Force randomization for images (Mandatory ASLR) in Window Security
- Added JetBrain folders to exclusions (Windows Defender)
- Ran sfc /scannow (no corrupted files), disabled DEP and restarted computer.
None of these actions seem to resolve the issue. When looking in EventViewer, the application error is somehow related to Qt5.Widgets.dll. I added more debug lines in node_graphics_view.py to try to get an idea of where the code crashes. A normal set of actions looks as shown in norm_log.txt. The abnormal one (where the crash happens) is shown in crash_log.txt.
When comparing these two logs it seems that the crash happens in the overridden mousePressEvent (node_graphics_view) right after returning from leftMouseButtonPress. These actions look identical up to the crash. I get similar issues with the Calculator example. Have you encountered this issue before? The error 0xC0000005 could indicate RAM issues but the memory diagnostic cannot find any errors.
Do you have any suggestions?
Additional info:
- Current version of NodeEditor with no modifications
- Python 3.7.8
- Windows 10 64-bit