[Vm-dev] About Cog on linux

Igor Stasenko siguctua at gmail.com
Wed Feb 9 18:48:37 UTC 2011


It is really weird..
i using same sources for everything, except in one case i use
usual build steps, as in HowToBuild file,

while in another i using cmake configs.

So, the difference is in compiler flags etc.. but not in sources..
and as result, the one built using 'standard' steps runs well,
while built by cmake configs dies after few bytecodes interpreted:

 ./Cog ../generator.image

Segmentation fault



Smalltalk stack dump:
0xbfd61804 I [] in Debugger class>openContext:label:contents:
2005660708: a(n) Debugger class
0xbfd61830 I [] in StandardToolSet class>debugContext:label:contents:
2004064772: a(n) StandardToolSet class
0xbfd6185c I [] in ToolSet class>debugContext:label:contents:
2004049368: a(n) ToolSet class
0xbfd61888 I [] in MethodContext>cannotReturn: 2032713528: a(n) MethodContext
0xbfd618ac I [] in MessageNotUnderstood>message: 2032713492: a(n)
MessageNotUnderstood
0xbfd618dc I [] in UndefinedObject(Object)>doesNotUnderstand:
2003124228: a(n) UndefinedObject
0xbfd61904 I [] in UndefinedObject(Object)>mustBeBooleanIn:
2003124228: a(n) UndefinedObject
0xbfd61928 I UndefinedObject(Object)>mustBeBoolean 2003124228: a(n)
UndefinedObject
0xbfd61954 I [] in SmalltalkImage>snapshot:andQuit:embedded:
2005393456: a(n) SmalltalkImage
2032108624 s SmalltalkImage>snapshot:andQuit:
2032108320 s SmalltalkImage>saveImageInFileNamed:
2032108228 s SmalltalkImage>saveAs:
2016984776 s UndefinedObject>?
2016978028 s Compiler>evaluate:in:to:notifying:ifFail:logged:
2016977456 s Compiler class>evaluate:for:notifying:logged:
2016977364 s Compiler class>evaluate:for:logged:
2016977236 s Compiler class>evaluate:logged:
2016977144 s [] in RWBinaryOrTextStream(PositionableStream)>fileInAnnouncing:
2016977052 s BlockClosure>on:do:


as you can see it even don't leaves the #snapshot:andQuit:embedded:

Eliot, has you seen such before? Any ideas?
I am really don't like having VM which stability depends on some
little flag(s).. and i guess you too.


-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list