[Mono-dev] Mono crashes on copying of running profiler

Miguel de Icaza miguel at xamarin.com
Sun May 29 13:22:02 UTC 2016


You should not do that.

You are replacing the code behind the scenes.   You might as well poke
random values in memory.

On Unix, if you really cannot resist the urge of replacing a binary that is
in active use, you must first delete the file, then copy over.

On Sun, May 29, 2016 at 9:18 AM, Greg Young <gregoryyoung1 at gmail.com> wrote:

> Mono JIT compiler version 4.2.3 (Stable 4.2.3.4/832de4b Wed Mar 16
> 13:19:08 UTC 2016)
>
> ~/src/EventStore on  release-v3.6.0! ⌚ 11:09:02
> $ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 15.10
> Release: 15.10
> Codename: wily
>
>
> When running mono with a profiler running and I copy a new version of
> the profiler over the old version it immediately crashes the mono
> process.
>
> I can't see anything at all in my code which would cause this (but I
> don't rule out that its a possibility).
>
> Any ideas?
>
> Cheers,
>
> Greg
>
> --
> Studying for the Turing test
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20160529/16624e65/attachment.html>


More information about the Mono-devel-list mailing list