[Mono-bugs] [Bug 450199] New: BadFormatException thrown when aborting thread

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Nov 29 00:38:02 EST 2008


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


           Summary: BadFormatException thrown when aborting thread
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Cecil
        AssignedTo: jbevain at novell.com
        ReportedBy: marxidad at marxidad.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Description of Problem:
When aborting a thread while reading an assembly, a BadFormatException is
thrown.

Steps to reproduce the problem:
1. Read and assembly's file stream using AssemblyFactory on a separate thread
2. Abort the thread

Actual Results:
A BadFormatException is thrown.

Expected Results:
Nothing should happen.

How often does this happen? 
Every time.

Additional Information:
In ReadImage.cs a System.Exception is caught and unconditionally wrapped in a
BadImageFormatException. In this case, a ThreadAbortException is caught.


-- 
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