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

Re: [perl #55466] Panic in regex processing (unknown regstclass 0)

Thread Previous
From:
demerphq
Date:
July 10, 2008 16:03
Subject:
Re: [perl #55466] Panic in regex processing (unknown regstclass 0)
Message ID:
9b18b3110807101603k374cb371tbf6860a49b017e14@mail.gmail.com
2008/6/8 via RT drl @ mailhost3. vuse. vanderbilt. edu
<perlbug-followup@perl.org>:
> # New Ticket Created by  drl@mailhost3.vuse.vanderbilt.edu
> # Please include the string:  [perl #55466]
> # in the subject line of all future correspondence about this issue.
> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=55466 >
>
>
>
> This is a bug report for perl from drl@mailhost3.vuse.vanderbilt.edu,
> generated with the help of perlbug 1.36 running under perl 5.10.0.
>
>
> -----------------------------------------------------------------
> [Please enter your report here]
>
> I'm attempting to build SpamAssassin.  I have built perl v5.10.0
> (including running its tests) and installed it.  I have run
> CPAN to initialize it and exited.  I have re-run CPAN to install
> Bundle::CPAN and exited.  I have then tried to install the SpamAssassin
> dependencies in the order specified in
>
> http://svn.apache.org/repos/asf/spamassassin/branches/3.2/INSTALL
>
> I installed and tested Digest::SHA1 and HTML::Parser without issue.
>
> In attempting to install Net::DNS, two dependencies are found,
> Digest::HMAC_MD5 and Net::IP.  I installed and tested Digest::HMAC_MD5
> without any problem but when I attempted to install/test Net::IP, I
> got a panic in the perl interpreter.  The panic is triggerred at
> line 1450 of IP.pm but the RE on that line looks good to me.
>
> Hopefully the following will be of use:
>
>
> Running make for M/MA/MANU/Net-IP-1.25.tar.gz
>  LWP not available
>
> Trying with "/opt/sfw/bin/curl -L -f -s -S --netrc-optional" to get
>    http://www.ibiblio.org/pub/mirrors/CPAN/authors/id/M/MA/MANU/Net-IP-1.25.tar.gz
>  LWP not available
>
> Trying with "/opt/sfw/bin/curl -L -f -s -S --netrc-optional" to get
>    http://www.ibiblio.org/pub/mirrors/CPAN/authors/id/M/MA/MANU/CHECKSUMS
> Checksum for /tmp/.cpan/sources/authors/id/M/MA/MANU/Net-IP-1.25.tar.gz ok
> x Net-IP-1.25, 0 bytes, 0 tape blocks
> x Net-IP-1.25/iptab, 888 bytes, 2 tape blocks
> x Net-IP-1.25/META.yml, 288 bytes, 1 tape blocks
> x Net-IP-1.25/IP.pm, 66060 bytes, 130 tape blocks
> x Net-IP-1.25/COPYING, 1851 bytes, 4 tape blocks
> x Net-IP-1.25/Changes, 2518 bytes, 5 tape blocks
> x Net-IP-1.25/t, 0 bytes, 0 tape blocks
> x Net-IP-1.25/t/ExtUtils, 0 bytes, 0 tape blocks
> x Net-IP-1.25/t/ExtUtils/TBone.pm, 10824 bytes, 22 tape blocks
> x Net-IP-1.25/t/ipv4.t, 2497 bytes, 5 tape blocks
> x Net-IP-1.25/t/ipv6.t, 2215 bytes, 5 tape blocks
> x Net-IP-1.25/ipcount, 3628 bytes, 8 tape blocks
> x Net-IP-1.25/MANIFEST, 197 bytes, 1 tape blocks
> x Net-IP-1.25/Net-IP.spec.PL, 760 bytes, 2 tape blocks
> x Net-IP-1.25/README, 839 bytes, 2 tape blocks
> x Net-IP-1.25/Makefile.PL, 1048 bytes, 3 tape blocks
>
>  CPAN.pm: Going to build M/MA/MANU/Net-IP-1.25.tar.gz
>
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Net::IP
> cp IP.pm blib/lib/Net/IP.pm
> cp ipcount blib/script/ipcount
> /tmp/perl-v5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/ipcount
> cp iptab blib/script/iptab
> /tmp/perl-v5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/iptab
> Manifying blib/man3/Net::IP.3
> /tmp/perl-v5.10.0/bin/perl "-Iblib/arch" "-Iblib/lib" Net-IP.spec.PL Net-IP.spec
>  MANU/Net-IP-1.25.tar.gz
>  /usr/ccs/bin/make -- OK
> Running make test
> PERL_DL_NONLAZY=1 /tmp/perl-v5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/ipv4......t/ipv4......1/27                    t/ipv4......ok
> t/ipv6......panic: unknown regstclass 0 at /tmp/.cpan/build/Net-IP-1.25-wiSM5d/blib/lib/Net/IP.pm line 1450.
> t/ipv6......1/21                    t/ipv6...... Dubious, test returned 255 (wstat 65280, 0xff00)
>  Failed 5/21 subtests

If you can reduce this to a pattern that i can work with i will at
least /try/ to fix it. But i dont have time to extract it from this
code.  I wish i did, and sorry i dont.

Yves



-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About