Fatal Python error: PyCOND_WAIT(gil_cond) failed

keepplearningpython krishna2prasad at gmail.com
Fri Dec 12 02:54:47 EST 2014


Hi,
I am running ipython3 on Unix and constantly see this crash -
It happens when i try to issue commands on the ipython interactive shell.

I have tried to set the PYTHONDIR to /var/tmp/ in case there was an issue accessing the default location of the history file. However, this makes no difference.

I can run a command a few times successfully after which I hit this error.

This is my python version info 


Python 3.3.2 (default, Nov 14 2014, 12:28:17)
Type "copyright", "credits" or "license" for more information.

IPython 1.1.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.


Any suggestions on what might be going on?




Fatal Python error: PyCOND_WAIT(gil_cond) failed

Thread 0x088e8900:
  File "/opt/jde/lib/python3.3/site-packages/IPython/core/history.py", line 664 in _writeout_input_cache
  File "/opt/jde/lib/python3.3/site-packages/IPython/core/history.py", line 680 in writeout_cache
  File "/opt/jde/lib/python3.3/site-packages/IPython/core/history.py", line 65 in needs_sqlite
  File "<string>", line 2 in writeout_cache
  File "/opt/jde/lib/python3.3/site-packages/IPython/core/history.py", line 733 in run
  File "/opt/jde/lib/python3.3/site-packages/IPython/core/history.py", line 65 in needs_sqlite
  File "<string>", line 2 in run
  File "/opt/jde/lib/python3.3/threading.py", line 637 in _bootstrap_inner
  File "/opt/jde/lib/python3.3/threading.py", line 614 in _bootstrap

Current thread 0x0804b000:
  File "/opt/jde/lib/python3.3/logging/__init__.py", line 940 in emit
  File "/opt/jde/lib/python3.3/logging/__init__.py", line 833 in handle
  File "/opt/jde/lib/python3.3/logging/__init__.py", line 1439 in callHandlers
  File "/opt/jde/lib/python3.3/logging/__init__.py", line 1377 in handle
  File "/opt/jde/lib/python3.3/logging/__init__.py", line 1367 in _log
  File "/opt/jde/lib/python3.3/logging/__init__.py", line 1232 in info
  File "/var/root/diags/src/lib/python/jde/jde/Model.py", line 644 in show
  File "<ipython-input-3-e2e1750a3a77>", line 1 in <module>
  File "/opt/jde/lib/python3.3/site-packages/IPython/core/interactiveshell.py", line 2828 in run_code
  File "/opt/jde/lib/python3.3/site-packages/IPython/core/interactiveshell.py", line 2778 in run_ast_nodes
  File "/opt/jde/lib/python3.3/site-packages/IPython/core/interactiveshell.py", line 2668 in run_cell
  File "/opt/jde/lib/python3.3/site-packages/IPython/terminal/interactiveshell.py", line 555 in interact
  File "/opt/jde/lib/python3.3/site-packages/IPython/terminal/interactiveshell.py", line 436 in mainloop
  File "/opt/jde/lib/python3.3/site-packages/IPython/terminal/ipapp.py", line 362 in start
  File "/opt/jde/lib/python3.3/site-packages/IPython/config/application.py", line 545 in launch_instance
  File "/opt/jde/lib/python3.3/site-packages/IPython/__init__.py", line 118 in start_ipython
  File "/opt/jde/bin/ipython3", line 6 in <module>
Abort (core dumped)




More information about the Python-list mailing list