bug in MaAtomicFileStream?

Igor Stasenko siguctua at gmail.com
Thu Aug 9 22:40:22 UTC 2007


Just loaded magma r40Beta2 in fresh 3.10.7137 image.

then did:
  MagmaRepositoryController
  create: 'magma'  root: nil

(magma dir was empty , so it starts creating new DB)
then at some moment it warns about 'outage' of system resources, i
pressing continue..
and few seconds later got error 'primitive failed' , because of
StandardFileStream tried to read from closed file.

I put assert in:
MaAtomicFileStream>>renewAccess: aPhysicalStream
	pool renewAccess: aPhysicalStream.
	self assert: aPhysicalStream closed not

restarted it, and yes, assertion failed. Seems a bit strange , how
stream appeared in 'openStreams' ivar is closed.

-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Magma mailing list