<div dir="ltr">Miguel,<br>It helped! Thanks a bunch!<br>--- Kosta<br><br><div class="gmail_quote">On Fri, Mar 11, 2011 at 6:20 PM, Miguel de Icaza <span dir="ltr">&lt;<a href="mailto:miguel@novell.com">miguel@novell.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello Kosta,<br>
<div class="im"><br>
&gt; When &#39;mscorlib.dll&#39; is copied to some temporary folder and then<br>
&gt; disassemblied using monodis, it results in Segmentation fault:<br>
<br>
</div>This is because internally monodis already loaded the system mscorlib.<br>
<br>
Try doing this:<br>
<br>
MONO_PATH=. monodis mscorlib_dsm.dll<br>
<br>
Miguel<br>
<div class="im"><br>
&gt;         ubuntu-desktop:/usr/lib/mono/2.0$ monodis mscorlib_dsm.dll<br>
&gt;         .assembly &#39;mscorlib&#39;<br>
&gt;         {<br>
&gt;         Segmentation fault<br>
&gt;<br>
&gt; If mscorlib.dll is disassemblied right from /usr/lib/mono/2.0/mscorlib.dll,<br>
&gt; then all is just fine.<br>
&gt; I am using default mono installation of Ubuntu 10.04:<br>
&gt;         ubuntu-desktop:~/tmp$ mono -V<br>
&gt;         Mono JIT compiler version 2.6.7 (Debian 2.6.7-3ubuntu1~dhx1)<br>
&gt;         Copyright (C) 2002-2010 Novell, Inc and Contributors.<br>
&gt; <a href="http://www.mono-project.com" target="_blank">www.mono-project.com</a><br>
&gt;             TLS:           __thread<br>
&gt;             GC:            Included Boehm (with typed GC and Parallel Mark)<br>
&gt;             SIGSEGV:       altstack<br>
&gt;             Notifications: epoll<br>
&gt;             Architecture:  x86<br>
&gt;             Disabled:      none<br>
&gt;<br>
&gt; Please help if anybody has a clue of what is the problem and what is the<br>
&gt; solution?<br>
&gt; --- Kosta<br>
&gt;<br>
</div>&gt; _______________________________________________<br>
&gt; Mono-devel-list mailing list<br>
&gt; <a href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br>
&gt; <a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br></div>