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
Different extension modules share space #36146
Comments
Hi! I appreciate if you could suggest a fix or workaround |
Logged In: YES That's a bug in the Debian package. Debian uses the patch --- python2.1-2.1.2.orig/Python/dynload_shlib.c
+++ python2.1-2.1.2/Python/dynload_shlib.c
@@ -87,7 +87,7 @@
#ifdef RTLD_NOW
/* RTLD_NOW: resolve externals now
(i.e. core dump now if some are missing) */
- handle = dlopen(pathname, RTLD_NOW);
+ handle = dlopen(pathname, RTLD_NOW | RTLD_GLOBAL);
#else
if (Py_VerboseFlag)
printf("dlopen(\"%s\", %d);\n", pathname, which results in exactly this behaviour. Please report the They claim that this "solves" bug debbug:97146, and that it Any library that relies on RTLD_GLOBAL needs to be fixed |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: