|
From: | Michael D Godfrey |
Subject: | Re: wait_for_file ?? [print via pipes - help testing on Windows?] |
Date: | Sat, 18 Sep 2010 18:33:58 -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 01:08 PM, Shai Ayal wrote:
On Sat, Sep 18, 2010 at 8:00 PM, Michael D Godfrey <address@hidden> wrote:I built a new octave from the current tip and find that the behavior has changed. There were some patches today, but it appeared to me that none of the fltk-related code was changed. Anyhow, what happens now is: 1. First, as before Ben's example pid = popen ("cat > test.txt", "w");works just fine. fprintf (pid, "Hello World"); waitpid (pid); pclose (pid); 2. The test_printing script does a bit better: octave:1> test_printing Xlib: extension "NV-GLX" missing on display ":1175.0". backend is fltk print fltk-aifm -daifm print fltk-dxf -ddxf print fltk-emf -demf print fltk-epsc -depsc error: structure has no member `preview' error: evaluating argument list element number 1 error: called from: error: /d/src/octave/hg/octave/scripts/plot/print.m at line 483, column 3 error: evaluating argument list element number 1 error: /d/src/octave/hg/octave/scripts/plot/__fltk_print__.m at line 45, column 10 error: /d/src/octave/hg/octave/scripts/plot/print.m at line 346, column 6 error: /data/d/src/octave/hg/test_printing.m at line 65, column 9 octave:1> GL2PS error: Bad file pointer panic: Segmentation fault -- stopping myself... attempting to save variables to `octave-core'... save to `octave-core' complete Segmentation fault (core dumped) =========================== The outputs are: -rw-rw-r-- 1 godfrey godfrey 52 Sep 18 18:14 fltk-aifm.ai -rw-rw-r-- 1 godfrey godfrey 346 Sep 18 18:14 fltk-dxf.dxf -rw-rw-r-- 1 godfrey godfrey 0 Sep 18 18:14 fltk-emf.emf =========================== but, it crashes in the same manner as before. The gdb bt is attached: fltk02_bt However, if I try a simple: plot(1:200) print tes01.pdf octave hangs. ctrl-c wakes it up. The PDF file exists, but is empty. the bt for this is attached: fltk03_bt Michael |
fltk02_bt
Description: Text document
fltk03_bt
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |