10 Oct 21:24
Mono 2.0 (arm): Reverse PInvoke can cause memory corruption?
From: FirstName LastName <mousse_man <at> hotmail.com>
Subject: Mono 2.0 (arm): Reverse PInvoke can cause memory corruption?
Newsgroups: gmane.comp.gnome.mono.devel
Date: 2008-10-10 19:28:09 GMT
Subject: Mono 2.0 (arm): Reverse PInvoke can cause memory corruption?
Newsgroups: gmane.comp.gnome.mono.devel
Date: 2008-10-10 19:28:09 GMT
Hi,
Recently, I asked about doing reverse pinvoke from a native thread that caused an assert in mini-arm.c.
A fix was done and I'm able to do it. But know, I have a feeling that I have memory corruption. My application is crashing at different times
and display different stack traces.
I have a general question regarding GC. When the GC runs, does it stop all threads in the process, even those created in unmanaged.
I asking the following because I'm wondering what would happen if the GC collects and at the same time, a reverse pinvoke is done from a native thread (back to managed code)?
Can this be an issue?
Recently, I asked about doing reverse pinvoke from a native thread that caused an assert in mini-arm.c.
A fix was done and I'm able to do it. But know, I have a feeling that I have memory corruption. My application is crashing at different times
and display different stack traces.
I have a general question regarding GC. When the GC runs, does it stop all threads in the process, even those created in unmanaged.
I asking the following because I'm wondering what would happen if the GC collects and at the same time, a reverse pinvoke is done from a native thread (back to managed code)?
Can this be an issue?
_______________________________________________ Mono-devel-list mailing list Mono-devel-list <at> lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
RSS Feed