Skip Menu |

This queue is for tickets about the Code-Statistics CPAN distribution.

Report information
The Basics
Id: 60949
Status: open
Priority: 0/
Queue: Code-Statistics

People
Owner: Nobody in particular
Requestors: sergey.aleynikov [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Coredump on 5.8.8
Got 2 different coredumps during run of 'file_test'. 1st is under 'prove', 2nd - direct run. I can't extract a simple test case to see is this 5.8.8 only bug or it's present up to 5.12 (or that's just something in a code), so, probably could you. Backtraces are: =========================================================== Program terminated with signal 11, Segmentation fault. #0 0x080eb48a in Perl_sv_newmortal () at sv.c:6837 6837 new_SV(sv); (gdb) bt ful #0 0x080eb48a in Perl_sv_newmortal () at sv.c:6837 sv = (SV *) 0x80003 #1 0x080f2b0a in S_refto (sv=0x283101c8) at pp.c:502 rv = (SV *) 0x7fbfea08 #2 0x080f2939 in Perl_pp_refgen () at pp.c:467 sp = (SV **) 0x2912c01c mark = (SV **) 0x2912c01c #3 0x080bccf5 in Perl_runops_debug () at dump.c:1459 No locals. #4 0x0806286b in S_run_body (oldscope=1) at perl.c:2361 No locals. #5 0x0806242a in perl_run (my_perl=0x28301100) at perl.c:2283 oldscope = 1 ret = 3 cur_env = {je_prev = 0x8182420, je_buf = {{_sjb = {134620108, 3, 2143283804, 2143283928, 2143284068, 0, 674239103, 2143283928, 0, 0, 512, 0}}}, je_ret = 3, je_mustcatch = 0 '\0'} #6 0x0805e7e9 in main (argc=3, argv=0x7fbfeb54, env=0x7fbfeb64) at perlmain.c:99 exitstatus = 0 =========================================================== Program terminated with signal 11, Segmentation fault. #0 0x080e4d06 in Perl_sv_setsv_flags (dstr=0x28a30108, sstr=0x28a3018c, flags=2) at sv.c:4068 4068 SvGROW(dstr, len + 1); /* inlined from sv_setpvn */ (gdb) bt full #0 0x080e4d06 in Perl_sv_setsv_flags (dstr=0x28a30108, sstr=0x28a3018c, flags=2) at sv.c:4068 len = 5 sflags = 75759620 dtype = 255 stype = 4 #1 0x080d2014 in Perl_pp_sassign () at pp_hot.c:122 sp = (SV **) 0x2912c020 right = (SV *) 0x28a30108 left = (SV *) 0x28a3018c #2 0x080bccf5 in Perl_runops_debug () at dump.c:1459 No locals. #3 0x0806286b in S_run_body (oldscope=1) at perl.c:2361 No locals. #4 0x0806242a in perl_run (my_perl=0x28301100) at perl.c:2283 oldscope = 1 ret = 3 cur_env = {je_prev = 0x8182420, je_buf = {{_sjb = {134620108, 2, 2143284140, 2143284264, 2143284396, 0, 674239103, 2143284264, 0, 0, 512, 0}}}, je_ret = 3, je_mustcatch = 0 '\0'} #5 0x0805e7e9 in main (argc=2, argv=0x7fbfeca0, env=0x7fbfecac) at perlmain.c:99 exitstatus = 0 %perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=freebsd, osvers=7.0-release, archname=i386-freebsd uname='freebsd begom.com 7.2-stable freebsd 7.2-stable #0: wed oct 21 19:57:02 msd 2009 inferno@begom.com:usrobjusrsrcsysbegom i386 ' config_args='' hint=previous, 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 usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include', optimize='-g -ggdb3', cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include' ccversion='', gccversion='4.2.1 20070719 [FreeBSD]', 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 =' -Wl,-E -L/usr/local/lib' libpth=/usr/lib /usr/local/lib libs=-lgdbm -lm -lcrypt -lutil perllibs=-lm -lcrypt -lutil 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: DEBUGGING USE_LARGE_FILES USE_PERLIO Locally applied patches: defined-or Built under freebsd Compiled at Nov 9 2009 16:47:56 @INC: /usr/local/lib/perl5/site_perl/5.8.8/i386-freebsd /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/i386-freebsd /usr/local/lib/perl5/5.8.8 .
Thanks for the report. I'll install 5.8.8 on my secondary machine over the week and see if i can reproduce this. Sadly i do not have a FreeBSD machine available.