|
From: | Michael D Godfrey |
Subject: | Re: wait_for_file ?? [print via pipes - help testing on Windows?] |
Date: | Sat, 18 Sep 2010 11:00:32 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Thunderbird/3.1.3 |
On 09/18/2010 09:30 AM, Ben Abbott wrote:
OK. I understand. Keep in mind that your pid and the one used in the gl2ps code are separate. In the seg fault that I am seeing the error occurs at: #1 0x00007ffff741125f in glps_renderer::draw (this=0xf3c650, go=...) at gl2ps-renderer.cc:83 This is an fclose(fp) where the fp was set by *fp = fdopen(fid, "wb"); The fdopen may be what generated the "GL2PS error: Bad file pointer" error message from GL2PS. Anyhow, the following fclose causes the seg fault. But I have not found where the fid was originally opened. (It not having been open when the fdopen was called would explain the failure.) Also, I thought that Shai had changed the fclose (in the case where the open was popen) to a pclose, but just now I looked and it appears that he has not done that. In any case I hope that Shai can figure this out! Michael |
[Prev in Thread] | Current Thread | [Next in Thread] |