Open GoogleCodeExporter opened 9 years ago
Will it help to move the local vars to a fake stack?
Does the problem apply to the case when several mutexes created in local scopes
share a single stack slot?
Original comment by gli...@google.com
on 17 Dec 2014 at 9:58
> Will it help to move the local vars to a fake stack?
I don't see how it changes anything.
> Does the problem apply to the case when several mutexes created in local
scopes share a single stack slot?
Yes, and it is even more difficult to handle. However, better handling of
thread_mutex_init/destroy will help to some degree.
Original comment by dvyu...@google.com
on 17 Dec 2014 at 10:00
Submitted a test case for one of the possible reincarnation of the issue:
http://llvm.org/viewvc/llvm-project?view=revision&revision=224422
Other possible reincarnations are: reuse of globals/heap, explicit dtor/ctor,
reuse of stack space in the same stack frame.
Original comment by dvyu...@google.com
on 17 Dec 2014 at 10:21
See also issue 70
Original comment by dvyu...@google.com
on 17 Dec 2014 at 10:26
Original issue reported on code.google.com by
dvyu...@google.com
on 17 Dec 2014 at 9:51