[Mono-list] Cannot execute binary file

Ian Norton ian.norton-badrul at thales-esecurity.com
Tue Aug 2 05:44:00 EDT 2011


On Tue, Aug 02, 2011 at 10:29:08AM +0100, pjsmith wrote:
> Thanks.  That helps.
> 
> With regards to Mono versions
> 
> The faster 64 bit one is
> 
> root at dns1b:~# mono --version
> Mono JIT compiler version 2.4.4 (Debian 2.4.4~svn151842-1ubuntu4)
> Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
>         TLS:           __thread
>         GC:            Included Boehm (with typed GC)
>         SIGSEGV:       altstack
>         Notifications: epoll
>         Architecture:  amd64
>         Disabled:      none
> 
> and the slower 32bit one is
> 
> root at li189-227:~# mono --version
> Mono JIT compiler version 2.4.4 (Debian 2.4.4~svn151842-1ubuntu4)
> Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
>         TLS:           __thread
>         GC:            Included Boehm (with typed GC)
>         SIGSEGV:       altstack
>         Notifications: epoll
>         Architecture:  x86
>         Disabled:      none
> 
> 
> They are both running ubuntu.
> 
> The application answers inbound UDP queries over the network.  It does talk
> to a database but this is held in memory in the app and is the same on both
> machines.  I've run this fine on another ubuntu 64bit machine as well.
> Perhaps it's just this host, but the only difference seems to be that it's
> 32 bit.

You could try running both under the profiler ( mono 2.4 is quite old btw ) 2.8
is pretty good now.

 $ mono --debug --profile=log program.exe

And after it finishes, run:

 $ mprof-report output.mlpd

Regards



More information about the Mono-list mailing list