Pycharm keeps crashing with exit code 134

Hi all,

I am having a really frustrating problem that has persisted for some time and wont go away in pycharm community edition 2019.1.3 ! Just for context (and for the kinds of libraries i am using), I am coding primarily to build a nerual network in keras. 

 

Scripts work fine and without issue. But continued and repetitive use (changing arguments for confusion matrices etc, and plotting, but changing plot parameters etc) cause Python to crash.. I am aware this is python however I was wondering if this is a known issue and if there is a fix for it?.. This is constantly happening without fail in every session.

 

The details are as follows: Python quit unexpectedly (pop up window) and on the console an error appears that says: Process finished with exit code 134 (interrupted by signal 6:SIGABRT)

Is this truly a python problem or is it python within pycharm?

 

Any help with this issue would be much appreciated. Thanks!!

3 comments
Comment actions Permalink

>Is this truly a python problem or is it python within pycharm?

This can be confirmed by running your code outside of IDE from system terminal and trying to reproduce the issue. In fact, this is a necessary test to continue troubleshooting this issue.

Also, Is the issue related to debugging in any way? How exactly do you reproduce it?

0
Comment actions Permalink

Thank you!! 

 

I will run the scripts in the terminal and see if this happens:

 

For your questions:

 

I am not debugging, this is happening under just normal script running. 

 

Good question.. I am really unusre about what it is that is causing the crash.. but it is happening in every session very shortly after running scripts. i just cant pinpoint whether its loading in a library, a specific library or just happening. Its reproducible by general use... 

0
Comment actions Permalink

Apologies, just to add.. traceback attached below:

 

 

File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tkinter/__init__.py", line 3507, in __del__
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.__del__ at 0x130b29488>
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tkinter/__init__.py", line 3507, in __del__
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Tcl_AsyncDelete: async handler deleted by the wrong thread

0

Please sign in to leave a comment.