[Vm-dev] Building OSProcessPlugin on macs
Eliot Miranda
eliot.miranda at gmail.com
Thu Jul 7 01:38:10 UTC 2011
On Wed, Jul 6, 2011 at 6:31 PM, Igor Stasenko <siguctua at gmail.com> wrote:
>
> With a new version of plugin submitted by Eliot it no longer crashing :)
>
Slang is occasionally super-tricky. If you write
self atexit: #sendSignalToPids
it generates
atexit("sendSignalToPids")
which will crash. You must write
self atexit: #sendSignalToPids asSymbol
to get it to generate
atexit(sendSignalToPids)
(where sendSignalToPids is some function to be called at exit).
If course we should change this but there's backwards-compatibility for
plugin to consider. Does anyone depend on the old behavior? I've been
bitten more than a few times by this. Sigh...
> On 7 July 2011 03:18, Igor Stasenko <siguctua at gmail.com> wrote:
> > Aha.. so failing tests are because fork is unavailable.
> > David, could you change the relevant tests to not fail but rather pass
> > or 'expected fail'
> > when running on macs?
> > because i'd like to know how well it is, and to know that i wanna see
> > clear picture what are problems if any.
> >
> > And, any hints why primitiveMakePipeWithSessionIdentifier. might crash
> the VM?
> >
> > On 7 July 2011 03:52, John McIntosh <johnmci at smalltalkconsulting.com>
> wrote:
> >>
> >> I"ve compiled the aioPlugin in the past.
> >>
> >> Some of the tests will fail because you cann't fork the VM into two
> >> processes because the UI is tied to the main pthread for the App, so a
> >> fork leads to insanity & a core dump.
> >> Otherwise since OS-X is a Unix machine it should run all the other test
> cases.
> >>
> >
> >
> >
> >
> > --
> > Best regards,
> > Igor Stasenko AKA sig.
> >
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
--
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110706/c4180c82/attachment.htm
More information about the Vm-dev
mailing list