Created attachment 18060 [details]
I have native crash in mono. See attach for thread dump.
Debug info from gdb:
(lldb) command source -s 0 '/tmp/mono-gdb-commands.uYYL37'
Executing commands in '/tmp/mono-gdb-commands.uYYL37'.
(lldb) process attach --pid 1291
2016-10-15 05:03:27.121 lldb[2344:1277254] Metadata.framework [Error]: couldn't get the client port
Process 1291 stopped
* thread #1: tid = 0x1313d0, 0x000000010f77dd4f, name = 'tid_a13', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x000000010f77dd4f
-> 0x10f77dd4f: lock
0x10f77dd50: cmpxchgl %r15d, (%r14)
0x10f77dd54: movq %rax, %r12
0x10f77dd57: testl %eax, %eax
Does this happen on the same project as https://bugzilla.xamarin.com/show_bug.cgi?id=44970, if so it's very likely to be the same issue ?
*** Bug 45546 has been marked as a duplicate of this bug. ***
Maybe it is the same issue. Can you give me a link to commit or PR for the fix for this issue?
One potential cause that is already fixed on master, will also get fixed on 4.6 by https://github.com/mono/mono/pull/3833
There is also another suspect cause which will be addressed by https://github.com/mono/mono/pull/3764. Bear in mind that I don't think this PR works yet and it is a work in progress.
Do you experience this bug on a recent (5.8+) version of mono?
I can't see this crashes after migrate to 5.2