[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octave 3.4.0 and octave-forge-20110226 for cygwin released
From: |
marco atzeri |
Subject: |
Re: octave 3.4.0 and octave-forge-20110226 for cygwin released |
Date: |
Mon, 7 Mar 2011 11:12:56 +0100 |
On Mon, Mar 7, 2011 at 12:30 AM, Klonuo wrote:
>> KNOWN BUGS
>> 1) Only on cygwin version printing plots from fltk cause segfault.
>> Never succeeded, for lack of time and competence, to identify the
>> root cause : octave, fltk, cygwin ?
>> To reproduce: run octave and at prompt
>> -------------------------
>> graphics_toolkit ("fltk")
>> x=1:10;
>> plot(x,x)
>> print("fltk.png","-dpng")
>> -------------------------
>> the plot is built and printed as file but octave crashs.
>> No such problem with gnuplot.
>
> Hi,
> how can we overcome above?
>
> I run Octave on Windows, but thought to try new version as I had Cygwin
> installed. However, every .m script that wants to plot crashes Octave.
>
> Example (works fine on mingw Octave 3.2.4):
>
> ---------------------------
> warning: X11 DISPLAY environment variable not set
Klonuo,
you are not running octave from an xterm session so the DISPLAY
definition is missing
> error: `myplot' undefined near line 43 column 23
> error: called from:
> error: /cygdrive/c/Programs/Octave/3.2.4_gcc-4.4.0/scripts/fib2.m at line
> 43, column 22
> 3 [main] octave-3.4.0 4684 exception::handle: Exception:
> STATUS_ACCESS_VIOLATION
> 173381 [main] octave-3.4.0 4684 open_stackdumpfile: Dumping stack trace to
> octave-3.4.0.exe.stackdump
> 3 [main] octave-3.4.0 4340 exception::handle: Exception:
> STATUS_ACCESS_VIOLATION
> 1492 [main] octave-3.4.0 4340 open_stackdumpfile: Dumping stack trace to
> octave-3.4.0.exe.stackdump
> ---------------------------
>
> Exception:
> ---------------------------
> Exception: STATUS_ACCESS_VIOLATION at eip=61020497
> eax=00F71030 ebx=6124674C ecx=757F7B6E edx=00901C28 esi=00000000 edi=0022FA10
> ebp=61020BE0 esp=0022C7E0 program=C:\cygwin\bin\octave-3.4.0.exe, pid 4340,
> thread main
> cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
> Stack trace:
> Frame Function Args
> End of stack trace
> ---------------------------
>
>From xterm session, so with Xserver running:
this should work, as it is using gnuplot default graphics
-------------------------
x=1:10;
plot(x,x)
print("fltk.png","-dpng")
-------------------------
while this will work until the plot, and than octave will crash
-------------------------
graphics_toolkit ("fltk")
x=1:10;
plot(x,x)
print("fltk.png","-dpng")
-------------------------
Regards
Marco