[Mono-list] Problem with sgen

Rodrigo Kumpera kumpera at gmail.com
Mon Nov 24 16:42:44 UTC 2014


On Fri, Nov 21, 2014 at 9:22 PM, terender <terender at hotmail.com> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20141124/62bf1d00/attachment.html>


More information about the Mono-list mailing list