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

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

[Octave-bug-tracker] [bug #53186] Without osmesa it is not possible to p


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #53186] Without osmesa it is not possible to print/getframe invisible figures
Date: Fri, 9 Mar 2018 13:33:51 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

Follow-up Comment #40, bug #53186 (project octave):

If you look at buildbots this failure test 

>>>>> processing
/home/buildbotu/fc25-x86_64/gcc-lto-fedora/src/scripts/image/getframe.m
***** testif HAVE_QOFFSCREENSURFACE
 hf = figure ("visible", "off");
 unwind_protect
   pos = get (hf, "position");
   assert (size (getframe (hf).cdata)(1:2), pos(4:-1:3));
 unwind_protect_cleanup
   close (hf);
 end_unwind_protect
!!!!! test failed
ASSERT errors for:  assert (size (getframe (hf).cdata) (1:2),pos (4:-1:3))

  Location  |  Observed  |  Expected  |  Reason
    (1)           0           420        Abs err 420 exceeds tol 0 by 4e+02
    (2)           0           560        Abs err 560 exceeds tol 0 by 6e+02


happens quite often. 
LIBGL_ALWAYS_SOFTWARE=1 perhaps make it worse (more often).

I was able to reproduce on a desktop getting about 2 failures per 
1000 repeats. On buildbots it happens more often. 
I wonder if there is some race condition going on (e.g. figure() does not have
 enough time to setup properties which are getting read by get())... 
In any case it does not look like a high priority issue, but the problem is
there.

Dmitri.
-- 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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