On Thu, Aug 2, 2012 at 9:40 AM, Mariano Martinez Peck <[email protected]> wrote: > Guillermo Polito has been updating SystemTracer to latest Pharo (and Cog). I > think you should try to use that. >
Yeap, but it I'd not call it an update :). It is more a complete refactor to make it more understandable to newbies like me. Anyway, I didn't migrate the code to write 64bit image, and I'm not planning to do it in the short term... If you want to take a look, the project is in ss3/ImageWriter Cheers, Guille > > On Wed, Aug 1, 2012 at 11:54 PM, Stephan Eggermont <[email protected]> wrote: >> >> Dave wrote: >> >Please try the "64bitImage*64bitVM" image from John's site here: >> > >> ftp://ftp.smalltalkconsulting.com/experimental/64bit/ >> >> Loads and runs on my 10.7.3 MBA. >> >> >If you can run that VM on your Mac, it should do exactly what you need. >> >Try running that VM with one of your images. If it runs and gives you >> > some >> >sort of error message about not understanding the image format, that's >> > good! >> >That means all you need to do is trace your image to 64-bit object >> > format, >> >which should be fairly easy to do. >> >> I loaded SystemTracing-dtl.23.mcz into a Pharo 1.4 one-click. >> SystemTracer2 writeImage: 'clone.image' results in a 88 byte clone image >> and hanging >> image, non-interuptable, caused by the popping up of a deprecation >> warning. >> Switching off the deprecation blocking leads to a debugger popup when >> trying to >> add the specialObjectArray. #'==' doesn't seem to work as a equalsBlock in >> Pharo. >> replaced by equalBlock: [:one :two | one == two]; >> >> The method SmalltalkImage extraVMMemory has been deprecated >> use Smalltalk vm extraVMMemory >> >> Then the tracing finishes. >> Trying to start the image results in >> >> 8/1/12 11:52:00.915 PM Squeak: openFile state 1 with file >> /Users/stephan/Documents/Sensus/sq64-dtl-32bitRGB/clone.image >> 8/1/12 11:52:01.098 PM Squeak: NSAlert is being used from a background >> thread, which is not safe. This is probably going to crash sometimes. Break >> on _NSAlertWarnUnsafeBackgroundThreadUsage to debug. This will be logged >> only once. This may break in the future. >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: Recursive not >> understood error encountered >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4423897840 >> SystemTracer2>writeImage: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4403075464 >> BlockClosure>ensure: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4407168048 >> SystemTracer2>writeImage: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4410156840 >> >writeImage: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4411453984 >> UndefinedObject>? >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4412035392 >> Compiler>evaluate:in:to:notifying:ifFail:logged: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4413449752 >> SmalltalkEditor>evaluateSelectionAndDo: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4414213432 >> BlockClosure>on:do: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4414486112 >> SmalltalkEditor>evaluateSelectionAndDo: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4414725120 >> SmalltalkEditor>evaluateSelection >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4414946416 >> SmalltalkEditor>doIt >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4415487880 >> SmalltalkEditor>doIt: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4415621456 >> TextEditor>performCmdActionsWith:shifted:return: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4416886344 >> TextEditor>dispatchCommandOn:return: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4416913992 >> TextEditor>dispatchOn: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4416972032 >> TextEditor>keystroke: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4416996176 >> TextEditor>handleKeystrokeAction: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417061696 >> TextEditor>handleEditionAction:fromKeyboardEvent: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417061880 >> TextEditor>keystroke: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417084280 >> TextMorph>basicKeyStroke: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417143280 >> TextMorph>handleInteraction: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417163504 >> TextMorphForEditView>handleInteraction: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417163720 >> TextMorph>basicKeyStroke: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417214616 >> TextMorph>keyStroke: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417234096 >> >codeCompletionAround:textMorph:keyStroke: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417279920 >> ToolRegistry>codeCompletionAround:textMorph:keyStroke: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417280104 >> TextMorph>keyStroke: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417299408 >> TextMorphForEditView>keyStroke: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417350856 >> TextMorph>handleKeystroke: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417369760 >> KeyboardEvent>sentTo: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417417472 >> Morph>handleEvent: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417435496 >> Morph>handleFocusEvent: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417476608 >> HandMorph>sendFocusEvent:to:clear: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417494152 >> PasteUpMorph>becomeActiveDuring: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417537816 >> BlockClosure>on:do: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417555368 >> PasteUpMorph>becomeActiveDuring: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417538040 >> HandMorph>sendFocusEvent:to:clear: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417555608 >> HandMorph>sendEvent:focus:clear: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417596488 >> HandMorph>sendKeyboardEvent: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417613392 >> HandMorph>handleEvent: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417651096 >> HandMorph>processEvents >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417667760 >> WorldState>doOneCycleNowFor: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417707560 >> SequenceableCollection>do: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417724176 >> WorldState>handsDo: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417724360 >> WorldState>doOneCycleNowFor: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417764312 >> WorldState>doOneCycleFor: >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417780816 >> PasteUpMorph>doOneCycle >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417817600 >> MorphicUIManager>spawnNewProcess >> 8/1/12 11:52:04.044 PM [0x0-0x3c13c1].org.squeak.Squeak: 4417833464 >> BlockClosure>newProcess >> 8/1/12 11:52:04.051 PM com.apple.launchd.peruser.501: >> ([0x0-0x3c13c1].org.squeak.Squeak[22436]) Exited with code: 255 >> >> Stephan >> >> >> >> >> > > > > -- > Mariano > http://marianopeck.wordpress.com >
