Front page | perl.perl5.porters |
Postings from June 2013
[perl #118335] getpwuid hangs on redhat
Thread Previous
From:
James E Keenan via RT
Date:
June 6, 2013 00:45
Subject:
[perl #118335] getpwuid hangs on redhat
Message ID:
rt-3.6.HEAD-2552-1370479525-1766.118335-15-0@perl.org
On Wed Jun 05 10:11:17 2013, eldon.olmstead@newpace.com wrote:
>
> This is a bug report for perl from eldon.olmstead@newpace.com,
> generated with the help of perlbug 1.39 running under perl 5.16.3.
>
>
> -----------------------------------------------------------------
> The following command hangs on the call to getpwuid. This is a similar
> invocation found in the perl build directory under t/op/pwent.t
>
> perl -e 'eval {my @n = getpwuid 0;}; if ($@) { print $@ }'
You are configuring with a long list of options. Although I cannot see
any one of those which might cause this failure, it might be worthwhile
to try reconfiguring, building perl and running 'make test' again to see
if the error re-appears. For example, what if you just tried:
sh ./Configure -des -Dprefix=/home/bizapp/perl5/perlbrew/perls/perl-5.16.3
>
> The unit test t/op/pwent.t also hangs during testing of getpwuid and
> setpwent().
Would you be able to attach the output of the following to this ticket?
In the directory where you were building and testing this instance of
perl, say:
cd t;./perl harness -v op/pwent.t; cd-
>
> However, i have confirmed that calling setpwent doesn't hang.
>
> -----------------------------------------------------------------
> ---
> Flags:
> category=core
> severity=high
> ---
> Site configuration information for perl 5.16.3:
>
> Configured by eolmstea at Wed Jun 5 13:07:39 GMT 2013.
>
> Summary of my perl5 (revision 5 version 16 subversion 3)
> configuration:
>
> Platform:
> osname=linux, osvers=2.6.18-164.el5xen, archname=i386-linux-
> thread-multi
> uname='linux strecdvvap4.va.neustar.com 2.6.18-164.el5xen #1 smp
> thu sep 3 02:41:56 edt 2009 i686 i686 i386 gnulinux '
> config_args='-de
> -Dprefix=/home/bizapp/perl5/perlbrew/perls/perl-5.16.3
> -Doptimize=-O2 -Dmyhostname=localhost
> -Dperladmin=eldon.olmstea@localhost -Dcc=gcc
> -Darchname=i386-linux-thread-multi -Duseshrplib -Dusethreads
> -Duseithreads -Duselargefiles -Dd_semctl_semun -Di_db -Di_shadow
> -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n
> -Dd_gethostent_r_proto -Ui_ndbm -Ubincompat5005
> -Ud_endhostent_r_proto -Ud_sethostent_r_proto
> -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto
> -Ud_endservent_r_proto -Ud_setservent_r_proto
> -Aeval:scriptdir=/home/bizapp/perl5/perlbrew/perls/perl-5.16.3/bin'
> hint=recommended, useposix=true, d_sigaction=define
> useithreads=define, usemultiplicity=define
> useperlio=define, d_sfio=undef, uselargefiles=define,
> usesocks=undef
> use64bitint=undef, use64bitall=undef, uselongdouble=undef
> usemymalloc=n, bincompat5005=undef
> Compiler:
> cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE
> -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
> optimize='-O2',
> cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
> -fstack-protector -I/usr/local/include'
> ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-46)',
> gccosandvers=''
> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
> d_longlong=define, longlongsize=8, d_longdbl=define,
> longdblsize=12
> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
> lseeksize=8
> alignbytes=4, prototype=define
> Linker and Libraries:
> ld='gcc', ldflags =' -fstack-protector -L/usr/local/lib'
> libpth=/usr/local/lib /lib /usr/lib
> libs=-lnsl -lgdbm -ldl -lm -lcrypt -lutil -lpthread -lc
> perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
> libc=/lib/libc-2.5.so, so=so, useshrplib=true, libperl=libperl.so
> gnulibc_version='2.5'
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
>
-Wl,-rpath,/home/bizapp/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/i386-linux-thread-multi/CORE'
> cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib
> -fstack-protector'
>
> Locally applied patches:
>
>
> ---
> @INC for perl 5.16.3:
> /home/bizapp/perl5/perlbrew/perls/perl-
> 5.16.3/lib/site_perl/5.16.3/i386-linux-thread-multi
> /home/bizapp/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3
> /home/bizapp/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/i386-
> linux-thread-multi
> /home/bizapp/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3
> .
>
> ---
> Environment for perl 5.16.3:
> HOME=/home/bizapp
> LANG=en_US
> LANGUAGE (unset)
> LD_LIBRARY_PATH=/opt/app/oracle/product/10.2.0_client/lib
> LOGDIR (unset)
> PATH=/usr/local/axis2-1.4.1/bin:/opt/ant-
>
1.6.5/bin:/usr/java/jdk1.7.0/bin:./:/home/bizapp/perl5/perlbrew/bin:/home/bizapp/perl5/perlbrew/perls/perl-
>
5.16.3/bin:/opt/app/siteminder/webagent/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/bizapp/bin:/opt/app/oracle/product/10.2.0_client/bin:/opt/cch/processor/bin
> PERLBREW_BASHRC_VERSION=0.64
> PERLBREW_HOME=/home/bizapp/.perlbrew
> PERLBREW_MANPATH=/home/bizapp/perl5/perlbrew/perls/perl-5.16.3/man
>
PERLBREW_PATH=/home/bizapp/perl5/perlbrew/bin:/home/bizapp/perl5/perlbrew/perls/perl-
> 5.16.3/bin
> PERLBREW_PERL=perl-5.16.3
> PERLBREW_ROOT=/home/bizapp/perl5/perlbrew
> PERLBREW_VERSION=0.64
> PERL_BADLANG (unset)
> SHELL=/bin/bash
---
via perlbug: queue: perl5 status: new
https://rt.perl.org:443/rt3/Ticket/Display.html?id=118335
Thread Previous