This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
1.3.12-4: strace crashes with -p and sshd
- From: nfudd at speed-test dot net
- To: cygwin at cygwin dot com
- Date: Sun, 1 Sep 2002 13:50:38 -0700 (PDT)
- Subject: 1.3.12-4: strace crashes with -p and sshd
My favorite tool is strace (on linux, leastwise), and so I was upset
to see that I can't get it to work quite right here:
strace -fo/tmp/a ls
strace.exe: can't open /tmp/a: No such file or directory
I found out the problem after reading the manual; I can't specify
/tmp/a but I can specify c:/cygwin/tmp/a.
You might want to print a message to that effect when strace gets 'No
such file or directory' when trying to open the log file.
-----------------------------------------------------------------------------
But on a more serious note, I can make strace crash:
sshd
ps aux | grep -i sshd
strace -foa -p 356607
Window:
Strace
X This program has performed an illegal operation
and will be shut down.
If the problem persists, contact the program
vendor.
STRACE caused an invalid page fault in
module CYGWIN1.DLL at 0167:61070506.
Registers:
EAX=fff70961 CS=0167 EIP=61070506 EFLGS=00010282
EBX=00000000 SS=016f ESP=0073fb50 EBP=0073fb68
ECX=fffffffd DS=016f ESI=00000005 FS=5417
EDX=00000002 ES=016f EDI=00000001 GS=0000
Bytes at CS:EIP:
39 43 10 89 c6 74 47 8d 7b 08 89 3c 24 e8 18 6c
Stack dump:
00000167 bff80131 00061680 00000020 00000005
00000001 0073fb88 61001dfa ffffffff 00002000
0073fbc8 6100291a 61680094 00000002 0073fbb8
61001fbb
Here's the output of cygcheck -s -v -r:
-----------------------------------------------------------------------------
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Sun Sep 01 13:12:11 2002
Windows 98 SE Ver 4.10 Build 2222
Path: C:\cygwin\home\bin
C:\cygwin\home\bin\CYGWIN_98-4.10
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\local\bin
C:\cygwin\sbin
C:\cygwin\usr\sbin
C:\cygwin\usr\local\sbin
c:\WINDOWS
c:\WINDOWS\COMMAND
C:\cygwin\usr\X11R6\bin
.
SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS
HOME = `C:\cygwin\home'
MAKE_MODE = `unix'
PWD = `/home'
USER = `.'
BLASTER = `A220 I7 D1 H5 P330 T6'
CC = `gcc'
CMDLINE = `tcsh -l'
COMSPEC = `C:\WINDOWS\COMMAND.COM'
EDITOR = `vi'
EXINIT = `source ~/.exrc'
GOODPATH = `1'
GROUP = `unknown'
HOMEDRIVE = `C:'
HOMEPATH = `\cygwin\home'
HOST = `cr487308-a'
HOSTTYPE = `i386'
IRCNAME = `A Dragon'
IRCNICK = `ADragon'
LESS = `diErX'
LINTLIBS = `/usr/lib/lint'
LOGNAME = `.'
LS_OPTIONS = `'
MACHTYPE = `i386'
MAIL = `/var/spool/mail/.'
MAILREADER = `/usr/local/bin/pine'
MANPATH = `/usr/local/man:/usr/man:/usr/X11R6/man'
MD5 = `md5sum'
NAWK = `gawk'
NETHACKOPTIONS = `rawio,IBMgraphics,autopickup,confirm,!DECgraphics,male,fixinv,help,!ignintr,!legacy,lit_corridor,!null,number_pad,!rest_on_space,safe_pet,silent,sortpack,standout,time,tombstone,verbose,checkpoint,news,BIOS,rawio,showexp,showscore,fruit:caramel,pickup_types:"?+!=/$,catname:Frenzy,dogname:Havok,msghistory:40,name:Charles,color'
NNTPSERVER = `news.imag.net'
OS = `CYGWIN_98-4.10'
OSTYPE = `posix'
PAGER = `less'
PROMPT = `$p$g'
SHELL = `/bin/csh'
SHLVL = `1'
TERM = `cygwin'
TERMOLD = `linux'
TZ = `PST8PDT7,M4.1.0/2,M10.5.0/2'
VENDOR = `intel'
VISUAL = `vi'
WABIDIR = `/wabi'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/
(default) = `C:\cygwin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = `C:\cygwin/bin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = `C:\cygwin/lib'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
(default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\Program Options
a: fd N/A N/A
c: hd FAT32 6137Mb 40% CP UN WINDOWS
d: cd N/A N/A
e: cd N/A N/A
C:\cygwin / system binmode
C:\cygwin/bin /usr/bin system binmode
C:\cygwin/lib /usr/lib system binmode
C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode
. /cygdrive user binmode,cygdrive
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Warning: C:\cygwin\bin\find.exe hides c:\WINDOWS\COMMAND\find.exe
Found: C:\cygwin\bin\gcc.exe
Not Found: gdb
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe
390k 2000/12/05 C:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
"cygtcl80.dll" v0.0 ts=2000/11/25 17:39
5k 2000/12/05 C:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
10k 2000/12/05 C:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
"cygtclreg80.dll" v0.0 ts=2000/11/25 17:39
19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm.dll" v0.0 ts=2002/2/19 19:05
119k 2002/02/09 C:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
"cygjpeg6b.dll" v0.0 ts=2002/2/8 21:19
58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
"cygbz2-1.dll" v0.0 ts=2002/5/6 23:33
488k 2002/07/18 C:\cygwin\bin\cygguile-14.dll - os=4.0 img=1.0 sys=4.0
"cygguile-14.dll" v0.0 ts=2002/7/18 3:35
63k 2002/07/18 C:\cygwin\bin\cygguile-srfi-srfi-13-14-1.dll - os=4.0 img=1.0 sys=4.0
"cygguile-srfi-srfi-13-14-1.dll" v0.0 ts=2002/7/18 3:35
24k 2002/07/18 C:\cygwin\bin\cygguile-srfi-srfi-4-1.dll - os=4.0 img=1.0 sys=4.0
"cygguile-srfi-srfi-4-1.dll" v0.0 ts=2002/7/18 3:35
14k 2002/07/18 C:\cygwin\bin\cygguilereadline-14.dll - os=4.0 img=1.0 sys=4.0
"cygguilereadline-14.dll" v0.0 ts=2002/7/18 3:35
929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
"cygiconv-2.dll" v0.0 ts=2002/6/24 11:24
21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
"cygintl.dll" v0.0 ts=2001/6/20 10:09
22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
"cygintl-1.dll" v0.0 ts=2001/12/13 1:28
23k 2002/06/24 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
"cygintl-2.dll" v0.0 ts=2002/6/23 21:54
25k 2002/07/16 C:\cygwin\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0
"cygltdl-3.dll" v0.0 ts=2002/7/15 21:05
45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
"cygform5.dll" v0.0 ts=2001/4/24 22:28
26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
"cygmenu5.dll" v0.0 ts=2001/4/24 22:27
156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++5.dll" v0.0 ts=2001/4/24 22:29
226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses5.dll" v0.0 ts=2001/4/24 22:17
15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
"cygpanel5.dll" v0.0 ts=2001/4/24 22:27
35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
"cygform6.dll" v0.0 ts=2002/1/8 22:03
20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
"cygmenu6.dll" v0.0 ts=2002/1/8 22:03
175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++6.dll" v0.0 ts=2002/1/8 22:03
202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses6.dll" v0.0 ts=2002/1/8 22:03
12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
"cygpanel6.dll" v0.0 ts=2002/1/8 22:03
179k 2002/07/22 C:\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0
"cygpng12.dll" v0.0 ts=2002/7/22 9:03
22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
"cygpopt-0.dll" v0.0 ts=2002/6/8 22:45
17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
"cyghistory4.dll" v0.0 ts=2001/1/6 20:34
108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
"cygreadline4.dll" v0.0 ts=2001/1/6 20:34
20k 2002/07/17 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
"cyghistory5.dll" v0.0 ts=2002/7/17 14:18
127k 2002/07/17 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
"cygreadline5.dll" v0.0 ts=2002/7/17 14:18
25k 2002/07/14 C:\cygwin\bin\cygungif-4.dll - os=4.0 img=1.0 sys=4.0
"cygungif-4.dll" v0.0 ts=2002/7/14 7:58
625k 2002/08/09 C:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto.dll" v0.0 ts=2002/8/9 13:20
159k 2002/08/09 C:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
"cygssl.dll" v0.0 ts=2002/8/9 13:20
40k 2001/11/21 C:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
"cygpcre.dll" v0.0 ts=2001/11/21 14:15
39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix.dll" v0.0 ts=2001/11/21 14:15
66k 2001/11/20 C:\cygwin\bin\cygregex.dll - os=4.0 img=1.0 sys=4.0
"cygregex.dll" v0.0 ts=2001/11/20 6:44
81k 2000/12/05 C:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
"cygitcl30.dll" v0.0 ts=2000/11/25 17:43
35k 2000/12/05 C:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
"cygitk30.dll" v0.0 ts=2000/11/25 17:43
623k 2000/12/05 C:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
"cygtk80.dll" v0.0 ts=2000/11/25 17:43
253k 2002/02/10 C:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
"cygtiff3.dll" v0.0 ts=2002/2/10 0:34
50k 2002/03/12 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2002/3/11 20:38
883k 2002/07/06 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2002/7/5 23:16
Cygwin DLL version info:
DLL version: 1.3.12
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 54
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Sat Jul 6 02:16:58 EDT 2002
CVS tag: cygwin-1-3-12-1
Shared id: cygwin1S3
Cygwin Package Information
Last downloaded files to: C:\WINDOWS\Desktop
Last downloaded files from: ftp://archive.progeny.com/cygwin
Package Version
XFree86-base 4.2.0-1
XFree86-bin 4.2.0-2
XFree86-etc 4.2.0-1
XFree86-f100 4.2.0-2
XFree86-fenc 4.2.0-2
XFree86-fnts 4.2.0-2
XFree86-fscl 4.2.0-2
XFree86-fsrv 4.2.0-1
XFree86-lib 4.2.0-3
XFree86-man 4.2.0-1
XFree86-prog 4.2.0-1
XFree86-startup-scripts4.2.0-3
XFree86-xserv 4.2.0-10
Xaw3d 1.5-1
_update-info-dir 00059-1
ash 20020731-1
autoconf 2.53b-1
autoconf-devel 2.53a-1
autoconf-stable 2.13-4
automake 1.6.2-1
automake-devel 1.6.2-1
automake-stable 1.4p5-5
bash 2.05b-3
binutils 20020706-2
bison 1.35-1
byacc 1.9-1
bzip2 1.0.2-2
ccache 1.9-1
clear 1.0-1
compface 1.4-5
cpio 2.4.2
cron 3.0.1-7
crypt 1.0-1
ctags 5.2-1
cvs 1.11.0-1
cygrunsrv 0.95-1
cygutils 1.1.2-1
cygwin 1.3.12-4
cygwin-doc 1.1-2
dejagnu 20010117-1
diff 1.0-1
diffutils 2.8.1-1
ed 0.2-1
expect 20010117-1
file 3.37-1
fileutils 4.1-1
findutils 4.1.7-4
flex 2.5.4-2
gawk 3.1.1-2
gcc 2.95.3-5
gdbm 1.8.0-4
gettext 0.11.2-2
ghostscript-base 7.05-1
ghostscript-x11 7.05-1
grep 2.5-1
groff 1.17.2-1
gzip 1.3.3-4
inetutils 1.3.2-19
jpeg 6b-7
less 374-1
libbz2_1 1.0.2-2
libguile14 1.5.6-5
libiconv2 1.8-2
libintl 0.10.38-3
libintl1 0.10.40-1
libintl2 0.11.2-2
libltdl3 20020705-2
libncurses5 5.2-1
libncurses6 5.2-8
libpng 1.2.4-2
libpng12 1.2.4-2
libpopt0 1.6.4-4
libreadline4 4.1-2
libreadline5 4.3-1
libtool 20020705-1
libtool-devel 20020705-2
libtool-stable 1.4.2-2
libungif 4.1.0-2
login 1.4-4
lynx 2.8.4-1
m4 0.0
make 3.79.1-7
man 1.5g-2
mingw-runtime 2.1-1
mktemp 1.4-1
ncurses 5.2-8
newlib-man 20020801
openssl 0.9.6g-1
openssl-devel 0.9.6g-1
patch 2.5-3
pcre 3.7-1
perl 5.6.1-2
perl_manpages 5.8.0-1
python 2.2.1-1
rcs 5.7-3
readline 4.3-1
regex 4.4-2
rxvt 2.7.2-10
sed 3.02-1
sh-utils 2.0-2
sharutils 4.2.1-2
shutdown 1.2-2
tar 1.13.19-1
tcltk 20001125-1
tcsh 6.11.00-4
termcap 20020403-1
terminfo 5.2-3
texinfo 4.2-3
textutils 2.0.21-1
tiff 3.5.7-1
time 1.7-1
ttcp 19980512-1
unzip 5.50-1
vim 6.1-2
w32api 2.0-1
wget 1.8.2-1
which 1.5-1
whois 4.5.17-1
zip 2.3-2
zlib 1.1.4-1
Use -h to see help about each section
--
Nfudd@speed-test.net
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/