On Fri, Nov 21, 2014 at 9:22 PM, terender <[email protected]> wrote:

>
> But why there will be an invalid read/write right after that and crash the
> process?
>

That's how GCs work.


I'm using a native library (libuv) that directly read and write into the
> memory of the pinned object, when run under valgrind, any r/w opration
> fails
> and cause an error.
>


Maybe you're not pinning correctly. It would help if you posted a program
that shows the issue.
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to