#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.6
Component: packages | Resolution:
Keywords: zn_poly spkg cygwin osx | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-------------------------------------------+--------------------------------
Comment (by leif):
Replying to [comment:13 jpflori]:
> Could you give it a shot by only testing the MPIR part and disabling the
comparison in the test code?
> And do the same with zn_poly code only?
???
It's just the comparison that fails (or, more precisely, the tests make
the "success" depend on the comparison only); no segfaults, no failed
assertions.
I removed the "exit on first failure" and got 5 failures (from the
"extensive" `nuss_mul()` test; all other tests passed, as mentioned).
> So if it's really a bug in MPIR, or calling a function on invalid (let's
say really too small) parameters we'll be settled.
Well, since the failure depends on '''zn_poly's thresholds''' (for
''zn_poly's'' functions), it's IMHO clearly in zn_poly, not MPIR. (Unless
zn_poly was right only with the "failing" tuning parameters, and
incidentally MPIR [2.4.0 and 2.6.0] and zn_poly would give the same wrong
results otherwise. Or am I missing something?)
There are still random numbers involved though, so the tests may pass or
fail under different circumstances.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13947#comment:14>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.