This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated: procps-3.2.8-1


On Thu, Oct 17, 2013 at 11:13:55AM +0200, Corinna Vinschen wrote:
>On Oct 16 19:33, Kurt Franke wrote:
>> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
>> 
>> > Hi folks,
>> > 
>> > I took over maintainership for the procps package, which hadn't been
>> > updated since 2007.  I now update the package to the last procps package
>> > 3.2.8 from 2009, added a few tweaks, and especially built it for 32 and
>> > (tada!) 64 bit.
>> > 
>> > Please note that with the current Cygwin 1.7.25, procps -f/-l will print
>> > two question marks in place of the controlling tty for processes which
>> > don't have a controlling tty.  Usually it should only print a single
>> > question mark in this case, but the reason here is a minor bug in the
>> > Cygwin DLL which will be fixed in the next release.  I hope that's not
>> > too disturbing for the time being.
>> > 
>> > Have fun,
>> > Corinna
>> 
>> Hi Corinna,
>> 
>> could you have a look on the formatting when displaying a sid column, i. e.
>> 
>> $> procps -eo user,pid,ppid,pgrp,tty,stime,cputime,sid,cmd
>> 
>> if now setsid is done, the -1 is used, which is correct displayed in
>>  /proc/*/sid
>> but displayed as unsigned value in procps which reads as 4294967295 and 
>> thus will break the formatting of output.
>> 
>> Or would there be a chance to implement sid handling during
>> process creation, initialize the sid to pid if there is no one
>> inherited by parent which should only occure if a cygwin program
>> is called by a windows program, and always inherit it if the parent
>> is a cygwin process ?
>
>Yeah.  I'm wondering why our process sid is -1 at all.  This never
>occurs on Linux, afaics.
>
>I'll investigate.  Thanks for the heads up.

This should be fixed in the upcoming snapshot.  It's one of those "how
did this ever work?" bugs.

Thanks for the heads up.

cgf

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]