Octave Plotting, Invoking Octave

marco atzeri marco.atzeri@gmail.com
Mon Apr 18 20:01:00 GMT 2011


On Mon, Apr 18, 2011 at 6:25 PM, Doug Pace  wrote:
> Installed cygwin with gnuplot, X11, and octave.
>
> Octave will not run the 'sombrero' demo plot.
>
> Have removed c:\cygwin and reinstalled; have attempted previous releases of
> cygwin and octave.
> Yes, I needed to use ash and do
>            $ ./rebaseall
> to get startx to work.
>
> Now octave no longer opens, no error messages are issued just returns to the
> shell prompt.
>
> This is on XP sp 3.
> Thanks for any help,

Doug,
rebaseall seems to break octave on WinXP. I already noted it on 1.7.9
and on some snapshots.

Workaround.
- reinstall octave
- downgrade cygwin from 1.7.9-1 to 1.7.8-1

At least on my WinXP SP3 it works.

>
> Doug

Marco

>
> -- in octave /usr/share/octave/3.4.0/m/plot/__gnuplot_get_var__.m
>    the line                    str = strcat(str {:});     ---------latest
> version
>                   str = strcat(str, {:});   -------------previous version
>      previous version is correct.
>
> screen capture follows:
> **************************************************************************************************
>
> $ octave
>
> GNU Octave, version 3.4.0
>
> Copyright (C) 2011 John W. Eaton and others.
>
> This is free software; see the source code for copying conditions.
>
> There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
>
> FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.
>
>
>
> Octave was configured for "i686-pc-cygwin".
>
>
>
> Additional information about Octave is available at http://www.octave.org.
>
>
>
> Please contribute if you find this software useful.
>
> For more information, visit http://www.octave.org/help-wanted.html
>
>
>
> Read http://www.octave.org/bugs.html to learn how to submit bug reports.
>
>
>
> For information about changes from previous versions, type `news'.
>
>
>
> octave:1> who
>
> Variables in the current scope:
>
>
>
> ans
>
>
>
> octave:2> x = 1:1:10
>
> x =
>
>
>
>   1 2 3 4 5 6 7 8 9 10
>
>
>
> octave:3> y = x .* x
>
> y =
>
>
>
>    1     4     9    16    25    36    49    64    81   100
>
>
>
> octave:4> sombrero
>
>     0 [main] octave-3.4.0 3668 C:\cygwin\bin\octave-3.4.0.exe: *** fatal
> error - couldn't release memory 0x18D01000(61440) for
> '\\?\C:\cygwin\lib\octave\3.4.0\oct\i686-pc-cygwin\cellfun.oct' alignment,
> Win32 error 487
>
> Stack trace:
>
> Frame     Function  Args
>
> 00229828  6102796B  (00229828, 00000000, 00000000, 00000000)
>
> 00229B18  6102796B  (6117EC60, 00008000, 00000000, 61180977)
>
> 0022AB48  61004F1B  (611A7F74, 18D01000, 0000F000, 6124A284)
>
> End of stack trace
>
>     0 [main] octave 3664 fork: child 3668 - died waiting for dll loading,
> errno 11
>
> error: popen2: process creation failed -- Resource temporarily unavailable
>
> error: called from:
>
> error:   /usr/share/octave/3.4.0/m/plot/__gnuplot_open_stream__.m at line
> 30, column 44
>
> error:   /usr/share/octave/3.4.0/m/plot/__gnuplot_drawnow__.m at line 72,
> column 19
>
> octave:5
>
>
>
> $ cygcheck -c cygwin x11 gnuplot octave
>
> Cygwin Package Information
>
> Package              Version        Status
>
> cygwin               1.7.9-1        OK
>
> gnuplot              4.4.0-1        OK
>
> octave               3.4.0-3        OK
>
>
>
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list