http://bugzilla.novell.com/show_bug.cgi?id=546399
Summary: mono_jit_cleanup(domain); - generates an exception
Classification: Mono
Product: MonoTouch
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: Runtime
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
CC: [email protected]
Found By: Customer
Description of Problem:
I am embedding a C# library in objective C
Steps to reproduce the problem:
1. Create a C# assembly
2. Create a basic ObjC projects that invokes the assembly.
3. The easiest way to integrate the C# assembly is to get XCODE project auto
generated.
4. The xcode project works, but it does not have mono_jit_cleanup(domain); to
do the proper cleanup at the end and memory leaks are detected.
5. Adding mono_jit_cleanup(domain); is the recommended way for cleanup.
Actual Results:
Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for System.Runtime.Remoting.Contexts.Context
---> System.NotSupportedException: Linked away
at System.Runtime.Remoting.Contexts.Context..cctor () [0x00000]
--- End of inner exception stack trace ---
Expected Results:
No errors.
How often does this happen?
All the time.
Additional Information:
Any recommendations?
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs