Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

munmap can cause inconsistent segfaults #1

Open
GoogleCodeExporter opened this issue Jun 18, 2015 · 0 comments
Open

munmap can cause inconsistent segfaults #1

GoogleCodeExporter opened this issue Jun 18, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Perform a transaction that privatizes some locations, and then munmap the 
privatized locations non-transactionally.
2. Concurrently execute a speculative transaction that conditionally 
dereferences said locations.
3. Run for a "long time" time.

What is the expected output? 

Results consistent with single-lock semantics.

What do you see instead?

Segmentation faults from the speculative transactions due to privatization 
safety violations.

Workaround?

Perform all munmap operations inside [[relaxed]] transactions.


Original issue reported on code.google.com by [email protected] on 11 Jul 2011 at 5:02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant