Re: [pypy-dev] Weird C code in crashing code line

2012-10-11 Thread Stefan Behnel
Joe Hillenbrand, 11.10.2012 19:13: > On Wed, Oct 10, 2012 at 10:41 PM, Stefan Behnel wrote: >> I get a crash in lxml's test suite on 64bit Linux, right with the first >> test. > > Is this part of an effort to make Cython code work with PyPy? Yes. > lxml is written in Cython, and AFAIK Cython do

Re: [pypy-dev] Weird C code in crashing code line

2012-10-11 Thread Joe Hillenbrand
On Wed, Oct 10, 2012 at 10:41 PM, Stefan Behnel wrote: > Hi, > > I get a crash in lxml's test suite on 64bit Linux, right with the first > test. Is this part of an effort to make Cython code work with PyPy? lxml is written in Cython, and AFAIK Cython doesn't work with PyPy. Even if it did, it wo

Re: [pypy-dev] Weird C code in crashing code line

2012-10-11 Thread Amaury Forgeot d'Arc
2012/10/11 Armin Rigo : > On Thu, Oct 11, 2012 at 7:41 AM, Stefan Behnel wrote: >> it crashes in line 606 of obmalloc.c, which reads as follows: >> >> 583block *bp; >> [...] >> 604 bp = pool->freeblock; >> 605 assert(bp != NULL); >> 606 if ((pool->fr

Re: [pypy-dev] Weird C code in crashing code line

2012-10-11 Thread Stefan Behnel
Alex Gaynor, 11.10.2012 11:53: > On Thu, Oct 11, 2012 at 12:25 AM, Armin Rigo wrote: >> On Thu, Oct 11, 2012 at 7:41 AM, Stefan Behnel wrote: >>> it crashes in line 606 of obmalloc.c, which reads as follows: >>> >>> 583block *bp; >>> [...] >>> 604 bp = pool->freeblock; >>>

Re: [pypy-dev] Weird C code in crashing code line

2012-10-11 Thread Alex Gaynor
On Thu, Oct 11, 2012 at 12:25 AM, Armin Rigo wrote: > Hi Stefan, > > On Thu, Oct 11, 2012 at 7:41 AM, Stefan Behnel > wrote: > > it crashes in line 606 of obmalloc.c, which reads as follows: > > > > 583block *bp; > > [...] > > 604 bp = pool->freeblock; > > 605

Re: [pypy-dev] Weird C code in crashing code line

2012-10-11 Thread Armin Rigo
Hi Stefan, On Thu, Oct 11, 2012 at 7:41 AM, Stefan Behnel wrote: > it crashes in line 606 of obmalloc.c, which reads as follows: > > 583block *bp; > [...] > 604 bp = pool->freeblock; > 605 assert(bp != NULL); > 606 if ((pool->freeblock = *(block **)