[Zope] Inavlid Refernce Counts in Temporary Storage

Dieter Maurer dieter at handshake.de
Thu Jul 13 17:49:34 EDT 2006


Philip Kilner wrote at 2006-7-13 15:30 +0100:
> ...
>   t=db.pack(t)
> File "D:\PROGRA~1\ENFOLD~1\Zope\lib\python\ZODB\DB.py", line 634, in pack
>   self._storage.pack(t, referencesf)
> File
>"D:\PROGRA~1\ENFOLD~1\Zope\lib\python\tempstorage\TemporaryStorage.py",
>line 350, in pack
>   self._takeOutGarbage(oid)
> File
>"D:\PROGRA~1\ENFOLD~1\Zope\lib\python\tempstorage\TemporaryStorage.py",
>line 321, in _takeOutGarbage
>   raise ReferenceCountError, (
>ReferenceCountError:  An error occured while decrementing a reference
>to an object in
>   the commit phase. The object's reference count was below zero.
>(Oid '\x00\x00\x00\x00\x00\x00\x00;' had refcount -1)

You may see a bug in the "pack" implementation for "TemporaryStorage".

Few people will probably try to "pack" a TemporaryStorage...
Are you shure to need it?



-- 
Dieter


More information about the Zope mailing list