[Mono-dev] Porting to Haiku OS - out of memory exception

Rodrigo Kumpera kumpera at gmail.com
Mon Sep 10 15:24:04 UTC 2012


Can you debug the process and check what's raising the OOM? It might be
that boehm doesn't work on Haiku.

On Sun, Sep 9, 2012 at 1:04 PM, Stephen <steveh2009 at comcast.net> wrote:

>
> I'm trying to port the latest Mono to Haiku OS (most recent nightly build)
> and I've gotten this far:
>
> 1. Made some very minor changes to get Mono to build (thanks to many fixes
> already applied in 2010, but the port was incomplete).
> 2. Pulled down the latest monolite and placed it in the
> .../class/lib/monolite directory
> 3. make EXTERNAL_MCS=.../class/lib/monolite/basic.exe
> 4. In the mono-wrapper file, I added --debug and --trace
>
> The very first file monolite/gmcs.exe tries to build is
> basic-profile-check.exe from
>  ./mono/mcs/build/common/basic-profile-check.cs
>
> Here's where I'm stumped.  The mono app  reports an out of memory
> exception, the ./mini/mono process stays stuck in memory churning the cpus.
>
> I was expecting a full trace report so that I could narrow down the search
> for the problem but no detailed trace is ever emitted.  IIRC it was either
> the --debug or --trace option which allowed me to see that there was an out
> of memory exception in the first place (before, I got the ./mini/mono app
> churning without knowing what was going on).
>
> Is there something I can do when compiling the native C-based ./mini/mono
> app to help give me more debug information?
>
> Is there no --trace information emitted because the provided monolite
> gmcs.exe wasn't compiled with an option which help provide it?
>
> Any ideas/help from the Mono development brain trust here would be greatly
> appreciated.   Just feed me the kibbles and I'll hobble along to the next
> problem until the darn thing runs.
>
> Thanks,
>
> Steve
>
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120910/4d654b50/attachment.html>


More information about the Mono-devel-list mailing list