Python Forum
process finished with exit code -1073741819 (0xC0000005) - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: process finished with exit code -1073741819 (0xC0000005) (/thread-28375.html)



process finished with exit code -1073741819 (0xC0000005) - GMCobraz - Jul-16-2020

Dear all,

Is anyone facing the error as per in title before?
Please give a hints on how to solve.

Thank you very much.

Regards,
Guang Min


RE: process finished with exit code -1073741819 (0xC0000005) - Larz60+ - Jul-16-2020

what were you running?
please show code


RE: process finished with exit code -1073741819 (0xC0000005) - GMCobraz - Jul-16-2020

I am running my program at Pycharm 2019.3.5.

I found out that this error will occur whenever I use software called Matlab.

This error will disappear once I restart my device, and will occur again if I use Matlab.

Sorry that I cannot share my program, as it is combination of few files and with GUI also.

Thanks.


RE: process finished with exit code -1073741819 (0xC0000005) - BitPythoner - Jul-16-2020

Can you at least give us a main idea of your program? What does it do? Does it use
a matlab created file?


RE: process finished with exit code -1073741819 (0xC0000005) - Larz60+ - Jul-16-2020

That's like trying to asking me 'what's wrong with my car' without bringing the car to me.


RE: process finished with exit code -1073741819 (0xC0000005) - BitPythoner - Jul-17-2020

Exactly


RE: process finished with exit code -1073741819 (0xC0000005) - GMCobraz - Sep-01-2020

Dear all,

I manage to find out the error part.
self.parallel_config.setValue(int(data.iat[0, 6]))  # the program crashed at this point
self.series_config.setValue(int(data.iat[1, 6]))  
        
self.parallel_config.setValue(108)                  
self.series_config.setValue(3)

# in general
b = 2
c = 3
a = b + c
self.qspinbox.setValue(a)                          # program will crash

self.qspinbox.setValue(5)                          
So far my findings are:
1. parallel_config and series_config are QSpinbox.
2. The code will crash when it try to read from data frame or some previous calculation.
3. The code will crash if I setValue to read directly a value but not from calculation or data frame.

The above findings will only valid or occur, when I run parallel with Microsoft Power Point with Empower add-in.
If I run my code without the power point, the program will not crash for both mentioned code above.
The error somehow related to QSpinbox of setValue.

Please give me some hints if possible.
Thanks.


RE: process finished with exit code -1073741819 (0xC0000005) - buran - Sep-01-2020

(Sep-01-2020, 07:33 AM)GMCobraz Wrote: 2. The code will crash when it try to read from data frame or some previous calculation.
3. The code will crash if I setValue to read directly a value but not from calculation or data frame.


These 2 statements look like contradict to each other, at least to me.

(Sep-01-2020, 07:33 AM)GMCobraz Wrote: If I run my code without the power point

You were speaking about Matlab, now you speak of Power Point....?

Overall, it looks very likely there is some problem with the installation of either PyCharm or Python


RE: process finished with exit code -1073741819 (0xC0000005) - GMCobraz - Sep-01-2020

I am trying to say, both conditions also crash.

The latest find out from my troubleshooting process, the result shows is Power Point but not Matlab.

Thanks.