develooper Front page | perl.perl5.porters | Postings from March 2001

Re: [ID 20010306.007] Segmentation fault generated from './perl -Ilib t/lib/compmod.pl CPAN'

Thread Previous | Thread Next
From:
Jarkko Hietaniemi
Date:
March 6, 2001 08:36
Subject:
Re: [ID 20010306.007] Segmentation fault generated from './perl -Ilib t/lib/compmod.pl CPAN'
Message ID:
20010306103608.B25411@chaos.wustl.edu
On Tue, Mar 06, 2001 at 08:33:00AM -0800, dcd@tc.fluke.com wrote:
> 
> This is a bug report for perl from dcd@tc.fluke.com,
> generated with the help of perlbug 1.33 running under perl v5.7.0.
> 
> 
> -----------------------------------------------------------------
> [Please enter your report here]
> 
> When testing the latest bleadperl I'm seeing segfaults

Define 'the latest'.  The snapshot or a later (rsynced?) version?

>  (  cd t &&  ./perl TEST -v lib/1_compile.t )
> 
> jd:q2$  (  cd t &&  ./perl TEST -v lib/1_compile.t )
> /tmp/q2/t
> lib/1_compile...1..137
> ok 1
> ok 2
> ok 3
> ok 4
> ok 5
> ok 6
> ok 7
> ok 8
> ok 9
> ok 10
> ok 11
> ok 12
> # CPAN compile failed
> not ok 13
> 
>  exit code=0,
>  signal=13
> FAILED at test 13
> Failed 1 test script out of 1, 0.00% okay.
>    ### Since not all tests were successful, you may want to run some
>    ### of them individually and examine any diagnostic messages they
>    ### produce.  See the INSTALL document's section on "make test".
>    ### If you are testing the compiler, then ignore this message 
>    ### and run 
>    ###      ./perl harness
>    ### in the directory ./t.
> u=0.02  s=0  cu=2.15  cs=0.15  scripts=1  tests=137
> 
> 
> If I use gdb to examine the core file
> 
> gdb ./perl ./core
> Core was generated by `./perl -Ilib t/lib/compmod.pl CPAN'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /lib/libnsl.so.1...done.
> Reading symbols from /lib/libdl.so.2...done.
> Reading symbols from /lib/libm.so.6...done.
> Reading symbols from /lib/libc.so.6...done.
> Reading symbols from /lib/libcrypt.so.1...done.
> Reading symbols from /lib/libutil.so.1...done.
> Reading symbols from /lib/ld-linux.so.2...done.
> Reading symbols from /tmp/q2/lib/auto/IO/IO.so...done.
> Reading symbols from /tmp/q2/lib/auto/Fcntl/Fcntl.so...done.
> Reading symbols from /tmp/q2/lib/auto/Opcode/Opcode.so...done.
> #0  S_op_clear (o=0x82d2078) at op.c:860
> 860                         pmop = pmop->op_pmnext;
> 
> 
> #0  S_op_clear (o=0x82d2078) at op.c:860
> #1  0x80951c4 in Perl_op_free (o=0x82d2078) at op.c:751
> #2  0x809518d in Perl_op_free (o=0x82d25e8) at op.c:739
> #3  0x809518d in Perl_op_free (o=0x82d2610) at op.c:739
> #4  0x809518d in Perl_op_free (o=0x82d2650) at op.c:739
> #5  0x809518d in Perl_op_free (o=0x82d26b8) at op.c:739
> #6  0x809518d in Perl_op_free (o=0x82d2800) at op.c:739
> #7  0x809518d in Perl_op_free (o=0x82d2828) at op.c:739
> #8  0x809518d in Perl_op_free (o=0x82d2848) at op.c:739
> #9  0x809518d in Perl_op_free (o=0x82d17f0) at op.c:739
> #10 0x808e1c1 in Perl_cv_undef (cv=0x82c179c) at op.c:739
> #11 0x80c0ff6 in Perl_sv_clear (sv=0x82c179c) at sv.c:4443
> #12 0x80c14d6 in Perl_sv_free (sv=0x82c179c) at sv.c:4605
> #13 0x806321c in Perl_gp_free (gv=0x82c1760) at gv.c:1134
> #14 0x80c1036 in Perl_sv_clear (sv=0x82c1760) at sv.c:4455
> #15 0x80c14d6 in Perl_sv_free (sv=0x82c1760) at sv.c:4605
> #16 0x80c861f in do_clean_all (sv=0x82c1760) at sv.c:9355
> #17 0x80c6ca4 in Perl_sv_clean_all () at sv.c:161
> #18 0x805c0fb in perl_destruct (my_perl=0x812a928) at perl.c:670
> #19 0x805aa91 in main (argc=4, argv=0xbffff4b4, env=0xbffff4c8)
>     at perlmain.c:55
> 
> 
> 
> [Please do not change anything below this line]
> -----------------------------------------------------------------
> ---
> Flags:
>     category=core
>     severity=high
> ---
> Site configuration information for perl v5.7.0:
> 
> Configured by dcd at Mon Mar  5 15:39:53 PST 2001.
> 
> Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration:
>   Platform:
>     osname=linux, osvers=2.2.5, archname=i686-linux
>     uname='linux jd 2.2.5 #1 tue apr 13 16:33:46 mest 1999 i686 unknown '
>     config_args='-Dinstallusrbinperl -Dusedevel -Doptimize=-O3 -g -de -Dcf_email=dcd@tc.fluke.com'
>     hint=recommended, useposix=true, d_sigaction=define
>     usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
>     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
>     use64bitint=undef use64bitall=undef uselongdouble=undef
>   Compiler:
>     cc='cc', ccflags ='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
>     optimize='-O3 -g',
>     cppflags='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include'
>     ccversion='', gccversion='egcs-2.91.66 19990314 (egcs-1.1.2 release)', 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=4
>     alignbytes=4, usemymalloc=n, prototype=define
>   Linker and Libraries:
>     ld='cc', ldflags =' -L/usr/local/lib'
>     libpth=/usr/local/lib /lib /usr/lib
>     libs=-lnsl -lndbm -lgdbm -ldbm -ldb -ldl -lm -lc -lposix -lcrypt -lutil
>     perllibs=-lnsl -ldl -lm -lc -lposix -lcrypt -lutil
>     libc=, so=so, useshrplib=false, libperl=libperl.a
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
>     cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
> 
> Locally applied patches:
>     DEVEL9021
> 
> ---
> @INC for perl v5.7.0:
>     lib
>     /usr/local/lib/perl5/5.7.0/i686-linux
>     /usr/local/lib/perl5/5.7.0
>     /usr/local/lib/perl5/site_perl/5.7.0/i686-linux
>     /usr/local/lib/perl5/site_perl/5.7.0
>     /usr/local/lib/perl5/site_perl
>     .
> 
> ---
> Environment for perl v5.7.0:
>     HOME=/home/dcd
>     LANG=POSIX
>     LANGUAGE (unset)
>     LD_LIBRARY_PATH (unset)
>     LOGDIR (unset)
>     PATH=/home/dcd/bin:/sbin:/home/dcd/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/openwin/bin:/var/lib/dosemu:/usr/games/bin:/usr/games:/opt/gnome/bin:/opt/kde/bin:.:/usr/lib/pgsql/bin:/usr/local/samba:/home/hobbes/tools/scripts:/home/hobbes/tools/linux:/usr0/hobbes/tools/scripts:/usr0/dcd/bin:/apps/general/bin:/usr/public
>     PERL_BADLANG (unset)
>     SHELL=/bin/bash

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

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