Plotting difference Win-XP vs. Linux



Hi Andrej,
  For some reason, on the same machine when things worked well
  yesterday, the plot.lisp.patch is causing problems.

----------------------------------------------
(%i1) plot2d(sin(x),[x,0,6]);

Maxima encountered a Lisp error:

  Error in PROGN [or a callee]: Caught fatal error [memory may be
  damaged]

Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
Segmentation fault

------------------------------------------------
reverting back to the unpatched plot.lisp removes the problem

This is with the following build_info()

------------------------------------------------------------
(%i1) build_info();

Maxima version: 5.10.0
Maxima build date: 23:13 11/30/2006
host type: i686-pc-linux-gnu
lisp-implementation-type: GNU Common Lisp (GCL)
lisp-implementation-version: GCL 2.6.7
-------------------------------------------------------------

Any ideas?

-sen



On Thu, 30 Nov 2006, Andrej Vodopivec wrote:

> On 11/30/06, Robert Dodier <robert.dodier at gmail.com> wrote:
>> On 11/30/06, Andrej Vodopivec <andrej.vodopivec at gmail.com> wrote:
>>
>>> This is because maxima does not use pipes to communicate with gnuplot.
>>> I wrote a patch for plot.lisp which fixes this
>>> (http://article.gmane.org/gmane.comp.mathematics.maxima.general/12271/)
>>
>> Makes sense to me -- please commit the patch.
>>
>>> but there was no reply from the list and I stopped working on it.
>>
>> Sorry that I didn't respond sooner. I think it's a good idea.
>
> The patch is against an older version of plot.lisp - I don't think it
> applies to current cvs without conflicts. It also does not work very
> well on Windows. I would rather rewrite the patch so that there is the
> current gnuplot driver and gnuplot_pipes driver. The current gnuplot
> driver should be the default for windows and gnuplot_pipes for
> everything else. I propose we put that in the release after 5.11.0.
>
> Andrej
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>

-- 
  ---------------------------------------------------------------------------
  | Sheldon E. Newhouse            |    e-mail: sen1 at math.msu.edu           |
  | Mathematics Department         |       				   |
  | Michigan State University      | telephone: 517-355-9684                |
  | E. Lansing, MI 48824-1027 USA  |       FAX: 517-432-1562                |
  ---------------------------------------------------------------------------