[Mono-dev] Mono on FreeBSD

L Kamenov kamenovl at gmail.com
Wed Apr 23 05:33:04 EDT 2008


On Sat, Apr 12, 2008 at 2:41 AM, Zoltan Varga <vargaz at gmail.com> wrote:

> Hi,
>
>  mono is not officially supported on BSDs as we have no BSD maintainer.
> You can
> try the mono packages in the FreeBSD ports collection, they might work
> better than
> the stock sources.
>

I'm looking at a problem on FreeBSD/amd64 running web services. Last known
version
to work with our code was 1.1.3.1 (yeah i know its old). I'm testing this on
1.9 from the BSD# project.
For the record the same code works as expected on mono/xsp 1.9 on Linux.

The application throws "Thread was aborted exception", for one the processes
executed to compile the asp.net code. (Though the first one completes just
fine).
While waiting for the processes to exit in
CSharpCodeCompiler.cs:/CompileFromFileBatch,
the process returns WAIT_IO_COMPLETION.

However the initial problem I encountered was different. While in the above
function, I was getting a NullReferenceException (in StreamReader) while
trying to
read stderr/stdout before WaitForExit. After making sure the code generated
for asp.net
was compiling without any errors, I disabled the redirection and assigned
empty strings
to the mcs_output/mcs_stdout.  Next show stopper was the "Thread was aborted
exception".

I know the above is not much of a help, but I'm still debugging and try to
to figure out what is happening
so that I can provide a decent bug report and possibly a patch for this.

Though if anyone has an idea what might be going wrong, looking at my
horrible explanation above,
would be great to share any ideas.

cheers,
l
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080423/244bc7c1/attachment.html 


More information about the Mono-devel-list mailing list