delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/07/05/18:39:49

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
X-WM-Posted-At: avacado.atomice.net; Fri, 5 Jul 02 23:39:41 +0100
Message-ID: <009f01c22474$da6ce0d0$0100a8c0@advent02>
From: "Chris January" <chris AT atomice DOT net>
To: <cygwin-developers AT cygwin DOT com>
References: <001201c2235f$29952260$0100a8c0 AT advent02>
Subject: Re: Re[2]: vmstat
Date: Fri, 5 Jul 2002 23:39:41 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

> > > CJ> Will this package actually appear on the mirrors in future or are
> > there
> > > CJ> issues I am not aware of preventing this from happening?
> > >
> > > Have you tried running the procps tools on current stock dll
> > > (1.3.12-1) ? For me most of them seem to just hang - top, procps,
> > > uptime, vmstat, w... havent tried the others.
> > >
> > > Maybe this problem corelates with the fact that some of the /proc
> > > files no longer contain information - see below:
> > > Perhaps it has to do something with your last patch. I don't have time
> > > to look at this right now though. I can send strace if you want.
> > >
> > > The procps tools I'm using were downloaded from your site following
> > > their anouncement on cygwin-apps.
> > This is caused by the default alignment changing from 4 bytes to 8
bytes,
> as
> > far as i can tell. Basically the size of structure passed to the NT
system
> > calls is not the size of structure the call expects, so it fails and the
> > program (top, uptime, etc.) gets stuck in a loop trying to read data.
> > I did add macros to ntdll.h to make sure the structures were aligned
> > correctly, but then Chris changed the alignment back so I removed them.
I
> > shall let Chris comment on this.
I would appreciate it if you could look into this Chris, since using my
build environment, I can compile the 1.3.12 sources and the Cygwin DLL works
fine. However with the binary in the 1.3.12-1 binary distribution, I am
seeing the failures others have experienced, namely with the
NtQuerySystemInformation call failing. Since I can't reproduce the problem
on my machine, I don't really know where to begin fixing it.
I am using binutils 20011002-1 and gcc version 2.95.3-5 (cygwin special).

Chris


- Raw text -


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