Running Newspeak images with 20180403 VM, I find that attempting to access the Newspeak source repository fails in the image. This occurs even in old images that work correctly under older VMs (20170628). Not sure what the issue is: OS/FFI access or something else.
Oh, and if it helps, here is the NS stack trace:
12 May 2018 6:49:05.568884 pm
VM: Mac OS - Smalltalk Image: Squeak5.1 [latest update: #16548]
SecurityManager state: Restricted: false FileAccess: true SocketAccess: true Working Dir /Users/gbracha/newspeak/dev/2017-09-05 Trusted Dir /foobar/tooBar/forSqueak/bogus/ Untrusted Dir /Users/gbracha/Library/Preferences/Newspeak/Internet/Untrusted/
NSMethodActivationMirror(Object)>>doesNotUnderstand: #errorReportOn: Receiver: NSMethodActivationMirror#204875 Arguments and temporary variables: <<error during printing> Receiver's instance variables: lowLevelActivationMirror: Historian(Object) doesNotUnderstand: #insertErrorHandlingForTrackingAHistorianWhenALocalHistorianWithTheGivenNameAlreadyExists...etc... threadMirror: ThreadMirror:thread Refreshing: /Users/gbracha/newspeak/dev/newsp...etc... senderSlot: NSMethodActivationMirror#2945733 homeSlot: NSMethodActivationMirror#3578074
[] in Debugging(Debugging)>>defaultErrorReportFor: Receiver: Debugging#3890693 Arguments and temporary variables: <<error during printing> Receiver's instance variables: Gradient: Gradient`1278394 RectangleShape: RectangleShape`18395 Row: Row`742158 HopscotchImages: HopscotchImages LeafFragment: LeafFragment`582535 Subject: Subject`582535 TextEditorFragment: TextEditorFragment`1173864 MixinBuilder: MixinBuilder`306537 ObjectMirror: ObjectMirror`306537 CodeEditorFragment: CodeEditorFragment`1862673 ExpandableMethodPresenter: ExpandableMethodPresenter`2638982 IDEWindow: IDEWindow`1862673 MethodSubject: MethodSubject`2638982 NSMethodInheritanceSubject: NSMethodInheritanceSubject`1207680 InitializerMethodSubject: InitializerMethodSubject`1207680 OneLineDefinitionTemplate: OneLineDefinitionTemplate`1862673 ProgrammingPresenter: ProgrammingPresenter`1862673 ObjectSubject: ObjectSubject`1252258 ExceptionalResultPresenter: ExceptionalResultPresenter`1252258 workspaceManager: Future#4123886 ide: HopscotchIDE`3797369#966687 Color: Color List: MutableArrayList`1058316 SqueakDebugger: Debugger TextColor: TextColor TextEmphasis: TextEmphasis UnhandledError: UnhandledError Semaphore: Semaphore errorReportBlock: [closure] in Debugging(Debugging)>>initializer`usingPlatform:ide:...etc... methodSourceRatio: (8/5) Debugger`slot: Debugger`3890693
String class(SequenceableCollection class)>>new:streamContents: Receiver: String Arguments and temporary variables: newSize: 100 blockWithArg: [closure] in Debugging(Debugging)>>defaultErrorReportFor: stream: a WriteStream originalContents: nil Receiver's instance variables: superclass: ArrayedCollection methodDict: a MethodDictionary(size 286) format: 0 instanceVariables: nil organization: ('accessing' byteAt: byteAt:put: byteSize do:toFieldNumber: findAnySubStr:startingAt:...etc... subclasses: {ByteString . WideString . Symbol} name: #String classPool: a Dictionary(#AsciiOrder->#[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16...etc... sharedPools: nil environment: Smalltalk category: #'Collections-Strings'
String class(SequenceableCollection class)>>streamContents: Receiver: String Arguments and temporary variables: blockWithArg: [closure] in Debugging(Debugging)>>defaultErrorReportFor: Receiver's instance variables: superclass: ArrayedCollection methodDict: a MethodDictionary(size 286) format: 0 instanceVariables: nil organization: ('accessing' byteAt: byteAt:put: byteSize do:toFieldNumber: findAnySubStr:startingAt:...etc... subclasses: {ByteString . WideString . Symbol} name: #String classPool: a Dictionary(#AsciiOrder->#[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16...etc... sharedPools: nil environment: Smalltalk category: #'Collections-Strings'
Debugging(Debugging)>>defaultErrorReportFor: Receiver: Debugging#3890693 Arguments and temporary variables: <<error during printing> Receiver's instance variables: Gradient: Gradient`1278394 RectangleShape: RectangleShape`18395 Row: Row`742158 HopscotchImages: HopscotchImages LeafFragment: LeafFragment`582535 Subject: Subject`582535 TextEditorFragment: TextEditorFragment`1173864 MixinBuilder: MixinBuilder`306537 ObjectMirror: ObjectMirror`306537 CodeEditorFragment: CodeEditorFragment`1862673 ExpandableMethodPresenter: ExpandableMethodPresenter`2638982 IDEWindow: IDEWindow`1862673 MethodSubject: MethodSubject`2638982 NSMethodInheritanceSubject: NSMethodInheritanceSubject`1207680 InitializerMethodSubject: InitializerMethodSubject`1207680 OneLineDefinitionTemplate: OneLineDefinitionTemplate`1862673 ProgrammingPresenter: ProgrammingPresenter`1862673 ObjectSubject: ObjectSubject`1252258 ExceptionalResultPresenter: ExceptionalResultPresenter`1252258 workspaceManager: Future#4123886 ide: HopscotchIDE`3797369#966687 Color: Color List: MutableArrayList`1058316 SqueakDebugger: Debugger TextColor: TextColor TextEmphasis: TextEmphasis UnhandledError: UnhandledError Semaphore: Semaphore errorReportBlock: [closure] in Debugging(Debugging)>>initializer`usingPlatform:ide:...etc... methodSourceRatio: (8/5) Debugger`slot: Debugger`3890693
[] in Debugging(Debugging)>>initializer`usingPlatform:ide: Receiver: Debugging#3890693 Arguments and temporary variables: <<error during printing> Receiver's instance variables: Gradient: Gradient`1278394 RectangleShape: RectangleShape`18395 Row: Row`742158 HopscotchImages: HopscotchImages LeafFragment: LeafFragment`582535 Subject: Subject`582535 TextEditorFragment: TextEditorFragment`1173864 MixinBuilder: MixinBuilder`306537 ObjectMirror: ObjectMirror`306537 CodeEditorFragment: CodeEditorFragment`1862673 ExpandableMethodPresenter: ExpandableMethodPresenter`2638982 IDEWindow: IDEWindow`1862673 MethodSubject: MethodSubject`2638982 NSMethodInheritanceSubject: NSMethodInheritanceSubject`1207680 InitializerMethodSubject: InitializerMethodSubject`1207680 OneLineDefinitionTemplate: OneLineDefinitionTemplate`1862673 ProgrammingPresenter: ProgrammingPresenter`1862673 ObjectSubject: ObjectSubject`1252258 ExceptionalResultPresenter: ExceptionalResultPresenter`1252258 workspaceManager: Future#4123886 ide: HopscotchIDE`3797369#966687 Color: Color List: MutableArrayList`1058316 SqueakDebugger: Debugger TextColor: TextColor TextEmphasis: TextEmphasis UnhandledError: UnhandledError Semaphore: Semaphore errorReportBlock: [closure] in Debugging(Debugging)>>initializer`usingPlatform:ide:...etc... methodSourceRatio: (8/5) Debugger`slot: Debugger`3890693
ThreadSubject`3271994(ThreadSubject)>>errorReport Receiver: ThreadSubject`3271994#2206047(ThreadMirror:thread Refreshing: /Users/gbracha/newspeak/dev/...etc... Arguments and temporary variables: <<error during printing> Receiver's instance variables: model: ThreadMirror:thread Refreshing: /Users/gbracha/newspeak/dev/newspeak presenterX: ThreadPresenter`3271994#2065745(ThreadSubject`3271994#2206047(ThreadMirror:...etc...
[] in ThreadPresenter`3271994(ThreadPresenter)>>definitionForErrorReport Receiver: ThreadPresenter`3271994#2065745(ThreadSubject`3271994#2206047(ThreadMirror:thread Refreshi...etc... Arguments and temporary variables: <<error during printing> Receiver's instance variables: parentX: IDEWindow`1862673#182824 visualX: VerticalViewport`742158#2503994 in Frame`1084575#3188781 decorators: nil subject: ThreadSubject`3271994#2206047(ThreadMirror:thread Refreshing: /Users/g...etc... substanceX: HolderComposer`3332090#3231613 noticeHandlerSelectorsX: nil activations: PresenterList`582535#1690850 definitionHolder: HolderComposer`3332090#3231613 moreLinkHolder: HolderComposer`3332090#1717904
[] in DisclosureComposer`3332090(DisclosureComposer)>>privateExpand Receiver: DisclosureComposer`3332090#3431751 Arguments and temporary variables: <<error during printing> Receiver's instance variables: parentX: ColumnComposer`3332090#796329 visualX: Column`742158#4085398 in ColumnCell`1084575#2539260 size: nil expansibility: ...etc... decorators: nil expandedX: true togglePermission: [closure] in DisclosureComposer`3332090(TwoStateComposer)>>initializer`new...etc... onAboutToToggle: nil onToggled: nil retainInvisiblePart: nil toggleIconX: ActiveIcon`18395#313275 in Anchor`1084575#1372959 onUserToggled: nil useExplorerLikeImages: false header: HyperlinkFragment`1173864#2469264 bodyDefinition: [closure] in ThreadPresenter`3271994(ThreadPresenter)>>definitionForErrorReport...etc... bodyPresenter: nil contentHolder: Wrapper`742158#2487826 in RowCell`1084575#4082965 size: nil expansibility: ...etc...
UndefinedObject>>ifNil: Receiver: nil Arguments and temporary variables: aBlock: [closure] in DisclosureComposer`3332090(DisclosureComposer)>>privateExpand...etc... Receiver's instance variables: nil
DisclosureComposer`3332090(DisclosureComposer)>>privateExpand Receiver: DisclosureComposer`3332090#3431751 Arguments and temporary variables: <<error during printing> Receiver's instance variables: parentX: ColumnComposer`3332090#796329 visualX: Column`742158#4085398 in ColumnCell`1084575#2539260 size: nil expansibility: ...etc... decorators: nil expandedX: true togglePermission: [closure] in DisclosureComposer`3332090(TwoStateComposer)>>initializer`new...etc... onAboutToToggle: nil onToggled: nil retainInvisiblePart: nil toggleIconX: ActiveIcon`18395#313275 in Anchor`1084575#1372959 onUserToggled: nil useExplorerLikeImages: false header: HyperlinkFragment`1173864#2469264 bodyDefinition: [closure] in ThreadPresenter`3271994(ThreadPresenter)>>definitionForErrorReport...etc... bodyPresenter: nil contentHolder: Wrapper`742158#2487826 in RowCell`1084575#4082965 size: nil expansibility: ...etc...
DisclosureComposer`3332090(TwoStateComposer)>>expanded: Receiver: DisclosureComposer`3332090#3431751 Arguments and temporary variables: <<error during printing> Receiver's instance variables: parentX: ColumnComposer`3332090#796329 visualX: Column`742158#4085398 in ColumnCell`1084575#2539260 size: nil expansibility: ...etc... decorators: nil expandedX: true togglePermission: [closure] in DisclosureComposer`3332090(TwoStateComposer)>>initializer`new...etc... onAboutToToggle: nil onToggled: nil retainInvisiblePart: nil toggleIconX: ActiveIcon`18395#313275 in Anchor`1084575#1372959 onUserToggled: nil useExplorerLikeImages: false header: HyperlinkFragment`1173864#2469264 bodyDefinition: [closure] in ThreadPresenter`3271994(ThreadPresenter)>>definitionForErrorReport...etc... bodyPresenter: nil contentHolder: Wrapper`742158#2487826 in RowCell`1084575#4082965 size: nil expansibility: ...etc...
DisclosureComposer`3332090(TwoStateComposer)>>toggle Receiver: DisclosureComposer`3332090#3431751 Arguments and temporary variables: <<error during printing> Receiver's instance variables: parentX: ColumnComposer`3332090#796329 visualX: Column`742158#4085398 in ColumnCell`1084575#2539260 size: nil expansibility: ...etc... decorators: nil expandedX: true togglePermission: [closure] in DisclosureComposer`3332090(TwoStateComposer)>>initializer`new...etc... onAboutToToggle: nil onToggled: nil retainInvisiblePart: nil toggleIconX: ActiveIcon`18395#313275 in Anchor`1084575#1372959 onUserToggled: nil useExplorerLikeImages: false header: HyperlinkFragment`1173864#2469264 bodyDefinition: [closure] in ThreadPresenter`3271994(ThreadPresenter)>>definitionForErrorReport...etc... bodyPresenter: nil contentHolder: Wrapper`742158#2487826 in RowCell`1084575#4082965 size: nil expansibility: ...etc...
DisclosureComposer`3332090(TwoStateComposerWithToggleIcon)>>userToggle Receiver: DisclosureComposer`3332090#3431751 Arguments and temporary variables: <<error during printing> Receiver's instance variables: parentX: ColumnComposer`3332090#796329 visualX: Column`742158#4085398 in ColumnCell`1084575#2539260 size: nil expansibility: ...etc... decorators: nil expandedX: true togglePermission: [closure] in DisclosureComposer`3332090(TwoStateComposer)>>initializer`new...etc... onAboutToToggle: nil onToggled: nil retainInvisiblePart: nil toggleIconX: ActiveIcon`18395#313275 in Anchor`1084575#1372959 onUserToggled: nil useExplorerLikeImages: false header: HyperlinkFragment`1173864#2469264 bodyDefinition: [closure] in ThreadPresenter`3271994(ThreadPresenter)>>definitionForErrorReport...etc... bodyPresenter: nil contentHolder: Wrapper`742158#2487826 in RowCell`1084575#4082965 size: nil expansibility: ...etc...
[] in ThreadPresenter`3271994(ThreadPresenter)>>definitionForErrorReport Receiver: ThreadPresenter`3271994#2065745(ThreadSubject`3271994#2206047(ThreadMirror:thread Refreshi...etc... Arguments and temporary variables: <<error during printing> Receiver's instance variables: parentX: IDEWindow`1862673#182824 visualX: VerticalViewport`742158#2503994 in Frame`1084575#3188781 decorators: nil subject: ThreadSubject`3271994#2206047(ThreadMirror:thread Refreshing: /Users/g...etc... substanceX: HolderComposer`3332090#3231613 noticeHandlerSelectorsX: nil activations: PresenterList`582535#1690850 definitionHolder: HolderComposer`3332090#3231613 moreLinkHolder: HolderComposer`3332090#1717904
[] in Hyperlink`18395(Hyperlink)>>doAction Receiver: Hyperlink`18395#775106 in RowCell`1084575#3906277 size: nil expansibility: 1 compressibility: ...etc... Arguments and temporary variables: <<error during printing> Receiver's instance variables: parent: Row`742158#3019387 in ColumnCell`1084575#4161172 size: nil expansibility: ...etc... agent: a HyperlinkMorphicAgent owner: nil visibleA: Attribute`1278394#1004462 true duct: Duct`2701957#4127193 of: Hyperlink`18395#775106 in RowCell`1084575#390627...etc... area: RowCell`1084575#3906277 size: nil expansibility: 1 compressibility: 1 boundsH: MappableHolder`1278394#344753 13@0 corner: 937@15 updateLockLevel: 0 currentNaturalExtent: 77@15 textA: Attribute`1278394#1943502 #'Error Report' fontA: Attribute`1278394#3404420 Font`1278394#3599731 colorA: Attribute`1278394#2049575 Color black hoverColorA: Attribute`1278394#3596232 (Color r: 0.0 g: 0.0 b: 0.9) downColorA: Attribute`1278394#1962138 (Color r: 0.0 g: 0.0 b: 0.9) underlineNormal: false underlineHover: true action: [closure] in ThreadPresenter`3271994(ThreadPresenter)>>definitionForErrorReport...etc... dragTracker: nil
BlockClosure>>cull: Receiver: [closure] in Hyperlink`18395(Hyperlink)>>doAction Arguments and temporary variables: firstArg: [closure] in ThreadPresenter`3271994(ThreadPresenter)>>definitionForErrorReport...etc... Receiver's instance variables: outerContext: Hyperlink`18395(Hyperlink)>>doAction startpc: 31 numArgs: 0
BlockClosure(ProtoObject)>>ifNotNil: Receiver: [closure] in ThreadPresenter`3271994(ThreadPresenter)>>definitionForErrorReport Arguments and temporary variables: ifNotNilBlock: [closure] in Hyperlink`18395(Hyperlink)>>doAction Receiver's instance variables: outerContext: ThreadPresenter`3271994(ThreadPresenter)>>definitionForErrorReport...etc... startpc: 71 numArgs: 0
Hyperlink`18395(Hyperlink)>>doAction Receiver: Hyperlink`18395#775106 in RowCell`1084575#3906277 size: nil expansibility: 1 compressibility: ...etc... Arguments and temporary variables: <<error during printing> Receiver's instance variables: parent: Row`742158#3019387 in ColumnCell`1084575#4161172 size: nil expansibility: ...etc... agent: a HyperlinkMorphicAgent owner: nil visibleA: Attribute`1278394#1004462 true duct: Duct`2701957#4127193 of: Hyperlink`18395#775106 in RowCell`1084575#390627...etc... area: RowCell`1084575#3906277 size: nil expansibility: 1 compressibility: 1 boundsH: MappableHolder`1278394#344753 13@0 corner: 937@15 updateLockLevel: 0 currentNaturalExtent: 77@15 textA: Attribute`1278394#1943502 #'Error Report' fontA: Attribute`1278394#3404420 Font`1278394#3599731 colorA: Attribute`1278394#2049575 Color black hoverColorA: Attribute`1278394#3596232 (Color r: 0.0 g: 0.0 b: 0.9) downColorA: Attribute`1278394#1962138 (Color r: 0.0 g: 0.0 b: 0.9) underlineNormal: false underlineHover: true action: [closure] in ThreadPresenter`3271994(ThreadPresenter)>>definitionForErrorReport...etc... dragTracker: nil
--- The full stack --- NSMethodActivationMirror(Object)>>doesNotUnderstand: #errorReportOn: [] in Debugging(Debugging)>>defaultErrorReportFor: String class(SequenceableCollection class)>>new:streamContents: String class(SequenceableCollection class)>>streamContents: Debugging(Debugging)>>defaultErrorReportFor: [] in Debugging(Debugging)>>initializer`usingPlatform:ide: ThreadSubject`3271994(ThreadSubject)>>errorReport [] in ThreadPresenter`3271994(ThreadPresenter)>>definitionForErrorReport [] in DisclosureComposer`3332090(DisclosureComposer)>>privateExpand UndefinedObject>>ifNil: DisclosureComposer`3332090(DisclosureComposer)>>privateExpand DisclosureComposer`3332090(TwoStateComposer)>>expanded: DisclosureComposer`3332090(TwoStateComposer)>>toggle DisclosureComposer`3332090(TwoStateComposerWithToggleIcon)>>userToggle [] in ThreadPresenter`3271994(ThreadPresenter)>>definitionForErrorReport [] in Hyperlink`18395(Hyperlink)>>doAction BlockClosure>>cull: BlockClosure(ProtoObject)>>ifNotNil: Hyperlink`18395(Hyperlink)>>doAction - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - HyperlinkMorphicAgent>>respondToMouseUpLeft BrazilStringMorph>>mouseUp: BrazilStringMorph(Morph)>>handleMouseUp: MouseButtonEvent>>sentTo: BrazilStringMorph(Morph)>>handleEvent: BrazilStringMorph(Morph)>>handleFocusEvent: MorphicEventDispatcher>>doHandlingForFocusEvent:with: MorphicEventDispatcher>>dispatchFocusEvent:with: BrazilStringMorph(Morph)>>processFocusEvent:using: BrazilStringMorph(Morph)>>processFocusEvent: [] in [] in [] in HandMorph>>sendFocusEvent:to:clear: BlockClosure>>ensure: MouseButtonEvent(MorphicEvent)>>becomeActiveDuring: [] in [] in HandMorph>>sendFocusEvent:to:clear: BlockClosure>>ensure: HandMorph>>becomeActiveDuring: [] in HandMorph>>sendFocusEvent:to:clear: BlockClosure>>ensure: PasteUpMorph>>becomeActiveDuring: HandMorph>>sendFocusEvent:to:clear: HandMorph>>sendEvent:focus:clear: HandMorph>>sendMouseEvent: HandMorph>>handleEvent: HandMorph>>processEvents [] in WorldState>>doOneCycleNowFor: Array(SequenceableCollection)>>do: WorldState>>handsDo: WorldState>>doOneCycleNowFor: WorldState>>doOneCycleFor: PasteUpMorph>>doOneCycle [] in MorphicProject>>spawnNewProcess [] in BlockClosure>>newProcess
vm-dev@lists.squeakfoundation.org