test suite problems



On 05/13/2011 05:45 PM, Paul Bowyer wrote:
> Hello again list:
>
> Thinking that I might have a problem with sbcl-1.0.29, I downloaded 
> and installed sbcl-1.0.48 and then rebuilt my copy of Maxima-5.23.2 
> using the new sbcl.
>
> My configuration for the build was:
> export GCL_ANSI=y CFLAGS="-O2 -g -march=i386 -mcpu=pentium4 
> -fno-fast-math" CXXFLAGS="-O2 -g -march=i386 -mcpu=pentium4 
> -fno-fast-math" && ./configure --prefix=$HOME/Maxima-5.23.2/MaximaTest 
> --enable-sbcl --enable-cmucl --enable-ccl --enable-gcl 
> --with-sbcl=/usr/local/bin/sbcl --with-cmucl=/opt/cmucl-20c/bin/lisp 
> --with-ccl=/usr/local/bin/ccl --with-gcl=/usr/bin/gcl
>
> which completed properly and then I did the normal
> make
>
> followed by
> make install
>
> I ran the maxima-5.23.2 test suite using the menu option from within 
> xmaxima and got the following:
> --------------------------------------------------------------------------------------------------------------------------------------------- 
>
> Error summary:
> Error found in 
> /home/pfb/Maxima-5.23.2/MaximaTest/share/maxima/5.23.2/tests/rtest16.mac, 
> problem:
> (385)
> 1 test failed out of 8,720 total tests.
> Evaluation took:
>   404.704 seconds of real time
>   398.842366 seconds of total run time (394.044096 user, 4.798270 system)
>   [ Run times consist of 8.588 seconds GC time, and 390.255 seconds 
> non-GC time. ]
>   98.55% CPU
>   12,657 forms interpreted
>   8,626 lambdas converted
>   1,294,474,378,216 processor cycles
>   140 page faults
>   15,094,744,152 bytes consed
>
> Additional output from certain tests:
> Running tests in rtest14:
> STYLE-WARNING: redefining MAXIMA::SIMP-UNIT-STEP in DEFUN
> STYLE-WARNING: redefining MAXIMA::SIMP-POCHHAMMER in DEFUN
> STYLE-WARNING: redefining MAXIMA::SIMP-HYPERGEOMETRIC in DEFUN
> STYLE-WARNING: redefining MAXIMA::FLOAT-OR-RATIONAL-P in DEFUN
> 358/358 tests passed
>
> Running tests in rtest15:
> STYLE-WARNING: redefining MAXIMA::$F in DEFUN
> STYLE-WARNING: redefining MAXIMA::$F in DEFUN
> STYLE-WARNING: redefining MAXIMA::$F in DEFUN
> STYLE-WARNING: redefining MAXIMA::$F in DEFUN
> STYLE-WARNING: redefining MAXIMA::$F in DEFUN
> STYLE-WARNING: redefining MAXIMA::$F in DEFUN
> STYLE-WARNING: redefining MAXIMA::$F in DEFUN
> 252/252 tests passed
>
> Running tests in rtest16:
> ********************** Problem 385 ***************
> Input:
> closeto(zeta(%i + 3) - (1.10721440843141 - .1482908671781754 %i), 1.e-15)
>
>
> Result:
> 3.3157171161039706e-9
>
> This differed from the expected result:
> true
> ; in: DEFUN LB1
> ;     (PROG ((I 0))
> ;       (DECLARE (TYPE (INTEGER) I))
> ;       (COND
> ;        ((= ITER 0)
> ;         (F2CL-LIB:FFORMAT MP
> ;                           
> ("*************************************************"
> ;                            "~%"))
> ;         (F2CL-LIB:FFORMAT MP
> ;                           ("  N=" 1 # "   NUMBER OF CORRECTIONS=" 1 
> # "~%"
> ;                            "       INITIAL VALUES" "~%")
> ;                           N M)
> ;         (F2CL-LIB:FFORMAT MP (" F= " 1 # "   GNORM= " 1 # "~%") F 
> GNORM)
> ;         (COND (# # # # #))
> ;         (F2CL-LIB:FFORMAT MP
> ;                           
> ("*************************************************"
> ;                            "~%"))
> ;         (F2CL-LIB:FFORMAT MP
> ;                           ("~%" "   I  NFN" "~5 at T" "FUNC" "~20 at T" 
> "GNORM" "~19 at T"
> ;                            "STEPLENGTH" "~%" "~%")))
> ;        (T
> ;         (IF (AND # #)
> ;             (GO END_LABEL))
> ;         (COND (# #) (T # #)) (COND (# # # #))
> ;         (IF FINISH
> ;             (F2CL-LIB:FFORMAT MP #))))
> ;       (GO END_LABEL)
> ;      END_LABEL
> ;       (RETURN (VALUES NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL)))
> ; --> BLOCK
> ; ==>
> ;   (LET ((I 0))
> ;     (DECLARE (TYPE (INTEGER) I))
> ;     (TAGBODY
> ;       (COND
> ;        ((= ITER 0) (F2CL-LIB:FFORMAT MP #) (F2CL-LIB:FFORMAT MP # N M)
> ;         (F2CL-LIB:FFORMAT MP # F GNORM) (COND #) (F2CL-LIB:FFORMAT 
> MP #)
> ;         (F2CL-LIB:FFORMAT MP #))
> ;        (T
> ;         (IF #
> ;             #)
> ;         (COND # #) (COND #)
> ;         (IF FINISH
> ;             #)))
> ;       (GO END_LABEL)
> ;      END_LABEL
> ;       (RETURN (VALUES NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL))))
> ;
> ; caught STYLE-WARNING:
> ;   The variable I is defined but never used.
> ;
> ; compilation unit finished
> ;   caught 1 STYLE-WARNING condition
>
> 485/486 tests passed
>
> The following 1 problem failed: (385)
> --------------------------------------------------------------------------------------------------------------------------------------------- 
>
> (%i1) build_info ();
> Maxima version: 5.23.2
> Maxima build date: 13:58 5/13/2011
> Host type: i686-pc-linux-gnu
> Lisp implementation type: SBCL
> Lisp implementation version: 1.0.48
> --------------------------------------------------------------------------------------------------------------------------------------------- 
>
>
> Am I doing something incorrectly in my build process that causes the 
> failure in the test suite when using sbcl?
> I got a similar error for maxima-5.24post when using sbcl-1.0.29 (see 
> message [Maxima]  5-24post tests ).
>
> When I run the test suite for maxima-5.23.2 using gcl Version 
> GCL-2.6.8pre, I get no errors.
>
> When I try running the test suite for maxima-5.24post using gcl 
> Version GCL-2.6.8pre, it runs to completion if I run it from the menu 
> in xmaxima, but if I run it using "run_testsuite(display_all = true);" 
> from within xmaxima or from a KDE Konsole session where I've run 
> "./maxima" with the appropriate path settings, it halts at test 55 of 
> rtest2 with a Segmentation fault.
>
> What's the likely cause of that problem and why should there be so 
> much difference between maxima-5.23.2 and Maxima-5.24post?
>
> Thanks,
>
> Paul Bowyer
>
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>

Another test suite run using:
Maxima 5-24post with cmucl Version CMU Common Lisp Snapshot 2011-02 (20B 
Unicode)
--------------------------------------------------------------------------------------------------------------------------------------------------------
Error summary:
Error found in rtest2, problem:
(error break)
0 tests failed out of 8,768 total tests.

; Evaluation took:
;   382.47f0 seconds of real time
;   341.907f0 seconds of user run time
;   33.431915f0 seconds of system run time
;   1,223,376,844,544 CPU cycles
;   [Run times include 27.25f0 seconds GC run time]
;   99 page faults and
;   19,129,943,776 bytes consed.
;

(%i1) build_info ();
Maxima version: 5.24post
Maxima build date: 12:3 5/11/2011
Host type: i686-pc-linux-gnu
Lisp implementation type: CMU Common Lisp
Lisp implementation version: Snapshot 2011-02 (20B Unicode)

Additional information copied from the test results:

********************** Problem 55 ***************
Input:

Caused an error break: rtest2
--------------------------------------------------------------------------------------------------------------------------------------------------------

I think this is the same test that causes maxima-5.24post using 
GCL-2.6.8pre to exit with a Segmentation fault.

Paul Bowyer