[Mono-dev] 'monodis mscorlib.dll' fails.

Miguel de Icaza miguel at novell.com
Fri Mar 11 11:20:55 EST 2011


Hello Kosta,

> When 'mscorlib.dll' is copied to some temporary folder and then
> disassemblied using monodis, it results in Segmentation fault:

This is because internally monodis already loaded the system mscorlib.

Try doing this:

MONO_PATH=. monodis mscorlib_dsm.dll

Miguel

>         ubuntu-desktop:/usr/lib/mono/2.0$ monodis mscorlib_dsm.dll
>         .assembly 'mscorlib'
>         {
>         Segmentation fault
>
> If mscorlib.dll is disassemblied right from /usr/lib/mono/2.0/mscorlib.dll,
> then all is just fine.
> I am using default mono installation of Ubuntu 10.04:
>         ubuntu-desktop:~/tmp$ mono -V
>         Mono JIT compiler version 2.6.7 (Debian 2.6.7-3ubuntu1~dhx1)
>         Copyright (C) 2002-2010 Novell, Inc and Contributors.
> www.mono-project.com
>             TLS:           __thread
>             GC:            Included Boehm (with typed GC and Parallel Mark)
>             SIGSEGV:       altstack
>             Notifications: epoll
>             Architecture:  x86
>             Disabled:      none
>
> Please help if anybody has a clue of what is the problem and what is the
> solution?
> --- Kosta
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>


More information about the Mono-devel-list mailing list