[issue26849] android does not support versioning in SONAME

2016-05-01 Thread Xavier de Gaye

Xavier de Gaye added the comment:

Python builds and runs fine on android without this patch. I cannot reproduce 
the 'Fatal Python error: PyThreadState_Get: no current thread' abort either.

Closing the issue.

--
resolution:  -> works for me
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26849] android does not support versioning in SONAME

2016-04-26 Thread Roman Evstifeev

Changes by Roman Evstifeev :


--
nosy: +Roman.Evstifeev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26849] android does not support versioning in SONAME

2016-04-26 Thread Xavier de Gaye

Xavier de Gaye added the comment:

Attached are the logcat traces of the abort.

This links helps in reading Android avc messages: 
http://www.all-things-android.com/content/debugging-se-android-avc-messages

--
Added file: http://bugs.python.org/file42618/logcat.txt

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26849] android does not support versioning in SONAME

2016-04-26 Thread Xavier de Gaye

New submission from Xavier de Gaye:

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

--
components: Cross-Build
files: soname_versioning.patch
keywords: patch
messages: 264241
nosy: Alex.Willmer, xdegaye
priority: normal
severity: normal
status: open
title: android does not support versioning in SONAME
type: behavior
versions: Python 3.6
Added file: http://bugs.python.org/file42596/soname_versioning.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com