X-Recipient: archive-cygwin@delorie.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@mail.gmail.com>	<AANLkTimJ7=6AaGdNUxnCu3_p3k1CW9kByWAzAQ-UfOLw@mail.gmail.com>	<4D94E230.9010806@quicknet.nl>	<AANLkTi=LhWOqMDP8KQGHrzTbEQPkMmeqzF=hV8Y-HhyF@mail.gmail.com>	<4D94F157.4000306@quicknet.nl>	<AANLkTikAD7QRyW8kC3he-NiW_7eimOLf2+4h0xUW=jE-@mail.gmail.com>	<20110401052547.GA17843@ednor.casa.cgf.cx>	<AANLkTi=duC2j9aSUO3CJaHRm2bD9cJXaTAO1j6yU=wiO@mail.gmail.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.atzeri@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

