octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #31641] fltk print crash on cygwin


From: marco atzeri
Subject: [Octave-bug-tracker] [bug #31641] fltk print crash on cygwin
Date: Sat, 10 Sep 2011 08:53:15 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.1) Gecko/20100101 Firefox/6.0.1

Follow-up Comment #7, bug #31641 (project octave):

restarting the search, after long time

the sequence

graphics_toolkit fltk;
x=1:10;
plot (x,x)
print (fltk.png","-dpng")

still causes segfault on octave-dev

The cause is system pclose called with a
NULL handler for the involved pipe

(gdb) p fp
$6 = (FILE *) 0x20204f94
(gdb) call fileno(fp)
$7 = 6
p fh
$8 = (fhandler_pipe *) 0x0

One strange issues:

changing the sequence to

graphics_toolkit fltk;
rand(3);
plot (x)
set (gcf,'visible','off')
print (gcf,"test_invisible.png","-dpng")
set (gcf,'visible','on')

the segfault is not on the print but on the last set 


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31641>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]