From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 29 Dec 2004 21:48:27 +0300 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20041229184827.GA23141@solemn.turbinal.org> Mail-Followup-To: ALT Devel discussion list References: <20041229114403.GA3071@basalt.office.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline In-Reply-To: <20041229114403.GA3071@basalt.office.altlinux.org> Subject: [devel] PDL (was: Sisyphus 20041228 rebuild status) X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 18:49:29 -0000 Archived-At: List-Archive: List-Post: --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 29, 2004 at 02:44:03PM +0300, QA Team Robot wrote: > package perl-PDL-1:2.4.1-alt1 looks orphaned [12] (Alexey Tourbin). =F3 PDL =D7=D3=A3 =D3=D4=D2=C1=CE=CE=CF. =F3=CF=C2=C9=D2=C1=C0 =CE=CF=D7= =D5=C0 =D7=C5=D2=D3=C9=C0, =C9 =CB=C1=CB =D7=D3=C5=C7=C4=C1: =DB=C1=C7 =D7= =CC=C5=D7=CF, =DB=C1=C7 =D7=D0=D2=C1=D7=CF -- segmentation fault. =F0=D5=D3=D4=D8 =D0=CF=CB=C1 =C2= =D5=C4=C5=D4 =CB=C1=CB =C5=D3=D4=D8. =F0=CF=CB=C1 =CE=C5 =D0=D2=CF=D1=D3=CE=C9=D4=D3=D1... =CE=C1 =C4=CF=D3=CB=C5... :) ----- Forwarded message from Alexey Tourbin ----- Date: Wed, 29 Dec 2004 20:51:41 +0300 From: Alexey Tourbin Subject: PDL-2.4.2 and Test::More 0.53, segfaults To: Craig DeForest Cc: perldl-porters@jach.hawaii edu Message-ID: <20041229175141.GH7824@solemn.turbinal org> On Tue, Dec 28, 2004 at 12:56:13PM -0700, Craig DeForest wrote: > ... so have at it! =20 >=20 > If anyone wants to build a Windows binary dist, RPM, or whatever, have at= it:=20 > we can bind it into the the 2.4.2 release post facto. Release notes are= =20 > below. Hello, I noticed a few test failures under recent Test::More version from CPAN (recent perl release has an older and more tolerant version). In limits_keyspecs.t, undef no longer equals to an empty string: --- PDL-2.4.2/t/limits_keyspecs.t~ 2004-10-27 19:16:28 +0000 +++ PDL-2.4.2/t/limits_keyspecs.t 2004-12-29 16:22:50 +0000 @@ -48,13 +48,13 @@ my @good =3D ( =20 'x' =3D> { data =3D> 'x' }, =20 - '&' =3D> { trans =3D> '' }, + '&' =3D> { trans =3D> undef }, =20 undef() =3D> { }, =20 - '<>&' =3D> { errn =3D> '', - errp =3D> '', - trans =3D> '' }, + '<>&' =3D> { errn =3D> undef, + errp =3D> undef, + trans =3D> undef }, =20 '=3Ds' =3D> { errn =3D> 's', errp =3D> 's' }, End of diff With limits_normalize_dsets.t test failures, I discovered that comparing PDL objects against non-PDL objects can produce rather strange errors. Ultimately I managed to crash PDL (and Perl) with a very simple code snippet: --- PDL-2.4.2/t/segfault.t~ 2004-12-29 20:23:00 +0300 +++ PDL-2.4.2/t/segfault.t 2004-12-29 20:27:10 +0300 @@ -0,0 +1,7 @@ +use PDL; +use strict; + +my $x =3D pdl(1, 2); +my $y =3D bless \my $z, "ASDF"; +print "ok 1\n" if $x !=3D $y; + End of diff Here is what I get with PDL-2.4.1 installed on my system: $ perl PDL-2.4.2/t/segfault.t zsh: segmentation fault perl PDL-2.4.2/t/segfault.t $ Here is what I get with freshly built PDL-2.4.2: $ cd PDL-2.4.2 $ perl -Mblib t/segfault.t zsh: segmentation fault perl -Mblib t/segfault.t $ Please verify. > Cheers, > Craig --=20 Alexey Tourbin ALT Linux Team ----- End forwarded message ----- --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFB0vv7fBKgtDjnu0YRAo16AKCXs8eqhsTOJrYlfdsxpSKMlEJ/gACglwdf p5wig9O5MH2q4l7I+oBYCzA= =3Ouf -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV--