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

Add test showing the crash in the context of shared libraries #111

Closed
wants to merge 2 commits into from

Conversation

Flamefire
Copy link

This adds a test (from #105) which uses singletons in shared libraries linked against static boost. This crashes on termination as explained in #105, the linked issue and the mailing list.

As static boost is used in shared libraries -fPIC is required.

@Flamefire Flamefire force-pushed the feature/singleton-crash branch 3 times, most recently from a4994f2 to 953aa9c Compare October 14, 2018 22:09
The test uses singletons in shared libraries that are linked against static boost. On termination the (internal) singletons will be destructed in an unexpected order causing a use-after-free and segfault/assert.
@robertramey
Copy link
Member

I believe that this is resolved. If anyone is unsatisfied with this, please open a new PR

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

Successfully merging this pull request may close these issues.

None yet

2 participants