Front page | perl.perl5.porters |
Postings from January 2012
[perl #108964] [PATCH] 3a296d4 usemymalloc is not thread-safe
Thread Next
From:
rurban @ cpanel . net
Date:
January 24, 2012 11:52
Subject:
[perl #108964] [PATCH] 3a296d4 usemymalloc is not thread-safe
Message ID:
rt-3.6.HEAD-14510-1327434757-23.108964-75-0@perl.org
# New Ticket Created by rurban@cpanel.net
# Please include the string: [perl #108964]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=108964 >
This is a bug report for perl from rurban@cpanel.net,
generated with the help of perlbug 1.39 running under perl 5.15.7.
>From 3a296d440c882cda23c7000e3544b7c2866a676c Mon Sep 17 00:00:00 2001
From: Reini Urban <rurban@x-ray.at>
Date: Tue, 24 Jan 2012 13:51:06 -0600
Subject: [PATCH] usemymalloc is not thread-safe
---
Configure | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Configure b/Configure
index d9911f9..7860100 100755
--- a/Configure
+++ b/Configure
@@ -6847,6 +6847,7 @@ case "$usemymalloc" in
4) dflt='y' ;;
*) dflt='n' ;;
esac
+ if test "$useithreads" = "$define"; then dflt='n'; fi
;;
esac
rp="Do you wish to attempt to use the malloc that comes with $package?"
--
1.7.5.4
---
Flags:
category=core
severity=high
---
Site configuration information for perl 5.15.7:
Configured by rurban at Mon Jan 23 12:43:58 CST 2012.
Summary of my perl5 (revision 5 version 15 subversion 7) configuration:
Derived from: ce334002dd31d29fbe9ccdb2c646ef2163bf6e56
Platform:
osname=linux, osvers=3.0.0-1-amd64, archname=x86_64-linux-debug@6d34176e
uname='linux reini 3.0.0-1-amd64 #1 smp sun jul 24 02:24:44 utc 2011 x86_64 gnulinux '
config_args='-de -Dusedevel -Dinstallman1dir=none -Dinstallman3dir=none -Dinstallsiteman1dir=none -Dinstallsiteman3dir=none -Dmksymlinks -DEBUGGING -Doptimize=-g3 -Uuseithreads -Accflags='-msse4.2' -Accflags='-march=corei7' -Dcf_email='rurban@cpanel.net' -Dperladmin='rurban@cpanel.net' -Duseshrplib'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-msse4.2 -march=corei7 -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-g3',
cppflags='-msse4.2 -march=corei7 -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.6.1', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/lib/x86_64-linux-gnu /lib64 /usr/lib64
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.13'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/local/lib/perl5/5.15.7/x86_64-linux-debug@6d34176e/CORE'
cccdlflags='-fPIC', lddlflags='-shared -g3 -L/usr/local/lib -fstack-protector'
Locally applied patches:
---
@INC for perl 5.15.7:
/usr/local/lib/perl5/site_perl/5.15.7/x86_64-linux-debug@6d34176e
/usr/local/lib/perl5/site_perl/5.15.7
/usr/local/lib/perl5/5.15.7/x86_64-linux-debug@6d34176e
/usr/local/lib/perl5/5.15.7
/usr/local/lib/perl5/site_perl
.
---
Environment for perl 5.15.7:
HOME=/home/rurban
LANG=en_US.utf8
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/home/rurban/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
PERL_BADLANG (unset)
SHELL=/bin/bash
Thread Next
-
[perl #108964] [PATCH] 3a296d4 usemymalloc is not thread-safe
by rurban @ cpanel . net