[Seaside] Magma and block contexts and other quesitons.

Derek Brans brans at nerdonawire.com
Thu May 8 17:28:18 CEST 2003


Hi Chris,

I get an error when trying to inspect the root of my repository.  

The following stack trace shows a BlockContext trying to materialize.  

Does this mean the repository is fried?

There seems to be no way to inspect the contents of the repository other than inspecting the root of a session.  Is that right?  Is there anyway to determine where the block context came from?

I'm still trying to understand how this works.  What if you create a repository from a root, to which you keep a pointer as a global variable.  Does that global variable now point to the repository object, or is it pointing to a dead clone of the repository?

Thank you.

May 8, 2003 16:27

VM: Win32 - Squeak3.4 of 1 March 2003 [latest update: #5170]
Image: Squeak3.5 [latest update: #5180]

BlockContext(Object)>>error:
 Receiver: a BlockContext with home=nil
 Arguments and temporary variables: 
  aString:  'stackp store failure'
 Receiver's instance variables: 
  sender:  0
  pc:  18446744072634809864
  stackp:  nil
  nargs:  nil
  startpc:  nil
  home:  nil

BlockContext(ContextPart)>>stackp:
 Receiver: a BlockContext with home=nil
 Arguments and temporary variables: 
  newStackp:  18446744072634809792
 Receiver's instance variables: 
  sender:  0
  pc:  18446744072634809864
  stackp:  nil
  nargs:  nil
  startpc:  nil
  home:  nil

BlockContext>>instVarAt:put:
 Receiver: a BlockContext with home=nil
 Arguments and temporary variables: 
  index:  3
  value:  18446744072634809792
 Receiver's instance variables: 
  sender:  0
  pc:  18446744072634809864
  stackp:  nil
  nargs:  nil
  startpc:  nil
  home:  nil

BlockContext class(Object class)>>maMaterializeFrom:
 Receiver: BlockContext
 Arguments and temporary variables: 
  aMaNormalObjectBuffer:  a MaNormalObjectBuffer 
 oid : 2066876
 classId : 119
 p...etc...
  skeleton:  a BlockContext with home=nil
  indexedSize:  0
  index:  3
  indexLimiT:  6
 Receiver's instance variables: 
  superclass:  ContextPart
  methodDict:  a MethodDictionary(#aboutToReturn:through:->a CompiledMethod (2845)...etc...
  format:  27022
  instanceVariables:  #('nargs' 'startpc' 'home')
  organization:  ('initialize-release' home:startpc:nargs:)
('accessing' copyForSa...etc...
  subclasses:  nil
  name:  #BlockContext
  classPool:  a Dictionary()
  sharedPools:  nil
  environment:  nil
  category:  nil


--- The full stack ---
BlockContext(Object)>>error:
BlockContext(ContextPart)>>stackp:
BlockContext>>instVarAt:put:
BlockContext class(Object class)>>maMaterializeFrom:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MaNormalObjectBuffer>>skeletonObjectUsing:
MaObjectSerializer>>newSkeletonFor:
[] in MaObjectSerializer>>materializeGraphDo:
[] in MaDefaultOidManager>>objectWithOid:ifFound:ifAbsent:
MaWeakValueDictionary(MaDictionary)>>maAt:ifPresent:ifAbsent:
[] in MaDefaultOidManager>>objectWithOid:ifFound:ifAbsent:
MaOidCalculator class>>objectWithOid:ifNone:
MaDefaultOidManager>>objectWithOid:ifFound:ifAbsent:
MaObjectSerializer>>objectWithOid:ifFound:ifAbsent:
[] in MaObjectSerializer>>materializeGraphDo:
[] in MaSerializedGraphBuffer>>buffersDo:
MaSerializedGraphBuffer>>bufferPositionsDo:
MaSerializedGraphBuffer>>buffersDo:
MaObjectSerializer>>materializeGraphDo:
MaObjectSerializer>>materializeGraph:do:
MagmaSession>>materializeObject:
MagmaSession>>anchor
MagmaSession>>root
MagmaSession>>DoIt
Compiler>>evaluate:in:to:notifying:ifFail:
[] in TextMorphEditor(ParagraphEditor)>>evaluateSelection
BlockContext>>on:do:
TextMorphEditor(ParagraphEditor)>>evaluateSelection
TextMorphEditor(ParagraphEditor)>>inspectIt
TextMorphEditor>>inspectIt:
TextMorphEditor(ParagraphEditor)>>dispatchOnCharacter:with:
TextMorphEditor>>dispatchOnCharacter:with:
TextMorphEditor(ParagraphEditor)>>readKeyboard
TextMorphEditor>>readKeyboard
[] in TextMorphForEditView(TextMorph)>>keyStroke:
TextMorphForEditView(TextMorph)>>handleInteraction:fromEvent:
TextMorphForEditView>>handleInteraction:fromEvent:
TextMorphForEditView(TextMorph)>>keyStroke:
TextMorphForEditView>>keyStroke:
TextMorphForEditView(TextMorph)>>handleKeystroke:
KeyboardEvent>>sentTo:
TextMorphForEditView(Morph)>>handleEvent:
TextMorphForEditView(Morph)>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendKeyboardEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor:
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess
[] in BlockContext>>newProcess


Derek Brans
Nerd on a Wire
Web design that's anything but square
http://www.nerdonawire.com 
phone: 604.874.6463
mailto: brans at nerdonawire.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lnx-12.ams-2.theinternetone.net/pipermail/seaside/attachments/20030508/22c2d502/attachment.htm


More information about the Seaside mailing list