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]

/proc/*/cmdline corrupted


Greetings,

When I run "procps -ef" I get corrupted command line parameters:

jc807j@~>procps -ef
UID ? ? ? ?PID ?PPID ?C STIME TTY ? ? ? ? ?TIME CMD
jc807j ? ?5852 ? ? 1 ?0 08:59 tty0 ? ? 00:00:03 X :0 -multiwindow
jc807j ? ?2668 ? ? 1 ?0 08:59 tty0 ? ? 00:00:00 xterm -e ssh server
80x72+285+0 -e ssh server
jc807j ? ?3004 ? ? 1 ?0 08:59 tty0 ? ? 00:00:00 xterm -e ssh server
80x72-8+0 -e ssh server
jc807j ? ?3392 ?3004 ?0 08:59 tty0 ? ? 00:00:00 ssh server
jc807j ? ?5960 ?2668 ?0 08:59 tty1 ? ? 00:00:00 ssh server
jc807j ? ?2928 ?5852 ?0 09:12 ? ? ? ? ?00:00:00 xterm ?20000 +tb
jc807j ? ?4608 ?2928 ?0 09:12 tty2 ? ? 00:00:00 bash
jc807j ? ?5800 ?4608 ?1 10:57 tty2 ? ? 00:00:00 procps -ef

The actual command lines for the 3 xterm processes are:

C:\cygwin\bin\xterm.exe -sl 20000 +tb -geometry 80x72+285+0 -e ssh server
C:\cygwin\bin\xterm.exe -sl 20000 +tb -geometry 80x72-8+0 -e ssh server
C:\cygwin\bin\xterm.exe -sl 20000 +tb

as reported by the "listdlls" tool.

I have verified that the "/proc/*/cmdline" is the source of the
corrupted information.  "cmdline" from PID 2928 is:

jc807j@~>od -c /proc/2928/cmdline
0000000   x   t   e   r   m  \0  \0   2   0   0   0   0  \0   +   t   b
0000020  \0
0000021

Attachment: cygcheck.out
Description: Text document

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