Python Forum

Full Version: process finished with exit code -1073741819 (0xC0000005)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
what were you running?
please show code
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.
Can you at least give us a main idea of your program? What does it do? Does it use
a matlab created file?
That's like trying to asking me 'what's wrong with my car' without bringing the car to me.
Exactly
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.
(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
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.