[Zope-dev] win32 BTree seg
Anthony Pfrunder
s341625@student.uq.edu.au
Tue, 13 Jul 1999 15:28:08 +1000 (GMT+1000)
On Tue, 13 Jul 1999, Robin Becker wrote:
Hi,
This sounds familar to a problem I was having with mine. After talking
with the kind souls at DC it turned out that the wrong set of include
files were been used. Make sure you are ONLY building the Setup file in
lib/python/
and NOT lib/Components. Check out the patch files on my website. If this
is the problem I'll submit to Collector again as bbb components should
have been killed by now in the CVS.
Cheers,
Anthony Pfrunder
> I'm getting null pointers in BTree.c in _bucket_set
> at line 798 apparently self->data is NULL. This is happening when I try
> out the ZClass tutorial example at the point of adding the ZClass.
>
> if(max != i) i++;
> d=self->data+i; /*self->data is 0*/
> if(self->len > i) memmove(d+1,d,sizeof(Item)*(self->len-i));
> #ifdef INTKEY
> d->key=ikey;
> #else
> d->key=key;
> Py_INCREF(key);
> #endif
> #ifdef INTVAL
> d->value=iv;
> #else
> d->value=v;
> Py_INCREF(v);
> #endif
> --
> Robin Becker
>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev@zope.org
> http://www.zope.org/mailman/listinfo/zope-dev
>
> (For non-developer, user-level issues, use the companion list,
> zope@zope.org, http://www.zope.org/mailman/listinfo/zope )
>