[pypy-dev] Problems Installing STM

Armin Rigo arigo at tunes.org
Thu Jan 5 21:08:17 CET 2012


Hi Andrew,

On Thu, Jan 5, 2012 at 20:34, Andrew Francis <andrewfr_ice at yahoo.com> wrote:
> [translation:ERROR]  AssertionError: cast_ptr_to_adr(gcref) is a bad idea
> with STM.  Consider checking config.stm in <FunctionGraph of
> (pypy.rpython.memory.gc.minimark:427)MiniMarkGC.post_setup at 0x98f82d4>

Ah, sorry.  You need also to pass the option "--gc=none".  All real
GCs are unsupported so far :-/

> for i in range(LENGTH):
>         add_at_end_of_chained_list(glob.anchor, i)
>         rstm.transaction_boundary()
>  print "thread done"
>
> I don't see rstm.begin_transaction() being called. Is this implicit with
> when a thread starts?

Yes.

> In general, what sort of feedback are you looking for at this stage?

It's unclear.  At this stage I'm looking for how we would really like
the final STM-over-PyPy to look like, as this question is not clear at
all.  See my other mails about this topic...


A bientôt,

Armin.


More information about the pypy-dev mailing list