[Mono-list] Mono on OpenBSD - again

Paolo Molaro lupus@ximian.com
Tue, 30 Nov 2004 11:45:39 +0100


On 11/25/04 Marc Matteo wrote:
> I've been able to get Mono successfully compiled and installed on
> OpenBSD with a minimal amount of work.  I can even compile and run most

Please submit the needed patches to us so that other people don't
need to do even the minimal amount of work (assuming you needed
changes to mono).

> However, when using the -pkg option things don't go so well: I get a
> "mono in free(): error: modified (chunk-) pointer" error.

Can you get a backtrace when this happens?

> Also, when serving aspx pages xsp simply locks up and mon_mono does too,
> but at least mod_mono leaves this little tidbit in the error log: "mono
> in free(): error: pointer to wrong page".
> 
> So, does this look familiar at all?  I've had to compile Mono with
> --with-gc=none because with any garbage collection it just freezes.

How much of the pthread code is shared between OpenBSD and FreeBSD/NetBSD?
It looks like libgc triggers a few bugs in those implementations
and it may be that the same bugs happen on OpenBSD as well. See
http://bugzilla.ximian.com/show_bug.cgi?id=68134
for a few more details. Mailing Chris McClellen is a good idea, too, since
he has been debugging the issue.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better