[Vm-dev] Building OSProcessPlugin on macs

Igor Stasenko siguctua at gmail.com
Thu Jul 7 03:05:30 UTC 2011


I think symbols should not be translated to strings by generator.
This will allow to avoid many many mistakes.

If i remember , in  Hydra i also added something to translate things like

#fnName asCIdentifier

because i also wanted to use symbolic names.


On 7 July 2011 03:38, Eliot Miranda <eliot.miranda at gmail.com> wrote:
>
>
>
> 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
>
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list