[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #32319] printing sometimes fails with error "g
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #32319] printing sometimes fails with error "gl2ps-renderer: fdopen failed" |
Date: |
Sat, 12 Feb 2011 01:20:48 -0500 |
On 11-Feb-2011, Konstantinos Poulios wrote:
| 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:
That is a misuse of waitpid. The waitpid function waits for
subprocesses given a process ID. But in this context PID is a file
ID that refers to a pipe that is open for writing, not a process ID.
jwe
- [Octave-bug-tracker] [bug #32319] printing sometimes fails with error "gl2ps-renderer: fdopen failed", (continued)
- [Octave-bug-tracker] [bug #32319] printing sometimes fails with error "gl2ps-renderer: fdopen failed", Konstantinos Poulios, 2011/02/11
- [Octave-bug-tracker] [bug #32319] printing sometimes fails with error "gl2ps-renderer: fdopen failed", Michael Godfrey, 2011/02/11
- [Octave-bug-tracker] [bug #32319] printing sometimes fails with error "gl2ps-renderer: fdopen failed", Michael Godfrey, 2011/02/11
- [Octave-bug-tracker] [bug #32319] printing sometimes fails with error "gl2ps-renderer: fdopen failed", Michael Godfrey, 2011/02/12
- [Octave-bug-tracker] [bug #32319] printing sometimes fails with error "gl2ps-renderer: fdopen failed", Michael Godfrey, 2011/02/12
- [Octave-bug-tracker] [bug #32319] printing sometimes fails with error "gl2ps-renderer: fdopen failed", John W. Eaton, 2011/02/12
- [Octave-bug-tracker] [bug #32319] printing sometimes fails with error "gl2ps-renderer: fdopen failed", Konstantinos Poulios, 2011/02/12
- [Octave-bug-tracker] [bug #32319] printing sometimes fails with error "gl2ps-renderer: fdopen failed", Michael Godfrey, 2011/02/12
- [Octave-bug-tracker] [bug #32319] printing sometimes fails with error "gl2ps-renderer: fdopen failed", Michael Godfrey, 2011/02/13
- [Octave-bug-tracker] [bug #32319] printing sometimes fails with error "gl2ps-renderer: fdopen failed", Konstantinos Poulios, 2011/02/15
- [Octave-bug-tracker] [bug #32319] printing sometimes fails with error "gl2ps-renderer: fdopen failed",
John W. Eaton <=