[libmath-prime-util-perl] 03/05: Don't use Math::BigInt::Pari for threading tests. Math::Pari + threads = bad juju
Partha P. Mukherjee
ppm-guest at moszumanska.debian.org
Thu May 21 18:52:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
ppm-guest pushed a commit to annotated tag v0.39
in repository libmath-prime-util-perl.
commit ab1d4d18cbb020e2be7a448da052ec9f139bcc33
Author: Dana Jacobsen <dana at acm.org>
Date: Sat Mar 1 19:11:56 2014 -0800
Don't use Math::BigInt::Pari for threading tests. Math::Pari + threads = bad juju
---
Changes | 6 +++++-
t/31-threading.t | 2 ++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/Changes b/Changes
index 09d9ff4..676eeb9 100644
--- a/Changes
+++ b/Changes
@@ -2,7 +2,11 @@ Revision history for Perl module Math::Prime::Util
0.39 2014-03-01
- - Changed logl to log in AKS.
+ - Changed logl to log in AKS. Critical for FreeBSD and NetBSD.
+
+ - Make sure we don't use Math::BigInt::Pari in threading tests.
+ threads + Math::Pari = segfault on UNIX and Windows.
+
0.38 2014-02-28
diff --git a/t/31-threading.t b/t/31-threading.t
index 6cbb1ac..ec57302 100644
--- a/t/31-threading.t
+++ b/t/31-threading.t
@@ -15,6 +15,8 @@ BEGIN {
}
}
+# Math::Pari + threads = crossing the streams. Instant segfault.
+use Math::BigInt lib=>"Calc";
use Test::More 'tests' => 10;
use Math::Prime::Util ":all";
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-prime-util-perl.git
More information about the Pkg-perl-cvs-commits
mailing list