<mjacob>
translating with "pypy rpython/bin/rpython -O2 --revdb --no-shared pypy/goal/targetpypystandalone.py --withoutmod-micronumpy"
<arigato>
ah, these errors probably come from the gc-disable branch
<arigato>
I bet they exist in any translation using --gc=boehm
<arigato>
probably an easy fix
<mjacob>
i'll try the py3.5-reverse-debugger branch in the meantime (my code works with python 2 and 3)
Zaab1t has quit [Quit: bye bye friends]
<mjacob>
arigato: in the py3.5-reverse-debugger branch it works outside of a virtualenv, but inside i get the same "out of sync: unexpected byte in log (at release_gil)" error as before
<arigato>
ah
<mjacob>
when testing with a simple hello world script, the log file is 416K when run outside of a virtualenv and 392K when run inside the virtualenv
<mjacob>
it works with -S (inside and outside)
<mjacob>
how could i pinpoint the error?
<arigato>
no clue...
<mjacob>
the problem starts appearing after installing something in the virtualenv with 'pip install -e'
<arigato>
I mean, not really "no clue", but it's rather that it's a quite hard question
<arigato>
it means that what is put in the log file is unexpected
<mjacob>
i'm trying to make a more minimal test case, that doesn't involve virtualenv at all
<arigato>
that's probably not helping much
<arigato>
it's like tracking a JIT bug: it doesn't help much to reduce your Python program (beyond helping by making it more easily runnable by others)
<mjacob>
ok, what can we do? debug revdb with revdb? ;)
<arigato>
first make sure to put away the .c files
<arigato>
of the pypy with revdb built in
<arigato>
there should be "revdb.c" in there, hack it to print more information and/or hack around with revdb.py to run the executable under gdb (of course, you need to recompile it with -g)
<arigato>
it's a hard question in particular because of the way threads are handled
<arigato>
pypy-revdb relies on the GIL to write in the log in a sane way
<arigato>
but it needs to write information about thread switches (or more precisely the GIL being acquired by a different thread)
<kenaan>
arigo default 30d8fded3b4f /: Support for revdb translation