On Thu, Oct 11, 2012 at 12:25 AM, Armin Rigo <ar...@tunes.org> wrote:

> Hi Stefan,
>
> On Thu, Oct 11, 2012 at 7:41 AM, Stefan Behnel <stefan...@behnel.de>
> wrote:
> > it crashes in line 606 of obmalloc.c, which reads as follows:
> >
> >     583    block *bp;
> >     [...]
> >     604         bp = pool->freeblock;
> >     605         assert(bp != NULL);
> >     606         if ((pool->freeblock = *(block **)bp) != NULL) {
> >
> > The cast looks a bit smelly to me. Could someone who knows that code
> please
> > take a look to see if it makes any sense?
>
> This obmalloc.c is straight from CPython.  It's very unlikely at this
> point to contain problems.
>
>
> A bientôt,
>
> Armin.
> _______________________________________________
> pypy-dev mailing list
> pypy-dev@python.org
> http://mail.python.org/mailman/listinfo/pypy-dev
>

It was copied from CPython many years ago though, perhaps they've fixed
bugs since then?

Alex

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to