Hi everyone, while helping a customer porting its app from uWSGI+CPython
to uWSGI+PyPy we got this error when trying to allocate a "high" (200, 20
for 10 processes) number of threads:

<KeyError object at 0x7f60ee6d1688>
RPython traceback:
  File "rpython_memory_gctransform_shadowstack.c", line 425, in
switch_shadow_stacks
  File "rpython_rtyper_lltypesystem_rdict.c", line 8053, in
ll_dict_getitem__dicttablePtr_Signed_5

It is not a big problem for us as we can simply have more processes with
less threads, but i suppose it would be interesting to understand what is
going on.

Currently i fear some sort of race condition is triggered by uWSGI
attaching already spawned pthreads to Thread objects, but maybe you have
some better idea.

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to