[squeak-dev] Squeak 4.5 VNC Viewer debugging question: how to think about this?

gettimothy gettimothy at zoho.com
Tue Sep 3 13:01:08 UTC 2013


I am running Squeak 4.5 /w Cog on Slackware Linux 64. I am beginning to suspect its a problem with my Alien Bob 32 bit compatability libraries.
Yesterday, I attempted a call to Stripe.com using WebClient and I got a primitive failed for SqueakSSL even though the SqueakSSL bundle is there.

I have configured a 32 bit machine and will try later this week.

thx.

---- On Mon, 02 Sep 2013 21:44:03 -0700 Levente Uzonyi <leves at elte.hu> wrote ---- 


You should use RFB-ikp.8 for Squeak 4.3 and newer. Note that there's a 
space at the beginning of the file name (it's " RFB-ikp.8.mcz"), which 
confuses everyone and everything (people, MC, SqueakSource, etc). 
 
 
Levente 
 
On Mon, 2 Sep 2013, gettimothy wrote: 
 
> Good Morning. 
> 
>     On right monitor is Squeak4.5 on Cog.app-13.28.2749; 
>         RFB-ikp.6 from SqueakSource 
>         I use this as the VNCServer. 
> 
>     On left monitor is Pharo2.o ; 
>         RFB(MarianoMartinezPeck.16) 
>         I use this as the VNCViewer. 
> 
> My plan was to debug the squeak side using the pharo side as a reference. 
> It worked like a charm for the 
> 
> 
> RFBSocket>>waitForSendDoneFor: timeout 
> 
> 
> 
> 
> 
> method where  a  copy-n-paste (thank you Mr. Peck (: ) enables me to start the server on Squeak and connect the VNC Viewer on the pharo side, and 
> my squeak shows up (yay!) 
> However, when I move the mouse over the viewer, the server crashes. 
> 
> I tracked the problem down to here: 
> 
> 
> 
> RFBSession>>endUpdate 
>     ... 
>      SmalltalkImage current vmParameterAt: 5 put: allocationCount. 
> 
> 
> 
> 
>     ... 
> 
> 
> 
> Commenting out the      
> 
> 
> SmalltalkImage current vmParameterAt: 5 put: allocationCount 
> 
> 
> 
> 
> 
> line, enables the view to show up just fine; Howerver, Mouse events are not captured (buffered? killing the viewer, makes all the mouse events 
> happen at once). 
> 
> 
> I am not a VM guy (yet), so I was hoping a simple version check on the VritualMachine would do the trick, but then, I realized its something 
> deeper.    
> 
> Here is the pharo version check. 
> 
> 
> VirtualMachine version 'NBCoInterpreter NativeBoost-CogPlugin-EstebanLorenzano.18 uuid: a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 
> 2013 
> NBCogit NativeBoost-CogPlugin-EstebanLorenzano.18 uuid: a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013 
> git://gitorious.org/cogvm/blessed.git Commit: 412abef33cbed05cf1d75329e451d71c0c6aa5a7 Date: 2013-03-13 17:48:50 +0100 By: Esteban 
> Lorenzano <estebanlm at gmail.com> Jenkins build #14535 
> 
> 
> 
>    
> 
> Here is the Squeak version check: 
> 
> 
> SmalltalkImage current vmVersion 'Croquet Closure Cog VM [CoInterpreter VMMaker.oscog-eem.302]' 
> 
> 
> 
> 
> 
> Some observations (I have not been coding Smalltalk in over a year, and I am a bit of a newbie) 
> 
> 
>     1. Squeak and Pharo are forked and I only see this sort of thing continuing. 
>     2. Pharo factors VirtualMachine out of SmalltalkImage. 
>     3. My idea to 'just install NativeBoost and see if that works'  seems silly 
>     4. If Pharo is the 'tool for the job' for the project I need VNC for, then I can deal with that, its just that I like Squeak. 
> 
> 
> At this point, I decided to ask for advice on the best way to approach this problem. 
> 
> Please note, I have to do the Stripe work for squeak before I can revisit this. 
> 
> thx in advance. 
> 
> t. 
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130903/f48483e7/attachment.htm


More information about the Squeak-dev mailing list