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
Bad putenv interaction between fakeroot and perl #11375
Comments
From samuel.thibault@ens-lyon.orgCreated by samuel.thibault@ens-lyon.orgHello, When using perl within a fakeroot, I am sometimes getting *** glibc detected *** /usr/bin/perl: free(): invalid pointer: 0x01026000 *** for instance when running perldoc. This is in perl_destruct: for (i = 0; environ[i]; i++) /* Must use safesysfree() when working with environ. */ It is trying to free the environ that glibc has settled. What happens is When running as a non-embedded interpreter, perl assumes that it is the Samuel Perl Info
|
From samuel.thibault@ens-lyon.orgHello, No news about this bug? I was advised to provide a testcase that would fail on Linux too, here $ gcc test.c -o libtest.so -fPIC -shared Samuel |
From samuel.thibault@ens-lyon.org#define _GNU_SOURCE int chmod(const char *path, mode_t mode) { |
@jkeenan - Status changed from 'new' to 'open' |
From samuel.thibault@ens-lyon.orgSamuel Thibault, le Mon 05 Dec 2011 00:39:03 +0100, a écrit :
Interesting. Actually I meant the attached testcase: FOO0 to FOO100 Samuel |
From samuel.thibault@ens-lyon.org#define _GNU_SOURCE int chmod(const char *path, mode_t mode) { |
Migrated from rt.perl.org#91452 (status was 'open')
Searchable as RT91452$
The text was updated successfully, but these errors were encountered: