delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/07/04/12:10:02

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
Date: Thu, 4 Jul 2002 12:10:10 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-apps AT cygwin DOT com, cygwin-developers AT cygwin DOT com
Subject: Re: Re[2]: vmstat
Message-ID: <20020704161010.GC19440@redhat.com>
Reply-To: cygwin-apps AT cygwin DOT com
Mail-Followup-To: cygwin-apps AT cygwin DOT com,
cygwin-developers AT cygwin DOT com
References: <OF9302AC86 DOT 0EB950DE-ON85256BE4 DOT 005579C2 AT isn DOT instinet DOT com> <00b901c21df9$1c9e3df0$0100a8c0 AT advent02> <20020627163750 DOT GA27819 AT redhat DOT com> <010901c21dfa$de6d74e0$0100a8c0 AT advent02> <3D1B5A59 DOT 7090609 AT ece DOT gatech DOT edu> <024101c22216$d81624f0$0100a8c0 AT advent02> <103929877 DOT 20020704121327 AT syntrex DOT com> <00be01c22359$b9e7c170$0100a8c0 AT advent02> <20020704160032 DOT GB19440 AT redhat DOT com>
Mime-Version: 1.0
In-Reply-To: <20020704160032.GB19440@redhat.com>
User-Agent: Mutt/1.3.23.1i

On Thu, Jul 04, 2002 at 12:00:32PM -0400, Christopher Faylor wrote:
>On Thu, Jul 04, 2002 at 01:52:59PM +0100, Chris January wrote:
>>> Hello Chris,
>>>
>>> Wednesday, July 03, 2002, 12:21:42 AM, you wrote:
>>>
>>> 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.
>
>Huh?  What alignments have I changed?  Pointers please.

I suspect that this must have something to do with binutils.  I changed the
alignments at David Billinghurst's suggestion to accommodate java.  If
this is causing problems, however, I'll change them back.

cgf

- Raw text -


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