Skip to content

PHPC-632: Define MONGOC_NO_AUTOMATIC_GLOBALS when bundling libmongoc #266

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

Merged
merged 1 commit into from
Mar 18, 2016

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Mar 18, 2016

https://jira.mongodb.org/browse/PHPC-632

This ensures that libmongoc's automatic destructor is disabled and will avoid segfaults during abrupt FPM shutdowns for static builds. Those using the driver with system libmongoc will need to wait for CDRIVER-1160 to be released in order to resolve this issue.

This fixes #209 and #258 (for bundled libmongoc). It may also fix #212, #213, and #215.

This ensures that libmongoc's automatic destructor is disabled and will avoid segfaults during abrupt FPM shutdowns for static builds.

Those using the driver with system libmongoc will need to wait for CDRIVER-1160 to be released in order to resolve this issue.

Fixes mongodb#209, fixes mongodb#258
@jmikola jmikola merged commit 5c3cebc into mongodb:master Mar 18, 2016
jmikola added a commit that referenced this pull request Mar 18, 2016
@jmikola jmikola deleted the phpc-632 branch March 18, 2016 17:03
@jmikola
Copy link
Member Author

jmikola commented Mar 18, 2016

Manually merged to v1.1 in 009d3f7.

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.

Segfault on 1.1.2/1.1.3-dev with PHP 7 FPM under gentoo Segfault on 1.1.2 whenever running PHP
1 participant