develooper Front page | perl.perl5.porters | Postings from February 2011

[perl #84688] io/eintr.t test hangs indefinitely

Thread Previous | Thread Next
From:
Mark Martinec
Date:
February 24, 2011 00:34
Subject:
[perl #84688] io/eintr.t test hangs indefinitely
Message ID:
rt-3.6.HEAD-24085-1298404250-1877.84688-75-0@perl.org
# New Ticket Created by  Mark Martinec 
# Please include the string:  [perl #84688]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=84688 >


This is a bug report for perl from Mark.Martinec@ijs.si,
generated with the help of perlbug 1.39 running under perl 5.13.10.


-----------------------------------------------------------------
[Please describe your issue here]

A test io/eintr.t which is invoked at the 'make test' phase
of the Perl installation on a FreeBSD hangs indefinitely
(i.e. until interrupted manually).

Looking at the io/eintr.t more closely, there are two instances
of a 'print' which never complete, and are not interrupted by
the alarm timer:
- in the 'close during print' subtest
- in the 'die during print' subtest

If I comment out the '$st = print $out $buf' and
the '$st = eval { print $out $buf }' the io/eintr.t
finishes (with reported failures naturally).

Other that that, it seems that perl installs and runs alright,
including the remaining self-tests.

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=install
    severity=medium
---
Site configuration information for perl 5.13.10:

Configured by mark at Tue Feb 22 17:29:14 CET 2011.

Summary of my perl5 (revision 5 version 13 subversion 10) configuration:
   
  Platform:
    osname=freebsd, osvers=7.2-release-p2, archname=amd64-freebsd
    uname='freebsd dorothy.ijs.si 7.2-release-p2 freebsd 7.2-release-p2 #0: wed jul 15 15:45:26 cest 2009 lesi@dorothy.ijs.si:usrobjusrsrcsysdorothy amd64 '
    config_args='-sde -Dusedevel=Y -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.13.10/mach -Dprivlib=/usr/local/lib/perl5/5.13.10 -Dman3dir=/usr/local/lib/perl5/5.13.10/perl/man/man3 -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl/5.13.10/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.13.10 -Dscriptdir=/usr/local/bin -Dsiteman3dir=/usr/local/lib/perl5/5.13.10/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Duseshrplib -Dinc_version_list=none -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.13.10/BSDPAN" -Doptimize=-O2 -fno-strict-aliasing -pipe -Ui_gdbm -Dusethreads=n -Dusemymalloc=n -Duse64bitint'
    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 ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.13.10/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',
    optimize='-O2 -fno-strict-aliasing -pipe',
    cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.13.10/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.2.1 20070719  [FreeBSD]', 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 =' -Wl,-E  -fstack-protector -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib
    libs=-lgdbm -lm -lcrypt -lutil
    perllibs=-lm -lcrypt -lutil
    libc=, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -Wl,-R/usr/local/lib/perl5/5.13.10/mach/CORE'
    cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib -fstack-protector'

Locally applied patches:
    

---
@INC for perl 5.13.10:
    /usr/local/lib/perl5/5.13.10/BSDPAN
    /usr/local/lib/perl5/site_perl/5.13.10/mach
    /usr/local/lib/perl5/site_perl/5.13.10
    /usr/local/lib/perl5/5.13.10/mach
    /usr/local/lib/perl5/5.13.10
    .

---
Environment for perl 5.13.10:
    HOME=/root
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
    PERL_BADLANG (unset)
    SHELL=/usr/local/bin/bash


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About