[Vm-dev] InterpreterSimulator

Eliot Miranda eliot.miranda at gmail.com
Wed Mar 9 00:20:05 UTC 2016


Hi Florin,

On Tue, Mar 8, 2016 at 2:42 PM, Florin Mateoc <florin.mateoc at gmail.com>
wrote:

>
> Hi Eliot,
>
> Thank you, VMMaker.oscog works better, indeed.
> I still got an error while executing:
>
> (StackInterpreterSimulator new openOn:
> 'F:\Smalltalk\squeak\Squeak-4.5-All-in-One.app\Contents\Resources\Squeak4.5-decompiler.image')
> test
>
> Do I need any additional settings?
>

You shouldn't, but there may be an initialization bug.  Can you post just
the stack, without all those simulator inst vars? The stack trace gets
interesting at "NewObjectMemorySimulatorLSB>>long64At:" just when the post
gets truncated.  I don't know why long64At: would be sent in a V3
simulation so it piques my interest.


>
>
> Here is the erorr report:
>
> 'From: 8 March 2016 5:35:01.126 pm
>
> VM: Win32 - Smalltalk
> Image: Squeak5.0 [latest update: #15117]
>
> SecurityManager state:
> Restricted: false
> FileAccess: true
> SocketAccess: true
> Working Dir
> F:\Smalltalk\squeak\Squeak-5.0-All-in-One\Squeak-5.0-All-in-One.app\Contents\Resources
> Trusted Dir
> F:\Smalltalk\squeak\Squeak-5.0-All-in-One\Squeak-5.0-All-in-One.app\Contents\Resources\fmateoc
> Untrusted Dir C:\Users\fmateoc\Documents\My Squeak
>
> NewObjectMemorySimulatorLSB(Object)>>error:
>     Receiver: a NewObjectMemorySimulatorLSB
>     Arguments and temporary variables:
>         aString:     ''unaligned access''
>     Receiver''s instance variables:
>         memory:     a LittleEndianBitmap of length 7421053
>         youngStart:     25087060
>         endOfMemory:     29212852
>         memoryLimit:     29684212
>         nilObj:     4
>         falseObj:     12
>         trueObj:     20
>         specialObjectsOop:     4339092
>         rootTable:     #(2837948 4339092 219644 231688 231700 3830388
> 10956 22224904 5356 1...etc...
>         rootTableCount:     88
>         rootTableOverflowed:     false
>         extraRoots:     nil
>         extraRootCount:     0
>         weakRoots:     #(2572452 nil nil nil nil nil nil nil nil nil nil
> nil nil nil nil ni...etc...
>         weakRootCount:     1
>         child:     1501724940
>         field:     345348
>         parentField:     3
>         freeBlock:     nil
>         lastHash:     17871637
>         allocationCount:     nil
>         lowSpaceThreshold:     200000
>         signalLowSpace:     false
>         compStart:     26763028
>         compEnd:     26867736
>         fwdTableNext:     26868032
>         fwdTableLast:     29684204
>         remapBuffer:     #(26772976 26772968 nil nil nil nil nil nil nil
> nil nil nil nil ni...etc...
>         remapBufferCount:     0
>         allocationsBetweenGCs:     nil
>         tenuringThreshold:     2000
>         gcBiasToGrow:     0
>         gcBiasToGrowGCLimit:     0
>         gcBiasToGrowThreshold:     nil
>         statFullGCs:     0
>         statIncrGCs:     18
>         statFullGCUsecs:     0
>         statIncrGCUsecs:     0
>         statGCEndTime:     nil
>         statIGCDeltaUsecs:     0
>         statTenures:     0
>         statRootTableOverflows:     0
>         freeContexts:     nil
>         freeLargeContexts:     nil
>         interruptCheckCounter:     nil
>         totalObjectCount:     471363
>         shrinkThreshold:     8388608
>         growHeadroom:     4194304
>         headerTypeBytes:     a CArrayAccessor on: #(8 4 0 0)
>         youngStartLocal:     25087060
>         statMarkCount:     4111
>         statMarkCountLocal:     4111
>         statSweepCount:     2961
>         statMkFwdCount:     45
>         statCompMoveCount:     45
>         statGrowMemory:     0
>         statShrinkMemory:     0
>         statRootTableCount:     88
>         statAllocationCount:     nil
>         statSurvivorCount:     931
>         statSpecialMarkCount:     1616
>         forceTenureFlag:     0
>         gcStartUsecs:     3634910906984935
>         coInterpreter:     a StackInterpreterSimulatorLSB
>         freeStart:     26773052
>         reserveStart:     27070132
>         scavengeThreshold:     27070132
>         needGCFlag:     false
>         fullGCLock:     0
>         edenBytes:     2097152
>         checkForLeaks:     0
>         statGCEndUsecs:     3634910906984935
>         heapMap:     a CogCheck32BitHeapMap
>         parent:     nil
>
> NewObjectMemorySimulatorLSB(VMClass)>>unalignedAccessError
>     Receiver: a NewObjectMemorySimulatorLSB
>     Arguments and temporary variables:
>
>     Receiver''s instance variables:
>         memory:     a LittleEndianBitmap of length 7421053
>         youngStart:     25087060
>         endOfMemory:     29212852
>         memoryLimit:     29684212
>         nilObj:     4
>         falseObj:     12
>         trueObj:     20
>         specialObjectsOop:     4339092
>         rootTable:     #(2837948 4339092 219644 231688 231700 3830388
> 10956 22224904 5356 1...etc...
>         rootTableCount:     88
>         rootTableOverflowed:     false
>         extraRoots:     nil
>         extraRootCount:     0
>         weakRoots:     #(2572452 nil nil nil nil nil nil nil nil nil nil
> nil nil nil nil ni...etc...
>         weakRootCount:     1
>         child:     1501724940
>         field:     345348
>         parentField:     3
>         freeBlock:     nil
>         lastHash:     17871637
>         allocationCount:     nil
>         lowSpaceThreshold:     200000
>         signalLowSpace:     false
>         compStart:     26763028
>         compEnd:     26867736
>         fwdTableNext:     26868032
>         fwdTableLast:     29684204
>         remapBuffer:     #(26772976 26772968 nil nil nil nil nil nil nil
> nil nil nil nil ni...etc...
>         remapBufferCount:     0
>         allocationsBetweenGCs:     nil
>         tenuringThreshold:     2000
>         gcBiasToGrow:     0
>         gcBiasToGrowGCLimit:     0
>         gcBiasToGrowThreshold:     nil
>         statFullGCs:     0
>         statIncrGCs:     18
>         statFullGCUsecs:     0
>         statIncrGCUsecs:     0
>         statGCEndTime:     nil
>         statIGCDeltaUsecs:     0
>         statTenures:     0
>         statRootTableOverflows:     0
>         freeContexts:     nil
>         freeLargeContexts:     nil
>         interruptCheckCounter:     nil
>         totalObjectCount:     471363
>         shrinkThreshold:     8388608
>         growHeadroom:     4194304
>         headerTypeBytes:     a CArrayAccessor on: #(8 4 0 0)
>         youngStartLocal:     25087060
>         statMarkCount:     4111
>         statMarkCountLocal:     4111
>         statSweepCount:     2961
>         statMkFwdCount:     45
>         statCompMoveCount:     45
>         statGrowMemory:     0
>         statShrinkMemory:     0
>         statRootTableCount:     88
>         statAllocationCount:     nil
>         statSurvivorCount:     931
>         statSpecialMarkCount:     1616
>         forceTenureFlag:     0
>         gcStartUsecs:     3634910906984935
>         coInterpreter:     a StackInterpreterSimulatorLSB
>         freeStart:     26773052
>         reserveStart:     27070132
>         scavengeThreshold:     27070132
>         needGCFlag:     false
>         fullGCLock:     0
>         edenBytes:     2097152
>         checkForLeaks:     0
>         statGCEndUsecs:     3634910906984935
>         heapMap:     a CogCheck32BitHeapMap
>         parent:     nil
>
> NewObjectMemorySimulatorLSB>>long64At:
>     Receiver: a NewObjectMemorySimulatorLSB
>     Arguments and tempo...etc...
>



-- 
_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160308/d8cef294/attachment-0001.htm


More information about the Vm-dev mailing list