
report at bugs
Nov 17, 2009, 8:47 AM
Post #2 of 3
(38 views)
Permalink
|
|
[issue7144] imp.load_module in thread causes core dump on OSX 10.6
[In reply to]
|
|
Ronald Oussoren <ronaldoussoren[at]mac.com> added the comment: The crash is caused by loading any extension that happens to link with CoreFoundation on a secondary thread, unless CoreFoundation was already initialized. The CF framework contains a constructor that explicitly aborts when it is not called on the main thread (all of this on Snow Leopard only). I've found a workaround for this issue: ensure that Python is linked to the CoreFoundation framework, that way CF will be initialized when Python starts. I'm working on a clean patch for this ---------- _______________________________________ Python tracker <report[at]bugs.python.org> <http://bugs.python.org/issue7144> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|