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

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

[Octave-bug-tracker] [bug #50696] Iterating "saveas" or "print" function


From: Marshall
Subject: [Octave-bug-tracker] [bug #50696] Iterating "saveas" or "print" function crashes after many iterations (e.g. 500)
Date: Mon, 3 Jul 2017 18:43:52 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #1, bug #50696 (project octave):

I get this crash with the following code:


f=figure;
funits = get(figureHandle,'Units');
set(figureHandle,'Units','pixels')
fpos = get(figureHandle,'Position');
set(figureHandle,'Units',funits)
    
size = sprintf("-S%d,%d",fpos(3:4));

%crashes after 504th print
for i=1:1000
 plot(rand(10,10),rand(10,10))
 title(i)
 %crashes in print -> __opengl_print__ -> drawnow (gl2ps_device{n}, ['|'
pipeline{n}]);
 print(f,'figs/testCrash.png',vid.size);
end


It crashes exactly after the 504th print. This might be related to bug #34631,
because before simplifying my crashing code down to what's shown here, I was
able to catch 

warning: ft_manager: unable to load font: ...
warning: ft_render: unable to load ...

repeated frequently. However, currently the code shown here crashes without
any flash of these warnings as it exits.

I ran into this problem while saving images to later piece together as a video
animation.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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