[pypy-dev] asmgcc assertion error in lang-smalltalk

Lars Wassermann lars.wassermann at student.hpi.uni-potsdam.de
Fri Jul 19 12:28:40 CEST 2013


On 07/19/2013 11:51 AM, Carl Friedrich Bolz wrote:
> On 19/07/13 11:36, Lars Wassermann wrote:
>> Hello,
>> in the project lang-smalltalk, we have a problem we don't know where
>> exactly the source may be.
>> When running the VM with jit, we get:
>>
>> PyPy assertion failed at rpython_memory_gctransform_asmgcroot.c:583:
>> in pypy_g_locate_caller_based_on_retaddr: found a stack frame that does
>> not belong anywhere I know, bug in asmgcc
>> Aborted (core dumped)
>>
>> When running without jit, everything works fine.
>>
>> Is the fact that the error only occurs when using the JIT a hint that
>> the bug may not be in asmgcc?
> 
> You can try to see whether it goes away when not using asmgcc, by
> translating with:
> 
> rpython --gcrootfinder=shadowstack -Ojit ...target...
> 
> Cheers,
> 
> Carl Friedrich
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev
> 
That fixed the problem. Is there a way to generate a bug report for
asmgcc, or would that be too complicated?

Thank you,
Lars


More information about the pypy-dev mailing list