develooper Front page | perl.perl5.porters | Postings from April 2008

Weird kernel failure in t/op/threads in blead@33758

Thread Next
From:
David Landgren
Date:
April 29, 2008 11:08
Subject:
Weird kernel failure in t/op/threads in blead@33758
Message ID:
48176406.5070003@landgren.net
I was running a build to figure out how and when Pod::Html gets tested, 
in order to work on the dual-life version, and the following happened:

t/op/threads..................................................Fatal 
error 'Exceeded maximum lock level' at line 2356 in file 
/usr/src/lib/libpthread/thread/thr_kern.c (errno = 136039556)
Fatal error 'Exceeded maximum lock level' at line 199 in file 
/usr/src/lib/libpthread/thread/thr_rtld.c (errno = 136039556)
Fatal error 'Exceeded maximum lock level' at line 199 in file 
/usr/src/lib/libpthread/thread/thr_rtld.c (errno = 136039556)
Fatal error 'Exceeded maximum lock level' at line 199 in file 
/usr/src/lib/libpthread/thread/thr_rtld.c (errno = 136039556)
Fatal error 'Exceeded maximum lock level' at line 199 in file 
/usr/src/lib/libpthread/thread/thr_rtld.c (errno = 136039556)

... and would probably still be looping now if I hadn't killed it. It 
might be resource starvation; it's on a busy machine. I don't know if 
there's anyway of dying gracefully or if we are really lost in the 
kernel at this point.

I've just resynched and will rebuild to see if the problem remains.

%  ./perl -VIlib
Summary of my perl5 (revision 5 version 11 subversion 0 patch 33758) 
configuration:
   Platform:
     osname=freebsd, osvers=6.0-stable, archname=i386-freebsd-thread-multi
     uname='freebsd profane.mongueurs.net 6.0-stable freebsd 6.0-stable 
#5: fri feb 24 11:12:56 cet 2006 
root@profane.mongueurs.net:usrobjusrsrcsysprofane i386 '
     config_args='-des -Dusedevel -Duseithreads'
     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='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H 
-fno-strict-aliasing -pipe -I/usr/local/include',
     optimize='-O',
     cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H 
-fno-strict-aliasing -pipe -I/usr/local/include'
     ccversion='', gccversion='3.4.4 [FreeBSD] 20050518', 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='cc', ldflags ='-pthread -Wl,-E  -L/usr/local/lib'
     libpth=/usr/lib /usr/local/lib
     libs=-lgdbm -lm -lcrypt
     perllibs=-lm -lcrypt
     libc=, so=so, useshrplib=false, libperl=libperl.a
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
     cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib'


Characteristics of this binary (from libperl):
   Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                         PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS
                         USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
   Locally applied patches:
         DEVEL
   Built under freebsd
   Compiled at Apr 29 2008 19:40:11
   @INC:
     lib
     /usr/local/lib/perl5/5.11.0/i386-freebsd-thread-multi
     /usr/local/lib/perl5/5.11.0
     /usr/local/lib/perl5/site_perl/5.11.0/i386-freebsd-thread-multi
     /usr/local/lib/perl5/site_perl/5.11.0
     /usr/local/lib/perl5/site_perl

Later,
David

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