> SLOTD-CLASSES-EQ is called from %UPDATE-SLOTS, particularly this piece of code:
> ((and (equal nlayout olayout)
> (equal (mapcar #'car owrapper-class-slots)
> (mapcar #'car nwrapper-class-slots))
> (slotd-classes-eq (slot-value class 'slots) eslotds))
> So it looks like that SB-MOP did not expect that number of slots might
> be different at this point.
I've looked some more into this, the problem is that this code assumes
that there are only instance-allocated slots and class-allocated,
while we have database-allocated ones.