Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82473
| From | dieter <dieter@handshake.de> |
|---|---|
| Subject | Re: Fatal Python error: PyCOND_WAIT(gil_cond) failed |
| Date | 2014-12-13 08:06 +0100 |
| References | <a04ba13a-2147-482c-a678-9efeb960517b@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.16932.1418454416.18130.python-list@python.org> (permalink) |
keepplearningpython <krishna2prasad@gmail.com> writes: > 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. > ... > Any suggestions on what might be going on? > > > > > Fatal Python error: PyCOND_WAIT(gil_cond) failed Apparently, some thread should wait for the GIL (Python's Global Interpreter Lock) but instead of waiting, the operation results in an error. This looks like an important bug in GIL handling -- likely caused by some C extension, likely executing Python code without first acquiring the GIL. It might be difficult to locate the error: likely C level debugging will be necessary. Should my hypothesis be true, a change in C code would be necessary to fix the problem. I recommend to check for known problems related to GIL handling for all C implemented components of your application. If you are lucky, your problem is known and has been fixed in a different version. Then upgrading would be all you need to do.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Fatal Python error: PyCOND_WAIT(gil_cond) failed keepplearningpython <krishna2prasad@gmail.com> - 2014-12-11 23:54 -0800 Re: Fatal Python error: PyCOND_WAIT(gil_cond) failed dieter <dieter@handshake.de> - 2014-12-13 08:06 +0100
csiph-web