Front page | perl.perl5.porters |
Postings from August 2008
[perl #57762] opening in memory fails
Thread Next
From:
perlbug-followup
Date:
August 10, 2008 07:27
Subject:
[perl #57762] opening in memory fails
Message ID:
rt-3.6.HEAD-29759-1218358820-408.57762-75-0@perl.org
# New Ticket Created by arekm@carme-pld.pld-linux.org
# Please include the string: [perl #57762]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57762 >
This is a bug report for perl from arekm@maven.pl,
generated with the help of perlbug 1.36 running under perl 5.10.0.
-----------------------------------------------------------------
[Please enter your report here]
code is:
my $data = \'';
open my $file, '>', $data or die "error: $!";
on perl 5.10.0:
$ LC_ALL=C perl a.pl
error: Invalid argument at a.pl line 2.
(fails)
on perl 5.8.8:
$ perl a.pl
$
(no problem)
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=low
---
Site configuration information for perl 5.10.0:
Configured by arekm at Sun Aug 10 00:38:04 CEST 2008.
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=linux, osvers=2.6.25.11-2, archname=x86_64-pld-linux-thread-multi
uname='linux carme-pld 2.6.25.11-2 #1 smp wed jul 23 18:42:49 utc 2008 x86_64 genuine_intel(r)_cpu__________________@_2.13ghz pld linux '
config_args='-des -Dcc=x86_64-pld-linux-gcc -Darchname=x86_64-pld-linux -Dcccdlflags=-fPIC -Dccdlflags=-rdynamic -Dldlibpthname=none -Dldflags=-Wl,--as-needed -Wl,-z,relro -Wl,-z,-combreloc -Dlddlflags=-shared -Wl,--as-needed -Wl,-z,relro -Wl,-z,-combreloc -Doptimize=-O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -UDEBUGGING -Duseshrplib -Dd_dosuid -Dman1dir=/usr/share/man/man1 -Dman1ext=1 -Dman3dir=/usr/share/man/man3 -Dman3ext=3perl -Dvendorman1dir=/usr/share/man/man1 -Dvendorman1ext=1p -Dvendorman3dir=/usr/share/man/man3 -Dvendorman3ext=3pm -Dsiteman1dir=/usr/local/man/man1 -Dsiteman1ext=1p -Dsiteman3dir=/usr/local/man/man3 -Dsiteman3ext=3pm -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr/local -Dlibpth=/usr/lib64 /lib64 -Dprivlib=/usr/share/perl5/5.10.0 -Darchlib=/usr/lib64/perl5/5.10.0/x86_64-pld-linux-thread-multi -Dsitelib=/usr/local/share/perl5 -Dsitearch=/usr/local/lib/perl5/5.10.0/x86_64-pld-linux-thread-multi -Dvendorlib=/usr/share/perl5/v!
endor_perl -Dvendorarch=/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-pld-linux-thread-multi -Ui_db -Ui_dbm -Di_gdbm -Ui_ndbm -Dlibswanted=dl m c crypt gdbm -Dusethreads -Duselargefiles'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='x86_64-pld-linux-gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='4.3.1 20080623 (release)', 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='x86_64-pld-linux-gcc', ldflags =' -Wl,-z,relro -Wl,-z,-combreloc '
libpth=/usr/lib64 /lib64
libs=-ldl -lm -lpthread -lc -lcrypt -lgdbm
perllibs=-ldl -lm -lpthread -lc -lcrypt
libc=/lib/libc-2.8.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.8'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib64/perl5/5.10.0/x86_64-pld-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -Wl,-z,relro -Wl,-z,-combreloc '
Locally applied patches:
---
@INC for perl 5.10.0:
/usr/local/lib/perl5/5.10.0/x86_64-pld-linux-thread-multi
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-pld-linux-thread-multi
/usr/share/perl5/vendor_perl
/usr/lib64/perl5/5.10.0/x86_64-pld-linux-thread-multi
/usr/share/perl5/5.10.0
.
---
Environment for perl 5.10.0:
HOME=/home/users/arekm
LANG=pl_PL.UTF-8
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/sbin:/usr/sbin:/usr/local/sbin:/home/users/arekm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/home/users/arekm/bin
PERL_BADLANG (unset)
SHELL=/bin/zsh
Thread Next
-
[perl #57762] opening in memory fails
by perlbug-followup