[Zope-dev] win32 BTree seg
Robin Becker
robin@jessikat.demon.co.uk
Tue, 13 Jul 1999 03:41:14 +0100
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