[Mono-bugs] [Bug 654850] New: AOT code loader fails to load AOT code for a .exe file which references other assemblies in the same directory

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 19 02:45:24 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=654850

https://bugzilla.novell.com/show_bug.cgi?id=654850#c0


           Summary: AOT code loader fails to load AOT code for a .exe file
                    which references other assemblies in the same
                    directory
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: stefanor at cox.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=401224)
 --> (http://bugzilla.novell.com/attachment.cgi?id=401224)
Transcript of test case

Description of Problem:

If a .exe.so file exists, but references other .dll files, the AOT code loader
will check if the referenced assemblies are also AOT-compiled.  However, it
only checks /usr/local/lib (Mono's install prefix); if the referred assemblies
are shipped with the .exe, loading the .exe.so will fail.

Steps to reproduce the problem:

See attached run.log for a small demo.

Actual Results:

Run log contains details; of note is the fact that the .exe.so file is
erroneously ruled "unusable".

Expected Results:

The .exe.so file will be successfully loaded.

How often does this happen?

Every time.

Additional Information:

This is with mono 78b8d38, although I noticed it with 2.6.7 as well.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list