#13947: zn_poly segfaults during tuning and tests on OS X and Cygwin when built
on
a busy system
---------------------------------------------------------+------------------
Reporter: jpflori | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone:
sage-5.10
Component: packages: standard | Resolution:
Keywords: zn_poly spkg cygwin osx nuss_mul fail | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
---------------------------------------------------------+------------------
Comment (by leif):
Ok, I've created a quick-and-dirty spkg just for testing your patch:
{{{
#!diff
--- src/test/nuss-test.c 2008-09-19 17:37:47.000000000 +0200
+++ src/test/nuss-test.c 2013-05-24 08:53:44.133597843 +0200
@@ -55,7 +55,7 @@
// compare target implementation against reference implementation
ref_zn_array_negamul (ref, buf1, buf2, n, mod);
nuss_mul (res, buf1, buf2, vec1, vec2);
- ulong x = nuss_mul_fudge (lgL, 0, mod);
+ ulong x = nuss_mul_fudge (lgL, sqr, mod);
ref_zn_array_scalar_mul (res, res, n, x, mod);
int success = !zn_array_cmp (ref, res, n);
}}}
http://boxen.math.washington.edu/home/leif/Sage/spkgs/zn_poly-0.9.p11-testing.spkg
(No update of `SPKG.txt`, nothing committed.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13947#comment:35>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.