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 ned.deily
Recipients jbeck, jcea, ned.deily, swalker, vstinner
Date 2014-08-12.03:30:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407814229.11.0.171786885908.issue21412@psf.upfronthosting.co.za>
In-reply-to
Content
This appears to be another variation on the problem recently identified in Issue21166, namely that the pybuildir.txt Makefile rule can incorrectly import a shared library module from a previously installed Python instance and, if the ABIs of the installed and being-built Pythons differ, the newly-built interpreter can fail in various ways.  From your supplied trace, one can see that _heapq.so has incorrectly been inported from the installed system Python 3.4 which was probably built with --without-pymalloc:

#7  0x00007ff2f9ee2a6d in PyInit__heapq ()
   from /usr/lib/python3.4/lib-dynload/64/_heapq.so
#8  0x00007ff2f94c7c78 in _PyImport_LoadDynamicModule ()
   from /builds/jbeck/ul-python-3/components/python/python34/build/amd64/libpython3.4m.so.1.0

The fixes for Issue21166, when applied, should prevent this problem.
History
Date User Action Args
2014-08-12 03:30:29ned.deilysetrecipients: + ned.deily, jcea, vstinner, swalker, jbeck
2014-08-12 03:30:29ned.deilysetmessageid: <1407814229.11.0.171786885908.issue21412@psf.upfronthosting.co.za>
2014-08-12 03:30:29ned.deilylinkissue21412 messages
2014-08-12 03:30:28ned.deilycreate