Bug#708792: perl/experimental: FTBFS on sparc: Bus errors

Niko Tyni ntyni at debian.org
Sat May 18 16:22:26 UTC 2013


Package: perl
Version: 5.18.0~rc1-1
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.18-transition

perl from experimental failed to build on sparc, miniperl gives bus errors:

 https://buildd.debian.org/fetch.cgi?pkg=perl&arch=sparc&ver=5.18.0%7Erc1-1&stamp=1368891868&file=log

Reproducible on smetana, backtrace with -O0 (DEB_BUILD_OPTIONS=noopt):

  Core was generated by `./miniperl -w -Ilib -MExporter -e <?>'.
  Program terminated with signal 10, Bus error.
  #0  0x0002f528 in Perl_newPMOP (my_perl=0x26a008, type=31, flags=0) at op.c:4458
  4458        pmop->op_pmoffset = av_len(PL_regex_padav);
  (gdb) bt
  #0  0x0002f528 in Perl_newPMOP (my_perl=0x26a008, type=31, flags=0) at op.c:4458
  #1  0x0008a37c in S_scan_pat (my_perl=0x26a008, 
      start=0x28d267 "/\\W/ or $args and not exists $export_cache->{$_}\n", type=31) at toke.c:9540
  #2  0x00076a78 in Perl_yylex (my_perl=0x26a008) at toke.c:6638
  #3  0x00093ac8 in Perl_yyparse (my_perl=0x26a008, gramtype=258) at perly.c:341
  #4  0x001992c4 in S_doeval (my_perl=0x26a008, gimme=2, outside=0x0, seq=2, hh=0x0) at pp_ctl.c:3488
  #5  0x0019c0d0 in Perl_pp_require (my_perl=0x26a008) at pp_ctl.c:4069
  #6  0x0011c78c in Perl_runops_standard (my_perl=0x26a008) at run.c:42
  #7  0x00018da4 in Perl_call_sv (my_perl=0x26a008, sv=0x284e78, flags=13) at perl.c:2766
  #8  0x0001f2b8 in Perl_call_list (my_perl=0x26a008, oldscope=2, paramList=0x26caf8) at perl.c:4921
  #9  0x0003c16c in S_process_special_blocks (my_perl=0x26a008, floor=37, fullname=0x28989c "BEGIN", 
      gv=0x284ea8, cv=0x284e78) at op.c:7701
  #10 0x0003bf88 in Perl_newATTRSUB_flags (my_perl=0x26a008, floor=37, o=0x289784, proto=0x0, attrs=0x0, 
      block=0x289738, flags=0) at op.c:7665
  #11 0x0003a288 in Perl_newATTRSUB (my_perl=0x26a008, floor=37, o=0x289784, proto=0x0, attrs=0x0, 
      block=0x289738) at op.c:7338
  #12 0x000316f4 in Perl_utilize (my_perl=0x26a008, aver=1, floor=37, version=0x0, idop=0x2896fc, arg=0x0)
      at op.c:5126
  #13 0x000949a4 in Perl_yyparse (my_perl=0x26a008, gramtype=258) at perly.y:397
  #14 0x00017a1c in S_parse_body (my_perl=0x26a008, env=0x0, xsinit=0x4bf38 <xs_init>) at perl.c:2309
  #15 0x00016540 in perl_parse (my_perl=0x26a008, xsinit=0x4bf38 <xs_init>, argc=6, argv=0xffccdd14, 
      env=0x0) at perl.c:1626
  #16 0x0004be04 in main (argc=6, argv=0xffccdd14, env=0xffccdd30) at miniperlmain.c:111

Next step is to try unpatched 5.18.0 with and without -Dusethreads.
-- 
Niko Tyni   ntyni at debian.org




More information about the Perl-maintainers mailing list