[Mono-list] Mono on Mac OS X

Benjamin Reed ranger@befunk.com
02 Jan 2003 09:32:07 -0500


On Thu, 2003-01-02 at 08:12, Tom McMillen wrote:

> ** (server.exe:691): WARNING **: Using non-atomic functions!
> 
> PInvoke [start emiting]
>       stack size: 32 (20)
>        code size: 72
>            align: 0x34ede0 (0)
> emited code size: 72
> PInvoke [end emiting]
> 
> PInvoke [start emiting]
> load 4 bytes struct
>       stack size: 32 (20)
>        code size: 76
>            align: 0x352a30 (0)
> emited code size: 76
> PInvoke [end emiting]
> Segmentation fault
> 
> Does anyone have any suggestions as to where to go from here?

I basically got the same results here.  I sent some patches to get it
this far to the list previously; I've got them updated for 0.17 -- my
patch is in Fink experimental:

  http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/fink/experimental/rangerrick/finkinfo/devel/

I don't even know where to start in debugging this.  There is someone on
the list who was going to take a look at it, I think, but I've not heard
anything about it here for some time.

My patches should be pretty safe for inclusion back into mainline,
although I'm not sure about the SIGRTMIN define in
mono/metadata/threads.c (Darwin doesn't have SIGRTMIN as far as I can
tell).  They also include a change to mcs to use mint as the mono
interpreter for now until there is a jit for non-x86 (Or is there such a
thing now?  I've only been following the list lightly).