delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/02/12:40:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <AANLkTi=duC2j9aSUO3CJaHRm2bD9cJXaTAO1j6yU=wiO@mail.gmail.com>
References: <AANLkTi=_WBph8XP1Nd0eDmDoKuurdUeN=SFONH68WunW AT mail DOT gmail DOT com> <AANLkTimJ7=6AaGdNUxnCu3_p3k1CW9kByWAzAQ-UfOLw AT mail DOT gmail DOT com> <4D94E230 DOT 9010806 AT quicknet DOT nl> <AANLkTi=LhWOqMDP8KQGHrzTbEQPkMmeqzF=hV8Y-HhyF AT mail DOT gmail DOT com> <4D94F157 DOT 4000306 AT quicknet DOT nl> <AANLkTikAD7QRyW8kC3he-NiW_7eimOLf2+4h0xUW=jE- AT mail DOT gmail DOT com> <20110401052547 DOT GA17843 AT ednor DOT casa DOT cgf DOT cx> <AANLkTi=duC2j9aSUO3CJaHRm2bD9cJXaTAO1j6yU=wiO AT mail DOT gmail DOT com>
Date: Sat, 2 Apr 2011 18:40:15 +0200
Message-ID: <AANLkTikHWvA365u1-2vMEQyCVf1j8g7o+eVx3RHWKsxO@mail.gmail.com>
Subject: Re: Fwd: octave updated to 3.4.0-3. Please test (strcat error)
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Fri, Apr 1, 2011 at 8:31 AM, marco atzeri  wrote:
> On Fri, Apr 1, 2011 at 7:25 AM, Christopher Faylor =A0wrote:

for what I can see comparing the long strace outputs,
after this difference from  fhandler_fifo::raw_read
the two traces diverges.


---------------- 1.7.8 -----------------------------------------------------
[main] gnuplot 1076 fhandler_base::fstat_helper: 0 =3D fstat
(\??\C:\cygwin\tmp\oct-22d610.0.lnk, 0x22CAF8) st_atime=3D4D96CCFE
st_size=3D0, st_mode=3D0x1180, st_ino=3D3659174697433682, sizeof=3D96
[main] gnuplot 1076 fstat64: 0 =3D fstat (3, 0x22CAF8)
[main] gnuplot 1076 writev: writev (3, 0x22CBA4, 1)
[main] gnuplot 1076 fhandler_base::write: binary write
[main] octave-3.4.0 3764 fhandler_base_overlapped::wait_overlapped:
normal read, 4 bytes
[main] gnuplot 1076 fhandler_base_overlapped::wait_overlapped: normal
write, 4 bytes
[main] gnuplot 1076 fhandler_base_overlapped::write_overlapped: returning 4
[main] gnuplot 1076 writev: 4 =3D write (3, 0x22CBA4, 1), errno 0
[main] octave-3.4.0 3764 fhandler_fifo::raw_read: returning 4, mode 2,
Win32 error 997

[main] octave-3.4.0 3764 fhandler_base::read: returning 4, binary mode
[main] octave-3.4.0 3764 readv: 4 =3D readv (3, 0x229C44, 1), errno 2
[main] gnuplot 1076 cygwin_select: 3, 0x22CC44, 0x0, 0x0, 0x0
---------------1.7.9
-------------------------------------------------------------
[main] gnuplot 1076 fhandler_base::fstat_helper: 0 =3D fstat
(\??\C:\cygwin\tmp\oct-22deb4.0.lnk, 0x22C978) st_atime=3D4D96CB7C
st_size=3D0, st_mode=3D0x1180, st_ino=3D4503599627565638, sizeof=3D96
[main] gnuplot 1076 fhandler_base::close: closing '/tmp/oct-22deb4.0'
handle 0x5E8
[main] gnuplot 1076 fhandler_base::fhaccess: returning 0
[main] gnuplot 1076 fhandler_base::set_flags: flags 0x601, supplied_bin 0x0
[main] octave-3.4.0 3764 fhandler_base_overlapped::wait_overlapped:
normal read, 0 bytes
[main] octave-3.4.0 3764 fhandler_fifo::raw_read: returning -1, mode
2, Win32 error 997

                         -1 ?
[main] octave-3.4.0 3764 fhandler_base::read: returning -1, binary mode
[main] octave-3.4.0 3764 readv: -1 =3D readv (3, 0x229C44, 1), errno 2
[main] gnuplot 1076 fhandler_base::set_flags: filemode set to binary
[main] gnuplot 1076 fhandler_fifo::open: returning 1, errno 0
[main] gnuplot 1076 open: 3 =3D open (/tmp/oct-22deb4.0, 0x601)
[main] gnuplot 1076 _cygwin_istext_for_stdio: fd 3: opened as binary
[main] gnuplot 1076 cygwin_select: 3, 0x22CC44, 0x0, 0x0, 0x0
---------------------------------------------------------------------------=
---------------

so I presume that the communication between octave and gnuplot is broken by
one of the change

http://cygwin.com/snapshots/winsup-changelog-20110308-20110309

as plotting in octave on 20110308 is working while on 20110309 not.

what means the -1 ?

Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019