#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:7 leif]:
 > Replying to [comment:6 leif]:
 > > Replying to [comment:4 jdemeyer]:
 > > > I also reproduced it on bsd.math.
 > >
 > > How?  I tried hard yesterday, but didn't manage.
 >
 > Hmmm, I probably forgot to run `make test` (which rebuilds `test/test`
 with a ''debug version'' of `src/tuning.c`) in addition to `make` (which
 apparently just rebuilds the static library, not used by `test`; IMHO a
 flaw in the Makefiles).
 >
 > But still, I cannot reproduce the failure with John's parameters.

 Ooops, not true.  In the last attempt, I missed that `nuss_mul()` failed,
 but only when tested "extensively":

 {{{
 (sage-sh) leif@bsd:src$ test/test -quick all
 mpn_smp_basecase()... ok
 mpn_smp_kara()... ok
 mpn_smp()... ok
 mpn_mulmid()... ok
 zn_array_recover_reduce()... ok
 zn_array_pack()... ok
 zn_array_unpack()... ok
 zn_array_mul_KS1()... ok
 zn_array_mul_KS2()... ok
 zn_array_mul_KS3()... ok
 zn_array_mul_KS4()... ok
 zn_array_sqr_KS1()... ok
 zn_array_sqr_KS2()... ok
 zn_array_sqr_KS3()... ok
 zn_array_sqr_KS4()... ok
 zn_array_mulmid_KS1()... ok
 zn_array_mulmid_KS2()... ok
 zn_array_mulmid_KS3()... ok
 zn_array_mulmid_KS4()... ok
 nuss_mul()... ok
 pmfvec_fft_dc()... ok
 pmfvec_fft_huge()... ok
 pmfvec_ifft_dc()... ok
 pmfvec_ifft_huge()... ok
 pmfvec_tpfft_dc()... ok
 pmfvec_tpfft_huge()... ok
 pmfvec_tpifft_dc()... ok
 pmfvec_tpifft_huge()... ok
 zn_array_mul_fft()... ok
 zn_array_sqr_fft()... ok
 zn_array_mulmid_fft()... ok
 zn_array_mul_fft_dft()... ok
 zn_array_invert()... ok

 All tests passed.
 (sage-sh) leif@bsd:src$ time test/test all
 mpn_smp_basecase()... ok
 mpn_smp_kara()... ok
 mpn_smp()... ok
 mpn_mulmid()... ok
 zn_array_recover_reduce()... ok
 zn_array_pack()... ok
 zn_array_unpack()... ok
 zn_array_mul_KS1()... ok
 zn_array_mul_KS2()... ok
 zn_array_mul_KS3()... ok
 zn_array_mul_KS4()... ok
 zn_array_sqr_KS1()... ok
 zn_array_sqr_KS2()... ok
 zn_array_sqr_KS3()... ok
 zn_array_sqr_KS4()... ok
 zn_array_mulmid_KS1()... ok
 zn_array_mulmid_KS2()... ok
 zn_array_mulmid_KS3()... ok
 zn_array_mulmid_KS4()... ok
 nuss_mul()... FAIL!

 At least one test FAILED!
 }}}

 Presumably because those tests take a pretty long time... ;-)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13947#comment:8>
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.

Reply via email to