[Vm-dev] squeak on opensolaris 2009.06
John M McIntosh
johnmci at smalltalkconsulting.com
Sat Nov 7 21:36:07 UTC 2009
Well on the iPhone flavour of OS-X I determined that if in aioPoll.c
maxFd was zero and you did the
n= select(maxFd, &rd, &wr, &ex, &tv);
then the return value of 'n' was random junk. This of course was a
apple bug id 5971805, now closed in 3.x unable to recreate.
To work around it I altered the check for maxFd
if (maxFd == 0)
However this likely isn't your problem since you have a socket open
cf65d1d6 select (8, 8047a50, 80479d0, 8047950, 8047948, 80f94e0) + 78
means 8 file/socket descriptors in use?
The other issue of course is if the image has the patch applied for
the process lockup issue if the
image is running as a headless server, and you toggled the server
Preferences togglePreference: #serverMode
That of course depends on what the image heritage is.
On 2009-11-07, at 12:45 PM, Randal L. Schwartz wrote:
> I'm trying to get squeak running on opensolaris 2009.06 (in the
> cloud on
> Amazon EC2, so I don't have a desktop).
> I've tried both the squeakvm.org prebuilt binaries and the binaries
> I've built from the src tarball.
> I'm getting roughly the same behavior in both a Seaside image and an
> image to
> which I've added RFB. They work fine locally (OSX 10.5 with a
> closure VM),
> but they seem to be hung up waiting for I/O when I start them on the
> As in, I can connect to the RFB image, and it takes about 20 seconds
> refresh. If I click on anything, no response. But if I break the RFB
> connection, and connect again, I get the *result* of that action.
> It might be related to the fact that 2009.06 solaris kernel added
> some extra
> error return from the poll() call that nobody was expecting (which
> apache), and I presume Squeak is using poll at the lowest level.
> Here's the stack where squeak seems to be frozen:
> cf6b1687 pollsys (8047850, 1, 8047908, 0)
> cf65ce01 pselect (8, 8047a50, 80479d0, 8047950, 8047908, 0) + 199
> cf65d1d6 select (8, 8047a50, 80479d0, 8047950, 8047948, 80f94e0) +
> 0807d45a aioPoll (0, 0, 0, 0, 0, 0) + 10a
> 00000000 ???????? ()
> Is anyone using Squeak on solaris/opensolaris and can help me?
> I'd hate to have to keep renting my openbsd box just for this app. :(
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503
> 777 0095
> <merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
> See http://methodsandmessages.vox.com/ for Smalltalk and Seaside
John M. McIntosh <johnmci at smalltalkconsulting.com> Twitter:
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
More information about the Vm-dev