homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients Alex.Willmer, xdegaye
Date 2016年04月26日.09:24:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461662690.12.0.966004358302.issue26849@psf.upfronthosting.co.za>
In-reply-to
Content
When python is cross-compiled for android with --enable-shared, the following error occurs:
# python -c "import socket"
Fatal Python error: PyThreadState_Get: no current thread
This also occurs when importing subprocess, asyncore or asyncio but not when importing posix (not a shared library). This is fixed by building python without soname versioning, although I have no idea why a problem with the android loader would cause this error.
Patch attached.
Some references to the android loader and soname versioning:
 https://code.google.com/p/android/issues/detail?id=55868
 https://groups.google.com/forum/#!msg/android-ndk/_UhNpRJlA1k/hbryqzEgN94J 
History
Date User Action Args
2016年04月26日 09:24:50xdegayesetrecipients: + xdegaye, Alex.Willmer
2016年04月26日 09:24:50xdegayesetmessageid: <1461662690.12.0.966004358302.issue26849@psf.upfronthosting.co.za>
2016年04月26日 09:24:50xdegayelinkissue26849 messages
2016年04月26日 09:24:49xdegayecreate

AltStyle によって変換されたページ (->オリジナル) /