projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cba9d8
)
[sdb] Don't set tls->context when interrupting a thread, it could race with the threa...
author
Zoltan Varga
<vargaz@gmail.com>
Tue, 5 Sep 2017 00:24:48 +0000
(
02:24
+0200)
committer
monojenkins
<jo.shields+jenkins@xamarin.com>
Wed, 6 Sep 2017 11:56:02 +0000
(13:56 +0200)
mono/mini/debugger-agent.c
patch
|
blob
|
history
diff --git
a/mono/mini/debugger-agent.c
b/mono/mini/debugger-agent.c
index 4a2637c1943e4339c4aaca8a2762a8a538012405..cb0600828e9c4116eccd38a44843358bd263666c 100644
(file)
--- a/
mono/mini/debugger-agent.c
+++ b/
mono/mini/debugger-agent.c
@@
-2670,7
+2670,7
@@
thread_interrupt (DebuggerTlsData *tls, MonoThreadInfo *info, MonoJitInfo *ji)
}
copy_unwind_state_from_frame_data (&tls->async_state, &data, jit_tls);
- copy_unwind_state_from_frame_data (&tls->context, &data, jit_tls);
+ /* Don't set tls->context, it could race with the thread processing a breakpoint etc. */
} else {
tls->async_state.valid = FALSE;
}