You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2016-05-01.06:55:08.113>created_at=<Date2016-04-26.09:24:50.090>labels= ['type-bug', 'build']
title='android does not support versioning in SONAME'updated_at=<Date2016-05-01.06:55:08.110>user='https://github.com/xdegaye'
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.
Python builds and runs fine on android without this patch. I cannot reproduce the 'Fatal Python error: PyThreadState_Get: no current thread' abort either.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: