PIL threading problems



Kind of a long shot, but are there known problems in calling PIL from
multiple threads? I'm getting weird intermittent core dumps from my
app, no idea what's causing them, but PIL is the only C module I'm
using, and I do see some mention on the interwebs that there might
be an issue:

http://lists.tiker.net/pipermail/pycuda/2009-March/001393.html

Any suggestions? Would it be enough to put a lock around the PIL
calls that I use?

Thanks.
.



Relevant Pages

  • Re: Catching a segfault in a Python library
    ... If my app ... chokes on a font (it will have made a note before doing what kills it, ... keep changing as new versions of libs like PIL and Freetype come out. ...
    (comp.lang.python)
  • Re: Packaging modules with Bundlebuilder
    ... I'm curious about creating .app files for the mac using bundlebuilder ... If I send this app to friends and family will they be able to use it? ... Or would they have to download PIL. ... but py2app at least comes with a recipe for it - which means that it should be included into the distribution. ...
    (comp.lang.python)
  • Reading image dimensions with PIL
    ... I'm writing an app that downloads images. ... It rejects images that are under a certain size - whithout downloading them completely. ... I've implemented this using PIL, by downloading the first K and trying to create a PIL image with it. ...
    (comp.lang.python)