[Mono-dev] Process.GetCurrentProcess().MainModule.FileName broken on 2.6.1 on FreeBSD
dporter at codicesoftware.com
Thu Feb 18 12:17:20 EST 2010
On Wed, 2010-02-10 at 18:10 -0200, Rodrigo Kumpera wrote:
> On Wed, Feb 10, 2010 at 6:05 PM, psantosl at codicesoftware.com
> <psantosl at codicesoftware.com> wrote:
> [tester at freebox ~/test]$ ../mono/bin/mono main.exe
> Unhandled Exception: System.ArgumentOutOfRangeException: Index
> is less
> than 0 or more than or equal to the list count.
> Parameter name: index
> FreeBSD is not a supported OS, it basically works by virtue of been
> very similar to OSX.
> So, if you're lucky, and fails on OSX, just file a bug report and
> we'll work on it.
> Beyond that, all we can do is to gladly accept patches from the
It turns out it is a FreeBSD configuration issue. By default, FreeBSD
doesn't mount /proc. Do so, and the test works.
More information about the Mono-devel-list