ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] PDL (was: Sisyphus 20041228 rebuild status)
Date: Wed, 29 Dec 2004 21:48:27 +0300
Message-ID: <20041229184827.GA23141@solemn.turbinal.org> (raw)
In-Reply-To: <20041229114403.GA3071@basalt.office.altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 2689 bytes --]

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).

С PDL всё странно.  Собираю новую версию, и как всегда: шаг влево, шаг
вправо -- segmentation fault.  Пусть пока будет как есть.  Пока не
прояснится... на доске... :)


----- Forwarded message from Alexey Tourbin <at@altlinux ru> -----

Date: Wed, 29 Dec 2004 20:51:41 +0300
From: Alexey Tourbin <at@altlinux ru>
Subject: PDL-2.4.2 and Test::More 0.53, segfaults
To: Craig DeForest <deforest@boulder.swri edu>
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!  
> 
> If anyone wants to build a Windows binary dist, RPM, or whatever, have at it: 
> we can bind it into the the 2.4.2 release post facto.  Release notes are 
> 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 = (
 
             'x'       => { data => 'x' },
 
-            '&'       => { trans => '' },
+            '&'       => { trans => undef },
 
             undef()   =>  { },
 
-            '<>&'     => { errn   => '',
-      		     errp   => '',
-      		     trans => '' },
+            '<>&'     => { errn   => undef,
+      		     errp   => undef,
+      		     trans => undef },
 
             '=s'  => { errn   => 's',
       	         errp   => '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 = pdl(1, 2);
+my $y = bless \my $z, "ASDF";
+print "ok 1\n" if $x != $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

-- 
Alexey Tourbin
ALT Linux Team


----- End forwarded message -----


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2004-12-29 18:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-29 11:44 [devel] I: Sisyphus 20041228 rebuild status QA Team Robot
2004-12-29 12:23 ` Andrey Rahmatullin
2004-12-29 18:00   ` [devel] " Alexey Tourbin
2004-12-29 18:48 ` Alexey Tourbin [this message]
2004-12-29 20:45   ` [devel] Re: PDL (was: Sisyphus 20041228 rebuild status) Alexey Tourbin
2004-12-29 22:03 ` [devel] libalsa-devel-static ! Anton D. Kachalov
2004-12-29 22:14   ` [devel] " Michael Shigorin
2004-12-30  6:30   ` [devel] " Anton Farygin
2004-12-30  8:39     ` [devel] Re: libalsa-devel-static =8-[ o ] Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041229184827.GA23141@solemn.turbinal.org \
    --to=at@altlinux.ru \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git