[squeak-dev] Question on Magma.

Chris Muller ma.chris.m at gmail.com
Sat Sep 10 22:42:01 UTC 2022


Hi Edwin,

Ah, thanks for posting that.  It's not a memory issue, it's actually a
bug with some new code I put in a few months ago that only occurs when
not running on Linux.  I just fixed it.  Sorry about that!  However, I
should let you know that Magma runs best on Linux, and is moving
toward being only officially supported on Linux.

I also just updated the SqueakMap entry, so the above fix will be
there in future installs.  You don't have to start in a new image.
You can either select version 1.65 in SqueakMap (with Installed
checked, and all other checkboxes unchecked) and Install it on top of
what you have (that is safe and won't create any bloat), or, you can
simply load the one package with the fix, Ma-Core-cmm.338 in HTTP
repository http://www.squeaksource.com/MaBase .

Sorry again for the inconvenience, with the above fix I think you're
ready to get going with Magma.  If any other questions or issues,
please don't hesitate to let me know!

On Sat, Sep 10, 2022 at 5:18 AM Edwin Ancaer <eancaer at gmail.com> wrote:
>
> Chris,
>
> It looks like a memory problem.
>
> I''l have to find some time to remove an old windows partition.
>
>
> -- The full stack ---
> SmallInteger(Object)>>doesNotUnderstand: #isByteString
> ByteString(String)>>compare:with:collated:
> ByteString(String)>><=
> ByteSymbol(SequenceableCollection)>>at:ifAbsent:
> MaComputer>>meminfo:ifAbsent:
> MaComputer>>systemMemoryAvailable
> SmalltalkImage>>imageMemoryAvailable
> MaComputer>>isLowOnMemory
> MaObjectRepository>>freeSomeSpaceIfNecessary:
> [] in [] in MagmaRepositoryController>>processRequest:
> BlockClosure>>ensure:
> Mutex>>critical:
> MagmaRepositoryController>>requestCritical:
> [] in MagmaRepositoryController>>processRequest:
> BlockClosure>>on:do:
> MagmaRepositoryController>>processRequest:
> MagmaRepositoryController>>value:
> [] in MaLocalRequestServer(MaRequestServer)>>processRequest:
> BlockClosure>>on:do:
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> MaLocalRequestServer(MaRequestServer)>>processRequest:
> MaLocalServerLink>>submit:
> [] in [] in [] in MagmaSession>>submit:to:
> [] in [] in BlockClosure>>maOn:do:on:do:on:do:
> BlockClosure>>on:do:
> [] in BlockClosure>>maOn:do:on:do:on:do:
> [] in [] in BlockClosure>>maOn:do:on:do:
> BlockClosure>>on:do:
> [] in BlockClosure>>maOn:do:on:do:
> BlockClosure>>on:do:
> BlockClosure>>maOn:do:on:do:
> BlockClosure>>maOn:do:on:do:on:do:
> [] in [] in MagmaSession>>submit:to:
> BlockClosure>>ensure:
> CursorWithMask(Cursor)>>showWhile:
> [] in MagmaSession>>submit:to:
> Mutex>>critical:
> MagmaSession>>submit:to:
> [] in MagmaSession>>submit:
> BlockClosure>>on:do:
> MagmaSession>>submit:
> MagmaSession>>primConnect
> [] in MagmaSession>>connect:
> BlockClosure>>ensure:
> Mutex>>critical:
> MagmaSession>>connect:
> MagmaRepositoryController>>connect
> MagmaRepositoryController>>createRepositoryAt:
> MagmaRepositoryController class>>create:
> MagmaRepositoryController class>>create:root:
> UndefinedObject>>DoIt
> Compiler>>evaluateCue:ifFail:
> Compiler>>evaluateCue:ifFail:logged:
> Compiler>>evaluate:in:to:environment:notifying:ifFail:logged:
> [] in SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:
> BlockClosure>>on:do:
> SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:
> SmalltalkEditor(TextEditor)>>evaluateSelection
> SmalltalkEditor(TextEditor)>>doIt
> SmalltalkEditor(TextEditor)>>doIt:
> SmalltalkEditor(TextEditor)>>dispatchOnKeyboardEvent:
> SmalltalkEditor(TextEditor)>>keyStroke:
> -- and more not shown --
>
> Thanks,
>
> Edwin
> *;
>
>
> Op za 10 sep. 2022 om 04:45 schreef Chris Muller <asqueaker at gmail.com>:
>>
>> Hi Edwin,
>>
>> That's weird, this looks strangely familiar, but can't remember what it was.
>>
>> Please turn on debug
>>
>>    MagmaPreferences debug: true.
>>
>> and then try creating your database again.  This will cause it to stop
>> in the server code wherever the problem is.  If you'll post that stack
>> here, I can help.
>>
>> I'm quite curious, thanks.
>>
>>  - Chris
>>
>>
>> On Fri, Sep 9, 2022 at 10:32 AM Edwin Ancaer <eancaer at gmail.com> wrote:
>> >
>> >
>> > Hello,
>> >
>> > Should I be able to install Magma in Squeak 5.3?
>> >
>> > Image
>> > -----
>> > /usr/home/edwin/Smalltalk53/magma.image
>> > Squeak5.3
>> > latest update: #19481
>> > Current Change Set: HomeProject
>> > Image format 68021 (64 bit)
>> >
>> > Virtual Machine
>> > ---------------
>> > /usr/home/edwin/Smalltalk53/opensmalltalk-vm/building/linux64x64/squeak.cog.spur/build/squeak
>> > Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.3142]
>> > Unix built on Aug 15 2022 13:47:05 Compiler: FreeBSD Clang 10.0.1 (git at github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2)
>> > platform sources revision VM: 202201220125 edwin at ottopedi:/usr/home/edwin/Smalltalk53/opensmalltalk-vm Date: Fri Jan 21 17:25:16 2022 CommitHash: 0df6348be Plugins: 202201220125 edwin at ottopedi:/usr/home/edwin/Smalltalk53/opensmalltalk-vm
>> >
>> > I used SqueaKmap to install VERSION 1.65 tests of Magma and then, following https://wiki.squeak.org/squeak/2689, executed
>> >
>> >  MagmaRepositoryController
>> >     create: '/home/edwin/MyMagmaFolder'
>> >     root: PDAPerson new.
>> >
>> > and got the message: MessageNotUnderstood: SmallInteger>>isByteString, as in the added screenshot.
>> >
>> > Can this be my image/VM that cause this problem?
>> >
>> > Kind regards,
>> >
>> > Edwin Ancaer
>> >
>>


More information about the Squeak-dev mailing list