[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #32319] GL2PS error: Bad file pointer
From: |
Michael Godfrey |
Subject: |
[Octave-bug-tracker] [bug #32319] GL2PS error: Bad file pointer |
Date: |
Tue, 01 Feb 2011 18:28:30 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110103 Fedora/3.6.13-1.fc14 Firefox/3.6.13 |
URL:
<http://savannah.gnu.org/bugs/?32319>
Summary: GL2PS error: Bad file pointer
Project: GNU Octave
Submitted by: godfrey
Submitted on: Tue 01 Feb 2011 06:28:29 PM GMT
Category: Plotting with OpenGL
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Crash
Status: None
Assigned to: None
Originator Name: Michael Godfrey
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
I thought that there was an outstanding report on this, but I
could not find it. In any case, I have tested this problem
and it still happens when fltk plotting is used over a remote
connection or a connection such that graphics rendering takes
too long. This has been a long standing failure. But, I
have an interim suggestion:
The failure now occurs at line 5650 of gl2ps.c:
gl2psMsg(GL2PS_ERROR, "Bad file pointer");
gl2psFree(gl2ps);
gl2ps = NULL;
return GL2PS_ERROR;
==========================
However, the specific cause is at line 46 of gl2ps-renderer.cc:
FILE *fp = fdopen (fid, "wb");
============================
It is the fact that fdopen returns NULL that causes the failure.
Would it be better to test for fp == NULL at this point and if
possible make a non-fatal return? This would be better than the
current SEG FAULT which loses any current work.
I have attached a bt of the current failure. And, I will
try to learn more about the cause of this problem, but I
know little about OpenGL.
Michael
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 01 Feb 2011 06:28:29 PM GMT Name: fltk_bad_pointer Size: 3kB
By: godfrey
<http://savannah.gnu.org/bugs/download.php?file_id=22582>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32319>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #32319] GL2PS error: Bad file pointer,
Michael Godfrey <=
- [Octave-bug-tracker] [bug #32319] GL2PS error: Bad file pointer, Michael Godfrey, 2011/02/01
- [Octave-bug-tracker] [bug #32319] GL2PS error: Bad file pointer, John W. Eaton, 2011/02/03
- [Octave-bug-tracker] [bug #32319] GL2PS error: Bad file pointer, Michael Godfrey, 2011/02/03
- [Octave-bug-tracker] [bug #32319] printing sometimes fails with error "gl2ps-renderer: fdopen failed", John W. Eaton, 2011/02/03
- [Octave-bug-tracker] [bug #32319] printing sometimes fails with error "gl2ps-renderer: fdopen failed", Michael Godfrey, 2011/02/04
- [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", 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", Konstantinos Poulios, 2011/02/11
- [Octave-bug-tracker] [bug #32319] printing sometimes fails with error "gl2ps-renderer: fdopen failed", Michael Godfrey, 2011/02/11