[issue20353] Hanging bug with multiprocessing + sqlite3 + tkinter (OS X 10.9 only)
Ned Deily
report at bugs.python.org
Thu Jan 23 02:19:41 CET 2014
Ned Deily added the comment:
I can reproduce a hang (but not a crash) when using a Python 2.7.x or 3.4.x built from source and linking with the OS X 10.9 system libsqlite3. Using the Apple-supplied Python 2.7 on 10.9 causes a crash in libdispatch. Using Python 2.7.6 or 3.4.0 from the current python.org 64-bit installers, the test does not hang; these Pythons are linked with a static local version of libsqlite3, not the system-supplied one. If I modify the test to include a call to sqlite3.connect() in the top-level code before calling multiprocessing apply_async, the test also does not hang anymore. Perhaps you can use that as a workaround. I'm not sure why the combination of sqlite and _tkinter are necessary to hang. I'm not going to have time to look further into this right away.
----------
nosy: +ned.deily
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20353>
_______________________________________
More information about the Python-bugs-list
mailing list