Skip Menu |
 

This queue is for tickets about the Math-Pari CPAN distribution.

Report information
The Basics
Id: 33959
Status: open
Priority: 0/
Queue: Math-Pari

People
Owner: Nobody in particular
Requestors: frank.wiegand [...] gmail.com
Cc:
AdminCc:

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



Subject: make test fails on 5.10
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 4894
Download (untitled) / with headers
text/plain 4.7k
I am using the patch provided at http://perlmonks.org/?node_id=672924 to get Math::Pari running on 5.10. On 5.10 (and blead, patchlevel 33445) Math::Pari fails its test suite strangely: $ /opt/perl-5.10.0/bin/perl5.10.0 Makefile.PL ... $ make ... $ make test cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-O2" PREFIX="/opt/perl-5.10.0" PASTHRU_DEFINE="" PASTHRU_INC="" make[1]: Entering directory `/home/fw/.cpan/build/Math-Pari-2.010709-ahtbDo/libPARI' make[1]: Leaving directory `/home/fw/.cpan/build/Math-Pari-2.010709-ahtbDo/libPARI' make[1]: Entering directory `/home/fw/.cpan/build/Math-Pari-2.010709-ahtbDo/libPARI' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/fw/.cpan/build/Math-Pari-2.010709-ahtbDo/libPARI' PERL_DL_NONLAZY=1 /opt/perl-5.10.0/bin/perl5.10.0 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00_Pari..........ok t/55_analyz........ok t/55_elliptic......ok t/55_graph.........# Can't locate Term/Gnuplot.pm in @INC, ignoring plotting t/55_graph.........ok t/55_linear........ok t/55_nfields.......1/161 PARI: *** Warning: insufficient precision for fundamental units, not given. t/55_nfields.......122/161 PARI: *** Warning: not a fundamental discriminant in quadclassunit. t/55_nfields.......ok t/55_number........ok t/55_objets........ All 62 subtests passed t/55_ploth.........# Can't locate Term/Gnuplot.pm in @INC, ignoring plotting t/55_ploth.........ok t/55_polyser.......ok t/55_program.......ok t/55_sumiter.......ok t/55_trans.........ok t/PlotRect.........# Can't locate Term/Gnuplot.pm in @INC, ignoring the test t/PlotRect.........skipped: Can't locate Term/Gnuplot.pm in @INC t/zz_leak..........ok Test Summary Report ------------------- Files=15, Tests=1245, 7 wallclock secs ( 0.26 usr 0.02 sys + 7.01 cusr 0.09 csys = 7.38 CPU) Result: FAIL Failed 1/15 test programs. 0/1245 subtests failed. make: *** [test_dynamic] Error 255 Please note that there are no failing subtests. I reduced the problem down to t/55_objets.t with the following pari-2.1.7/src/test/32/objets: realprecision = 38 significant digits echo = 1 (on) ? truncate(1.7,&e) 1 ? \p57 realprecision = 57 significant digits ? length(divisors(1000)) 16 ? \q Now we run the test by hand: $ PERL_DL_NONLAZY=1 /opt/perl-5.10.0/bin/perl5.10.0 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/55_objets.t t/55_objets...... All 3 subtests passed Test Summary Report ------------------- Files=1, Tests=3, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.05 cusr 0.00 csys = 0.06 CPU) Result: FAIL Failed 1/1 test programs. 0/3 subtests failed. I got the same behaviour using bleadperl (33445). Maybe it's not even a bug in Math::Pari. Some versions: Test::Harness (3.10) ExtUtils::MakeMaker (6.44) $ /opt/perl-5.10.0/bin/perl5.10.0 -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=linux, osvers=2.6.22-14-generic, archname=i686-linux uname='linux hal 2.6.22-14-generic #1 smp tue feb 12 07:42:25 utc 2008 i686 gnulinux ' config_args='-de -Dusedevel -Dprefix=/opt/perl-5.10.0/ -Dmad' hint=recommended, useposix=true, d_sigaction=define 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 ='-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)', 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 =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.6.1.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.6.1' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MAD PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO Built under linux Compiled at Mar 9 2008 09:08:23 @INC: /opt/perl-5.10.0/lib/5.10.0/i686-linux /opt/perl-5.10.0/lib/5.10.0 /opt/perl-5.10.0/lib/site_perl/5.10.0/i686-linux /opt/perl-5.10.0/lib/site_perl/5.10.0
X-Scanned-BY: MIMEDefang 2.63 on 169.229.58.57
CC: undisclosed-recipients: ;
MIME-Version: 1.0
X-Spam-Status: No, hits=-6.6 required=8.0 tests=BAYES_00,RCVD_IN_DNSWL_MED
In-Reply-To: <rt-3.6.HEAD-23179-1205159983-1675.33959-4-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-33959 [...] rt.cpan.org> <rt-3.6.HEAD-23179-1205159983-1675.33959-4-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: us-ascii
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 9454A4D804C for <bug-Math-Pari [...] rt.cpan.org>; Mon, 10 Mar 2008 16:05:32 -0400 (EDT)
Received: (qmail 11783 invoked from network); 10 Mar 2008 20:05:31 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 10 Mar 2008 20:05:31 -0000
Received: from mail.Math.Berkeley.EDU (HELO mail.math.berkeley.edu) (169.229.58.57) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Mon, 10 Mar 2008 13:05:24 -0700
Received: from powdermilk.math.berkeley.edu (IDENT:5930 [...] powdermilk.Math.Berkeley.EDU [169.229.140.13]) by mail.math.berkeley.edu (8.14.2/8.14.2) with ESMTP id m2AK4vEl003284 for <bug-Math-Pari [...] rt.cpan.org>; Mon, 10 Mar 2008 13:04:57 -0700 (PDT) (envelope-from ilya [...] mail.math.berkeley.edu)
Received: (from ilya [...] localhost) by powdermilk.math.berkeley.edu (8.13.8+Sun/8.12.10/Submit) id m2AK4sk9010456 for bug-Math-Pari [...] rt.cpan.org; Mon, 10 Mar 2008 13:04:54 -0700 (PDT)
Delivered-To: cpan-bug+Math-Pari [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #33959] make test fails on 5.10
User-Agent: mutt-ng/devel-r561 (SunOS)
Return-Path: <ilya [...] Math.Berkeley.EDU>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Math-Pari [...] rt.cpan.org
Date: Mon, 10 Mar 2008 13:04:54 -0700
X-Spam-Level: *
Message-Id: <20080310200454.GA10406 [...] powdermilk.math.berkeley.edu>
To: Frank Wiegand via RT <bug-Math-Pari [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-28619-1205179584-1327.33959-0-0 [...] rt.cpan.org>
Content-Length: 1210
Download (untitled) / with headers
text/plain 1.1k
On Mon, Mar 10, 2008 at 10:39:45AM -0400, Frank Wiegand via RT wrote: Show quoted text
> I am using the patch provided at http://perlmonks.org/?node_id=672924 to > get Math::Pari running on 5.10.
Well, nobody let me know... Show quoted text
> t/55_number........ok > t/55_objets........ All 62 subtests passed > t/55_ploth.........# Can't locate Term/Gnuplot.pm in @INC, ignoring plotting
Show quoted text
> Please note that there are no failing subtests. I reduced the problem > down to t/55_objets.t with the following pari-2.1.7/src/test/32/objets: > > realprecision = 38 significant digits > echo = 1 (on) > ? truncate(1.7,&e) > 1 > ? \p57 > realprecision = 57 significant digits > ? length(divisors(1000)) > 16 > ? \q > > > Now we run the test by hand: > > $ PERL_DL_NONLAZY=1 /opt/perl-5.10.0/bin/perl5.10.0 > "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', > 'blib/arch')" t/55_objets.t > t/55_objets...... All 3 subtests passed > > Test Summary Report > ------------------- > Files=1, Tests=3, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.05 cusr > 0.00 csys = 0.06 CPU) > Result: FAIL > Failed 1/1 test programs. 0/3 subtests failed.
You need to run perl -Mblib t/55_objets.t and cut&paste the results. Thanks, Ilya
MIME-Version: 1.0
X-Spam-Status: No, hits=-6.6 required=8.0 tests=BAYES_00,DK_SIGNED,PERLBUG_CONF,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-28619-1205179584-1327.33959-6-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-33959 [...] rt.cpan.org> <rt-3.6.HEAD-23179-1205159983-1675.33959-4-0 [...] rt.cpan.org> <20080310200454.GA10406 [...] powdermilk.math.berkeley.edu> <rt-3.6.HEAD-28619-1205179584-1327.33959-6-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: ISO-8859-1
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 24B824D8040 for <bug-Math-Pari [...] rt.cpan.org>; Tue, 11 Mar 2008 05:30:03 -0400 (EDT)
Received: (qmail 5749 invoked from network); 11 Mar 2008 09:30:01 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 11 Mar 2008 09:30:01 -0000
Received: from wx-out-0506.google.com (HELO wx-out-0506.google.com) (66.249.82.236) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Tue, 11 Mar 2008 02:29:56 -0700
Received: by wx-out-0506.google.com with SMTP id h29so2592708wxd.27 for <bug-Math-Pari [...] rt.cpan.org>; Tue, 11 Mar 2008 02:29:53 -0700 (PDT)
Received: by 10.150.198.14 with SMTP id v14mr3508403ybf.134.1205227793580; Tue, 11 Mar 2008 02:29:53 -0700 (PDT)
Received: by 10.150.148.12 with HTTP; Tue, 11 Mar 2008 02:29:53 -0700 (PDT)
Delivered-To: cpan-bug+Math-Pari [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #33959] make test fails on 5.10
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sRwfn3SJ3QebL/2NPzq5N/mQu/IT3CCdlMFRDRl7zXVs8PTnASQxbUZdnDntmEL+qvQiTF0bq1YNkBijO+ZzJhfsnloEytYu/cPBvwkr39jq2nTLJxr4SBSk5Eusd0sD6BlmRqSqwDEHfHzS1rdJ3vRRZIV0jln75PoL6MPJNV8=
Return-Path: <frank.wiegand [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=TutBsGGmH6YFm6HOtt2MhhJd9SYNeDl6c/ohFkDYZs4=; b=NH1m7yCusEpGLs3CVN0Y03GpYH3MUJoY7E6cP2ZjoZ5fB9tgPRy3KC96+oKHBurJXRXNCinp+shqqBI4YZlk9+NQjNIkPFXncPTKNVkMTnYVpEH4AyFH7uPhJ3+EnMlXd17vmFIn5JX/W/UfdT8tznCu9fHOGBYzgFByZcs+PvE=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Math-Pari [...] rt.cpan.org
Date: Tue, 11 Mar 2008 10:29:53 +0100
X-Spam-Level: *
Message-Id: <f55b0f380803110229q6f673c0by6514a543fd2e01d8 [...] mail.gmail.com>
To: bug-Math-Pari [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: "Frank Wiegand" <frank.wiegand [...] gmail.com>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-24365-1205227820-1826.33959-0-0 [...] rt.cpan.org>
Content-Length: 7811
Download (untitled) / with headers
text/plain 7.6k
Hi, 2008/3/10, Ilya Zakharevich via RT <bug-Math-Pari@rt.cpan.org>: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=33959 >
> > I am using the patch provided at http://perlmonks.org/?node_id=672924 to > > get Math::Pari running on 5.10.
> Well, nobody let me know... > You need to run > perl -Mblib t/55_objets.t
$ /opt/perl-5.10.0-debug/bin/perl5.10.0 -Mblib t/55_objets.t 1..62 # Setting precision to 38 digits. # eval: + PARI(3) ok 1 # eval: - PARI(5) ok 2 # eval: PARI(5) + PARI(3) ok 3 # eval: PARI(5) - PARI(3) ok 4 # eval: PARI(5) / PARI(3) ok 5 # eval: gdivent(5,3) ok 6 # eval: gdivround(5,3) ok 7 # eval: PARI(5) % PARI(3) ok 8 # eval: PARI(5) ** PARI(3) ok 9 # eval: binary(65537) ok 10 # eval: bittest( PARI(10) **100,100) ok 11 # eval: ceil(-2.5) ok 12 # eval: centerlift(Mod(456,555)) ok 13 # eval: component(1+ PARI('O(7^4)') ,3) ok 14 # eval: conj(1+ I) ok 15 # eval: conjvec(Mod($x**2+$x+1,$x**3-$x-1)) ok 16 # eval: truncate(1.7,$e) ok 17 # eval: $e ok 18 # eval: denominator( PARI(12345)/PARI(54321) ) ok 19 # eval: divrem(345,123) ok 20 # eval: divrem($x**7-1,$x**5+1) ok 21 # eval: floor(- PARI(1)/PARI(2) ) ok 22 # eval: floor(-2.5) ok 23 # eval: frac(-2.7) ok 24 # eval: I** PARI(2) ok 25 # eval: imag(2+3* I) ok 26 # eval: lex([1,3],[1,3,5]) ok 27 # eval: max(2,3) ok 28 # eval: min(2,3) ok 29 # eval: Mod(-12,7) ok 30 # eval: Mod(-12,7,1) ok 31 # `Mod(10873,49649)^-1' ok 32 # Skipping: test producing error unsupported yet (impossible inverse modulo: Mod(131, 49649).) # eval: norm(1+ I) ok 33 # eval: norm(Mod($x+5,$x**3+$x+1)) ok 34 # eval: numerator(($x+1)/($x-1)) ok 35 # eval: 1/(1+$x)+ PARI('O(x^20)') ok 36 # eval: numtoperm(7,1035) ok 37 # eval: permtonum([4,7,1,6,3,5,2]) ok 38 # eval: PARI(37.) ok 39 # eval: real(5-7* I) ok 40 # eval: $arat=($x**3+$x+1)/$x**3;type($arat,14) ok 41 # eval: &shift(1,50) ok 42 # eval: &shift([3,4,-11,-12],-2) ok 43 # eval: shiftmul([3,4,-11,-12],-2) ok 44 # eval: sign(-1) ok 45 # eval: sign(0) ok 46 # eval: sign(0.) ok 47 # eval: simplify((($x+ I+1)**2-$x**2-2*$x*( I+1))**2) ok 48 # eval: sizedigit([1.3* PARI(10) **5,2* I* Pi*exp(4* Pi)]) ok 49 # eval: truncate(-2.7) ok 50 # eval: truncate(sin($x**2)) ok 51 # eval: type(Mod($x,$x**2+1)) ok 52 # eval: valuation( PARI(6) **10000-1,5) ok 53 # eval-noans: setprecision(57) ok 54 # eval: Pi ok 55 # eval-noans: setprecision(38) ok 56 # eval: PARI('O(x^12)') ok 57 # eval: $padicno=( PARI(5)/PARI(3) )*127+ PARI('O(127^5)') ok 58 # eval: padicprec($padicno,127) ok 59 # eval: length(divisors(1000)) ok 60 # `getheap' ok 61 # Silently skipping: meaningless for Math::Pari # `print("Total time spent: ",gettime);' ok 62 # Silently skipping: meaningless for Math::Pari Segmentation fault (core dumped) $ gdb /opt/perl-5.10.0-debug/bin/perl5.10.0 core GNU gdb 6.6-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-linux-gnu"... Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". warning: Can't read pathname for load map: Input/output error. Reading symbols from /lib/tls/i686/cmov/libnsl.so.1...done. Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1 Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libdl.so.2 Reading symbols from /lib/tls/i686/cmov/libm.so.6...done. Loaded symbols for /lib/tls/i686/cmov/libm.so.6 Reading symbols from /lib/tls/i686/cmov/libcrypt.so.1...done. Loaded symbols for /lib/tls/i686/cmov/libcrypt.so.1 Reading symbols from /lib/tls/i686/cmov/libutil.so.1...done. Loaded symbols for /lib/tls/i686/cmov/libutil.so.1 Reading symbols from /lib/tls/i686/cmov/libc.so.6...done. Loaded symbols for /lib/tls/i686/cmov/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /opt/perl-5.10.0-debug/lib/5.10.0/i686-linux/auto/Cwd/Cwd.so...done. Loaded symbols for /opt/perl-5.10.0-debug/lib/5.10.0/i686-linux/auto/Cwd/Cwd.so Reading symbols from /home/fw/Download/pari/Math-Pari-2.010709-b/blib/arch/auto/Math/Pari/Pari.so...done. Loaded symbols for /home/fw/Download/pari/Math-Pari-2.010709-b/blib/arch/auto/Math/Pari/Pari.so Core was generated by `/opt/perl-5.10.0-debug/bin/perl5.10.0 -Mblib t/55_objets.t'. Program terminated with signal 11, Segmentation fault. #0 0xb7b09860 in brutcopy (x=0xb7a25898, y=0xb4dbe014) at ../pari-2.1.7/src/basemath/gen2.c:310 310 for (i=0; i<lontyp[tx]; i++) y[i] = x[i]; (gdb) bt #0 0xb7b09860 in brutcopy (x=0xb7a25898, y=0xb4dbe014) at ../pari-2.1.7/src/basemath/gen2.c:310 #1 0xb7b09e56 in gclone (x=0xb7a25898) at ../pari-2.1.7/src/basemath/gen2.c:323 #2 0xb7a4f331 in moveoffstack_newer_than (sv=0x8405a90) at Pari.xs:1240 #3 0xb7a5108e in XS_Math__Pari_DESTROY (cv=0x830c610) at Pari.xs:3832 #4 0x080ce14a in Perl_pp_entersub () at pp_hot.c:2847 #5 0x080c51e2 in Perl_call_sv (sv=0x830c610, flags=150) at perl.c:2646 #6 0x080ecb3a in Perl_sv_clear (sv=0x8405a90) at sv.c:5120 #7 0x080ed6fb in Perl_sv_free2 (sv=0x8405a90) at sv.c:5366 #8 0x080dae5b in S_visit (f=0x80eee90 <do_clean_objs>, flags=2048, mask=2048) at sv.c:387 #9 0x080daec1 in Perl_sv_clean_objs () at sv.c:495 #10 0x080cab0b in perl_destruct (my_perl=0x8250008) at perl.c:799 #11 0x080624bc in main (argc=3, argv=0xbfd81d04, env=0xbfd81d14) at perlmain.c:115 Since there was a core dump, I recompiled my perl with -DDEBUGGING set. $ /opt/perl-5.10.0-debug/bin/perl5.10.0 -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=linux, osvers=2.6.22-14-generic, archname=i686-linux uname='linux hal 2.6.22-14-generic #1 smp tue feb 12 07:42:25 utc 2008 i686 gnulinux ' config_args='-de -DEBUGGING=both -Dprefix=/opt/perl-5.10.0-debug' hint=recommended, useposix=true, d_sigaction=define 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 ='-DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -g', cppflags='-DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)', 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 =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.6.1.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.6.1' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO Built under linux Compiled at Mar 11 2008 08:11:27 @INC: /opt/perl-5.10.0-debug/lib/5.10.0/i686-linux /opt/perl-5.10.0-debug/lib/5.10.0 /opt/perl-5.10.0-debug/lib/site_perl/5.10.0/i686-linux /opt/perl-5.10.0-debug/lib/site_perl/5.10.0 Bye, Frank
X-Scanned-BY: MIMEDefang 2.63 on 169.229.58.57
MIME-Version: 1.0
X-Spam-Status: No, hits=-6.6 required=8.0 tests=BAYES_00,RCVD_IN_DNSWL_MED
In-Reply-To: <rt-3.6.HEAD-24365-1205227820-1826.33959-5-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-33959 [...] rt.cpan.org> <rt-3.6.HEAD-23179-1205159983-1675.33959-4-0 [...] rt.cpan.org> <20080310200454.GA10406 [...] powdermilk.math.berkeley.edu> <rt-3.6.HEAD-28619-1205179584-1327.33959-6-0 [...] rt.cpan.org> <f55b0f380803110229q6f673c0by6514a543fd2e01d8 [...] mail.gmail.com> <rt-3.6.HEAD-24365-1205227820-1826.33959-5-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: us-ascii
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id BD9894D80C3 for <bug-Math-Pari [...] rt.cpan.org>; Tue, 11 Mar 2008 23:40:18 -0400 (EDT)
Received: (qmail 17832 invoked from network); 12 Mar 2008 03:40:18 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 12 Mar 2008 03:40:18 -0000
Received: from mail.Math.Berkeley.EDU (HELO mail.math.berkeley.edu) (169.229.58.57) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Tue, 11 Mar 2008 20:40:15 -0700
Received: from powdermilk.math.berkeley.edu (IDENT:5930 [...] powdermilk.Math.Berkeley.EDU [169.229.140.13]) by mail.math.berkeley.edu (8.14.2/8.14.2) with ESMTP id m2C3e8if085377 for <bug-Math-Pari [...] rt.cpan.org>; Tue, 11 Mar 2008 20:40:08 -0700 (PDT) (envelope-from ilya [...] mail.math.berkeley.edu)
Received: (from ilya [...] localhost) by powdermilk.math.berkeley.edu (8.13.8+Sun/8.12.10/Submit) id m2C3e8Z4015348 for bug-Math-Pari [...] rt.cpan.org; Tue, 11 Mar 2008 20:40:08 -0700 (PDT)
Delivered-To: cpan-bug+Math-Pari [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #33959] make test fails on 5.10
User-Agent: mutt-ng/devel-r561 (SunOS)
Return-Path: <ilya [...] Math.Berkeley.EDU>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Math-Pari [...] rt.cpan.org
Date: Tue, 11 Mar 2008 20:40:07 -0700
X-Spam-Level: *
Message-Id: <20080312034007.GA15339 [...] powdermilk.math.berkeley.edu>
To: Frank Wiegand via RT <bug-Math-Pari [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-17487-1205293223-215.33959-0-0 [...] rt.cpan.org>
Content-Length: 1574
Download (untitled) / with headers
text/plain 1.5k
On Tue, Mar 11, 2008 at 05:30:24AM -0400, Frank Wiegand via RT wrote: Show quoted text
> ok 62 # Silently skipping: meaningless for Math::Pari > Segmentation fault (core dumped)
Aha, you better report it as a bug in the test suite. It used to report segmentation faults (and other abnormal exits) very explicitly before... Show quoted text
> Program terminated with signal 11, Segmentation fault. > #0 0xb7b09860 in brutcopy (x=0xb7a25898, y=0xb4dbe014) at > ../pari-2.1.7/src/basemath/gen2.c:310 > 310 for (i=0; i<lontyp[tx]; i++) y[i] = x[i]; > (gdb) bt > #0 0xb7b09860 in brutcopy (x=0xb7a25898, y=0xb4dbe014) at > ../pari-2.1.7/src/basemath/gen2.c:310 > #1 0xb7b09e56 in gclone (x=0xb7a25898) at ../pari-2.1.7/src/basemath/gen2.c:323 > #2 0xb7a4f331 in moveoffstack_newer_than (sv=0x8405a90) at Pari.xs:1240 > #3 0xb7a5108e in XS_Math__Pari_DESTROY (cv=0x830c610) at Pari.xs:3832 > #4 0x080ce14a in Perl_pp_entersub () at pp_hot.c:2847 > #5 0x080c51e2 in Perl_call_sv (sv=0x830c610, flags=150) at perl.c:2646 > #6 0x080ecb3a in Perl_sv_clear (sv=0x8405a90) at sv.c:5120 > #7 0x080ed6fb in Perl_sv_free2 (sv=0x8405a90) at sv.c:5366 > #8 0x080dae5b in S_visit (f=0x80eee90 <do_clean_objs>, flags=2048, > mask=2048) at sv.c:387 > #9 0x080daec1 in Perl_sv_clean_objs () at sv.c:495 > #10 0x080cab0b in perl_destruct (my_perl=0x8250008) at perl.c:799 > #11 0x080624bc in main (argc=3, argv=0xbfd81d04, env=0xbfd81d14) at > perlmain.c:115
That's really tricky. Garbage collection happening at the program exit; practically no means to debug... I will think about it, many thanks, Ilya


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.