Python 2.7 and greenlets – _PyTrash_thread_deposit_object: Assertion error

Jacek Konieczny jajcus at jajcus.net
Fri Feb 21 16:15:34 CET 2014


On 02/21/14 15:27, Arkadiusz Miśkiewicz wrote:
> On Friday 21 of February 2014, Jacek Konieczny wrote:
>> Hi,
>>
>> I wanted to try out python-gevent. First, I have started with updating
>> the packages to the newest greenlet and gevent. And there is a problem:
>>
>> a greenlet test fails with an error:
>>> PYTHONPATH=build/lib.linux-i686-2.7  python benchmarks/chain.py
>>> python: Objects/object.c:2453: _PyTrash_thread_deposit_object: Assertion
>>> `((((((((PyObject*)(op))->ob_type)))->tp_flags & ((1L<<14))) != 0) &&
>>> ((((PyObject*)(op))->ob_type)->tp_is_gc == ((void *)0) ||
>>> (((PyObject*)(op))->ob_type)->tp_is_gc(op)))' failed.  Result:Aborted
> 
> rpm -q gcc glibc binutils

gcc-4.8.2-5.i686
glibc-2.18-7.i686
binutils-2.24.51.0.3-1.i686

The same happens on Th builders.

>> It seems our python package is broken – maybe some compiler flag is
>> causing problems, but I have no idea how to further debug this.
> 
> looks like toolchain triggered issue

yeah… :-(




More information about the pld-devel-en mailing list