From help-request at octave dot org Tue Nov 16 19:16:22 2004 Subject: Re: 5th anniversary of buggy system/popepn/popen2 From: "Dmitri A. Sergatskov" To: Miroslaw Kwasniak CC: help at octave dot org Date: Tue, 16 Nov 2004 18:13:34 -0700 Miroslaw Kwasniak wrote: > How long sequence of dots you've seen. I had sometimes >100 and at another run > only 2. Here is one sequence (all interruptions of the dots caused by me hitting Ctrl-C): 3679 1690 820 459 324 64 67 323 101 406 84 169 13 Killed This is on 2xAthlonMP, 1 GB, Fedora Core 3, glibc-2.3.3, kernel-2.6.9-1.667, gcc-3.4.2-6.fc3, octave-2.1.62. Similar results on AthlonXP/ 500 MB (same software). I am running it as we speak on 2xPPro 200 MHz w/ RH9 (kernel-2.4.20-35.9.legacy, glibc-2.3.2, gcc-3.2.2, octave-2.1.57) and it does not show any problems either. It does show problems on Sparc Solaris 8 (octave-2.1.59, gcc-3.3.3) [dima at kochia octave]$ ./lsxsun.sh .... 4 ................ 16 ............ 12 ............... 15 .... 4 . 1 .... 4 ................................... 35 ....................... 23 ..... 5 ......... 9 ................ 16 . 1 ...... 6 ........... 11 ............ 12 .. 2 ............ 12 .......... 10 . 1 ........ 8 ..................panic: alarm clock -- stopping myself... ./lsxsun.sh: line 1: 11218 Done echo "$LS" 11219 Alarm Clock | octave -q ----------- racecheck report on Solaris: report = 21 1 2 3 4 1 2 0 21 21 2 0 0 21 21 >>Sometimes it just dies half-way through (returns to octave prompt) and does >>not >>give the final "report" output. > > > Can you provide at which poit it crashes? It rather random half way through the running output: 4 2 4400 86560octave> (I made up the numbers here) I did not save the output and I could not get it to crash anymore... > > A try if pause works with popen2: > > [i,o,p]=popen2('/bin/ls'); pause(5), 1 > > on my comp it display 1 without a delay :( It works on Sun (there is a delay) and does not (no delay) on either linux. > > > Mirek > > Hope it helps. Sincerely, Dmitri. -- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------