Skip Menu |

This queue is for tickets about the Data-Alias CPAN distribution.

Report information
The Basics
Id: 64301
Status: resolved
Priority: 0/
Queue: Data-Alias

People
Owner: Nobody in particular
Requestors: RANDIR [...] cpan.org
Cc:
AdminCc:

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



Subject: Coredump on 5.8.8
This particular coredump was obtained on 1.07, but i see no code change in this place up to 1.10. (gdb) bt #0 0x00000008018621bf in da_ck_entersub (o=0x1625f40) at Alias.xs:1736 #1 0x000000000044429d in Perl_convert (type=Variable "type" is not available. ) at op.c:2195 #2 0x0000000000447fd8 in Perl_utilize (aver=1, floor=568, version=Variable "version" is not available. ) at op.c:3091 #3 0x000000000043db91 in Perl_yyparse () at perly.y:423 #4 0x000000000048d450 in S_doeval (gimme=0, startop=0x0, outside=Variable "outside" is not available. ) at pp_ctl.c:2927 #5 0x000000000048f3ee in Perl_pp_require () at pp_ctl.c:3462 #6 0x0000000000468482 in Perl_runops_standard () at run.c:37 #7 0x000000000041db89 in S_call_body (myop=0x1625f40, is_eval=-64 'ю') at perl.c:2731 #8 0x000000000041e64d in Perl_call_sv (sv=Variable "sv" is not available. ) at perl.c:2646 #9 0x000000000041e9e6 in Perl_call_list (oldscope=26, paramList=0x7cd1a8) at perl.c:5200 #10 0x0000000000449256 in Perl_newATTRSUB (floor=357, o=Variable "o" is not available. ) at op.c:4525 #11 0x0000000000448083 in Perl_utilize (aver=1, floor=357, version=Variable "version" is not available. ) at op.c:3098 #12 0x000000000043db91 in Perl_yyparse () at perly.y:423 #13 0x000000000048d450 in S_doeval (gimme=0, startop=0x0, outside=Variable "outside" is not available. ) at pp_ctl.c:2927 #14 0x000000000048f3ee in Perl_pp_require () at pp_ctl.c:3462 #15 0x0000000000468482 in Perl_runops_standard () at run.c:37 #16 0x000000000041db89 in S_call_body (myop=0x1625f40, is_eval=-64 'ю') at perl.c:2731 #17 0x000000000041e64d in Perl_call_sv (sv=Variable "sv" is not available. ) at perl.c:2646 #18 0x0000000800f0ac05 in e_cb (loop=Variable "loop" is not available. ) at EV.xs:219 #19 0x0000000800f071e0 in ev_invoke_pending (loop=0x80101f2a0) at ev.c:1997 #20 0x0000000800f18403 in ev_loop (loop=0x80101f2a0, flags=0) at ev.c:2359 #21 0x0000000800f18605 in XS_EV_loop (cv=Variable "cv" is not available. ) at EV.c:783 #22 0x0000000000469884 in Perl_pp_entersub () at pp_hot.c:2913 ---Type <return> to continue, or q <return> to quit---q Quit (gdb) p *kid $3 = {op_next = 0x19bcfd0, op_sibling = 0x12378e0, op_ppaddr = 0x46c9eb <Perl_pp_pushmark>, op_targ = 0, op_type = 3, op_seq = 0, op_flags = 2 '\002', op_private = 0 '\0'} (gdb) p *((LISTOP*)kid) Cannot access memory at address 0x19bcfd0 perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=freebsd, osvers=7.2-stable, archname=amd64-freebsd uname='freebsd sigeon.ru 7.2-stable freebsd 7.2-stable #0: tue nov 3 08:27:31 msk 2009 root@sigeon.ru:usrobjusrsrcsyssigeon amd64 ' 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=define use64bitall=define uselongdouble=undef usemymalloc=y, bincompat5005=undef Compiler: cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include', optimize='-O -march=nocona -g -ggdb3', cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -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 -L/usr/local/lib' libpth=/usr/lib /usr/local/lib libs=-lm -lcrypt -lutil -lthr perllibs=-lm -lcrypt -lutil -lthr 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: MYMALLOC USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO Locally applied patches: defined-or Built under freebsd Compiled at Sep 3 2010 01:37:51 @INC: /usr/local/lib/perl5/site_perl/5.8.8/amd64-freebsd /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/amd64-freebsd /usr/local/lib/perl5/5.8.8 .
Thanks for the report. I believe I've figured out what went wrong from your debugger output. You didn't say what Perl code you put in to get the op tree that caused the crash, so I haven't been able to reproduce the problem or write a test script for it. Nevertheless, I think I've fixed it in Data-Alias-1.13, just uploaded to CPAN. -zefram
Thank for providing a fix. That's a floating issue, that was present in a really large code, triggered on and off by small and unrelated to any 'alias' directive changes. And was not triggered by just compiling it with "perl -c", so i couldn't extract any test case. I've upgraded module and will report in case of any issues.