[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Axiom-developer] Re: problem plotting simple functions
From: |
Bill Page |
Subject: |
RE: [Axiom-developer] Re: problem plotting simple functions |
Date: |
Sun, 3 Jun 2007 18:05:34 -0400 |
On June 3, 2007 3:15 PM Waldek Hebisch wrote:
>
> Bill Page wrote:
> > After building Axiom from a recent version of wh-sandbox
> > (revision 580) I get the following error. The first draw
> > command works fine but simpler examples fail:
> >
> > (1) -> draw(sin(x*y),x=-5..5,y=-5..5)
> > Compiling function %H with type (DoubleFloat,DoubleFloat) ->
> > DoubleFloat
> > Transmitting data...
> >
> > (1) ThreeDimensionalViewport: "sin x*y"
> > Type:
> > ThreeDimensionalViewport
> > (2) -> draw(sin(x),x=-5..5)
> > Compiling function %J with type DoubleFloat -> DoubleFloat
> >
> > >> Error detected within library code:
> > Not an integer
> >
>
> I can not reporduce this in my developement version (slightly
> different that revision 580). Could you try your example enabling
> Lisp debugger:
>
> )lisp (si::use-fast-links nil)
> )set break break
>
> Then try the drawing commands. Insted of message you should see
>
> BOOT>>
>
> prompt. Type :bt at the prompt. Do this in a terminal which
> has at least few hundreds lines of scrollback or use utility like
> script to capture output. You should see the chain of calls
> which resulted in error -- this should indicate in which function
> the error happended and how we got there.
>
> To get out of debugger type '(quit)' -- that is call Lisp function
> quit.
>
Thanks.
Here's the debugger ouput.
-bash-3.00$ axiom
GCL (GNU Common Lisp) 2.6.8 CLtL1 Apr 7 2007 01:22:27
Source License: LGPL(gcl,gmp), GPL(unexec,bfd,xgcl)
Binary License: GPL due to GPL'ed components: (XGCL BFD UNEXEC)
Modifications of this banner must retain notice of a compatible license
Dedicated to the memory of W. Schelter
Use (help) to get some basic information on how to use GCL.
Temporary directory for compiler files set to /tmp/
AXIOM Computer Algebra System
Version: Axiom wh-sandbox branch 2007-05-31
Timestamp: Saturday June 2, 2007 at 14:14:18
----------------------------------------------------------------------------
-
Issue )copyright to view copyright notices.
Issue )summary for a summary of useful system commands.
Issue )quit to leave AXIOM and return to shell.
----------------------------------------------------------------------------
-
(1) ->
(1) -> )lisp (si::use-fast-links nil)
)set break break
Value = NIL
(1) -> (1) -> draw(sin,-5.0..5.0)
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/FLOAT.o
for domain Float
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/SEG.o
for domain Segment
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/DFLOAT.o
for domain DoubleFloat
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/DRAWCFUN.o
for package TopLevelDrawFunctionsForCompiledFunctions
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/PLOT.o
for domain Plot
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/POINT.o
for domain Point
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/FPS-.o
for domain FloatingPointSystem&
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/RNS-.o
for domain RealNumberSystem&
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/DROPT0.o
for package DrawOptionFunctions0
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/DROPT1.o
for package DrawOptionFunctions1
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/DROPT.o
for domain DrawOption
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/ANY.o
for domain Any
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/SEX.o
for domain SExpression
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/PTPACK.o
for package PointPackage
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/TRANFUN-.o
for domain TranscendentalFunctionCategory&
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/ELEMFUN-.o
for domain ElementaryFunctionCategory&
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/HYPCAT-.o
for domain HyperbolicFunctionCategory&
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/ATRIG-.o
for domain ArcTrigonometricFunctionCategory&
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/TRIGCAT-.o
for domain TrigonometricFunctionCategory&
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/RADCAT-.o
for domain RadicalCategory&
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/BASTYPE-.o
for domain BasicType&
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/VECTCAT-.o
for domain VectorCategory&
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/GRDEF.o
for package GraphicsDefaults
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/CLIP.o
for package TwoDimensionalPlotClipping
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/LIST2.o
for package ListFunctions2
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/FLAGG2.o
for package FiniteLinearAggregateFunctions2
Loading
/export/home0/wspage/wh-test/target/i386-pc-solaris2.10/algebra/SEG2.o
for package SegmentFunctions2
>> Error detected within library code:
Not an integer
Break.
Broken at SYSTEM::BREAK-LEVEL. Type :H for Help.
BOOT>>:bt
#0 BREAK {loc0=nil,loc1=nil,loc2=#<synonym stream to *terminal-io*>,loc3="
",loc4=nil,loc...} [ihs=41]
#1 handleLispBreakLoop {loc0=|break|,loc1=nil,loc2=((arg (nil))),loc3=nil}
[ihs=40]
#2 errorSupervisor1 {loc0=|AlgebraError|,loc1="Not an
integer",loc2=|break|,loc3="Error detected wit...} [ihs=39]
#3 errorSupervisor {loc0=|AlgebraError|,loc1="Not an integer"} [ihs=38]
#4 error {loc0="Not an integer"} [ihs=37]
#5 DFLOAT;manexp {loc0=-5.0,loc1=#<vector 08e83560>,loc2=((|Integer|)
$),loc3=#<vector 08e83560>,...} [ihs=36]
#6 newGoGet {g104406=(-5.0 (#<vector 08e83ae0> 293 .
|mantissa|)),loc1=#<compiled-function |...} [ihs=35]
#7 newGoGet {g104406=(-5.0 (#<vector 08e83560> 63 .
|convert|)),loc1=#<compiled-function |FL...} [ihs=34]
#8 newGoGet {g104406=(-5.0 (#<vector 08e832c0> 162 .
|convert|)),loc1=#<compiled-function |D...} [ihs=33]
#9 newGoGet {g104406=((#<compiled-function |DRAWCFUN;drawPlot!0|> .
#<vector 08e832c0>) #<ve...} [ihs=32]
#10 DRAWCFUN;drawPlot {loc0=#<vector 0903d620>,loc1=nil,loc2=#<vector
08e832c0>} [ihs=31]
#11 DRAWCFUN;draw;MSTdv;7 {loc0=(#<compiled-function |DFLOAT;sin;2$;39|> .
#<vector 08e83560>),loc1=#<vect...} [ihs=30]
#12 FUNCALL {loc0=#<compiled-function
|DRAWCFUN;draw;MSTdv;7|>,loc1=(#<compiled-function |DF...} [ihs=29]
#13 FUNCALL {loc0=#<compiled-function
|DRAWCFUN;draw;MSTdv;7|>,loc1=(#<compiled-function |DF...} [ihs=28]
#14 EVAL {loc0=nil,loc1=nil,loc2=nil,loc3=(let ((#0=#:g1428 #)) (the
(values t) (funcall ...} [ihs=25]
#15 timedEvaluate {code=(spadcall (quote (#<compiled-function
|DFLOAT;sin;2$;39|> . #<vector 08e83...} [ihs=24]
#16 timedEVALFUN {loc0=(spadcall (quote (#<compiled-function
|DFLOAT;sin;2$;39|> . #<vector 08e83...} [ihs=23]
#17 evalFormMkValue {loc0=#<vector 08e836a0>,loc1=(spadcall (quote
(#<compiled-function |DFLOAT;sin;...} [ihs=22]
#18 evalForm {loc0=#<vector 08e836a0>,loc1=|draw|,loc2=(#<vector 08e836c0>
(#<vector 08e83780...} [ihs=21]
#19 bottomUpForm2 {loc0=(#<vector 08e836a0> #<vector 08e836c0> (#<vector
08e83780> (#<vector 08e83...} [ihs=20]
#20 bottomUpForm3 {loc0=(#<vector 08e836a0> #<vector 08e836c0> (#<vector
08e83780> (#<vector 08e83...} [ihs=19]
#21 bottomUpForm {loc0=(#<vector 08e836a0> #<vector 08e836c0> (#<vector
08e83780> (#<vector 08e83...} [ihs=18]
#22 bottomUp {loc0=(#<vector 08e836a0> #<vector 08e836c0> (#<vector
08e83780> (#<vector 08e83...} [ihs=17]
#23 interpret1 {loc0=(|draw| |sin| (segment (- #) (# 5 0
...))),loc1=nil,loc2=(|Application| ((...} [ihs=16]
#24 interpret {g104636=(|draw| |sin| (segment (- #) (# 5 0
...))),loc1=(|Application| ((|id| #...} [ihs=15]
#25 interpretTopLevel {loc0=(|draw| |sin| (segment (- #) (# 5 0
...))),loc1=(|Application| ((|id| #) ....} [ihs=14]
#26 processInteractive1 {loc0=(|draw| |sin| (segment (- #) (# 5 0
...))),loc1=(|Application| ((|id| #) ....} [ihs=13]
#27 processInteractive {loc0=(|draw| |sin| (segment (- #) (# 5 0
...))),loc1=(|Application| ((|id| #) ....} [ihs=12]
#28 intInterpretPform {loc0=(|Application| ((|id| #) . |draw|) (|Tuple|
(|listOf| # #)))} [ihs=11]
#29 ncConversationPhase {fn=#<compiled-function
|phInterpret|>,args=(((|carrier| # # ...))),loc2=(((# . ...} [ihs=10]
#30 intloopSpadProcess,interp {loc0=((|carrier| (|ok?| . t)
(|ptreePremacro| . #0=(|Application| # #)) ...)),l...} [ihs=9]
#31 intloopSpadProcess {loc0=1,loc1=(((# . 1) .
"draw(sin,-5.0..5.0)")),loc2=(|Application| ((|id| #) ....} [ihs=8]
#32 intloopProcess {loc0=1,loc1=t,loc2=(((#) (|Application| # #))
|nonnullstream| #<compiled-functi...} [ihs=7]
#33 intloopProcessString {loc0="draw(sin,-5.0..5.0)",loc1=1} [ihs=6]
#34 TOP-LEVEL {} [ihs=5]
#35 FUNCALL {loc0=#<compiled-function
system:top-level>,loc1=nil,loc2=0,loc3=0,loc4=nil,loc5...} [ihs=4]
NIL
BOOT>>(quit)
-bash-3.00$
--------
Regards,
Bill Page.