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

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

[Octave-bug-tracker] [bug #32319] printing sometimes fails with error "g


From: Konstantinos Poulios
Subject: [Octave-bug-tracker] [bug #32319] printing sometimes fails with error "gl2ps-renderer: fdopen failed"
Date: Fri, 11 Feb 2011 21:54:38 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13

Follow-up Comment #6, bug #32319 (project octave):

In __init_fltk__.cc. line 764 drawing is set to printing mode:

    canvas->print (fid, term);

then in __init_fltk__.cc. line 768 we call:

      mark_modified ();

which triggers graphics redraw that ends up at some canvas->draw
asynchronously.

It seems that

      waitpid (pid);

at line 159 of __fltk_print__.m is not a sufficient guarantee that the code
execution will reach and complete line 160 __init_fltk__.cc:

      rend.draw (gh_manager::get_object (number));

where the actual printing takes place before it closes the pipe at line 161
of __fltk_print__.m:

      pclose (pid);

Maybe we need some other check.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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