This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
gcc compile error - Couln't duplicate my handle
- From: David Reiter <dreiter at mp3 dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 15 May 2002 16:11:05 -0700 (PDT)
- Subject: gcc compile error - Couln't duplicate my handle
Hi,
I am trying to use gcc to compile a sample program and I
get this error:
0 [main] gcc 2244 proc_subproc: Couldn't duplicate my handle<0x2C> for pid 1988, Win32 error 6
Also at the same time I get this windows box that pops up:
"16 bit MS-DOS Subsystem"
/db-3.3.11/build_unix
The NTVDM CPU has encountered and illegal instruction.
C5:0ddd5 IP:00b5 OP:63 63 46 61 74 Choose 'Close' to terminate the
application.
The program is just a simple "hello world" program. The command I use
is gcc main.c. I saw a post for back in April with the same error
message, but I did not see any resolution to it. Any information
is most appreciated. Following is the output from cygcheck.
David.
---------------------------------------------------
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed May 15 15:52:26 2002
Windows 2000 Server Ver 5.0 Build 2195 Service Pack 2
Path: C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\Program Files\Resource Kit\
C:\cygwin\bin
SysDir: C:\WINNT\System32
WinDir: C:\WINNT
HOME = `C:\cygwin\home\dreiter'
MAKE_MODE = `unix'
PWD = `/home/dreiter'
USER = `dreiter'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\dreiter\Application Data'
CLIENTNAME = `VUNET-67K30NIHL'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `WINREALMDEV02'
COMSPEC = `C:\WINNT\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\dreiter'
LOGONSERVER = `\\ACTIVED01'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `2'
OLDPWD = `/usr/bin'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 10, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `080a'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SESSIONNAME = `RDP-Tcp#17'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\DOCUME~1\dreiter\LOCALS~1\Temp\2'
TERM = `cygwin'
TMP = `c:\DOCUME~1\dreiter\LOCALS~1\Temp\2'
USERDNSDOMAIN = `actived.mp3.com'
USERDOMAIN = `ACTIVED'
USERNAME = `dreiter'
USERPROFILE = `C:\Documents and Settings\dreiter'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'
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
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
(default) = 0x0000000a
native = `C:/cygwin'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = 0x0000000a
native = `C:/cygwin/bin'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = 0x0000000a
native = `C:/cygwin/lib'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
a: fd N/A N/A
c: hd NTFS 4000Mb 78% CP CS UN PA FC
d: hd NTFS 30992Mb 1% CP CS UN PA FC Data
e: cd N/A N/A
C:/cygwin / system binmode
C:/cygwin/bin /usr/bin system binmode
C:/cygwin/lib /usr/lib system binmode
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:\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
56k 2000/12/03 C:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
"cygbz21.0.dll" v0.0 ts=2000/11/20 15:53
621k 2002/01/16 C:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto.dll" v0.0 ts=2002/1/16 1:54
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
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
18k 2000/10/23 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm.dll" v0.0 ts=2000/10/22 19:26
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
20k 2002/01/13 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
"cyghistory5.dll" v0.0 ts=2002/1/12 17:27
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
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
35k 2002/02/04 C:\cygwin\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0
"cygltdl-3.dll" v0.0 ts=2002/2/3 17:56
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
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
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
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
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
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
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
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
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
121k 2002/01/13 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
"cygreadline5.dll" v0.0 ts=2002/1/12 17:27
156k 2002/01/16 C:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
"cygssl.dll" v0.0 ts=2002/1/16 1:54
50k 2002/01/20 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2002/1/20 11:41
751k 2002/01/21 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2002/1/21 9:48
Cygwin DLL version info:
DLL version: 1.3.9
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 51
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: Mon Jan 21 12:48:41 EST 2002
Shared id: cygwin1S3
Cygwin Package Information
Last downloaded files to: C:\cygwin\packages
Last downloaded files from: ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin
Package Version
ash 20020131-1
autoconf 2.52a-1
autoconf-devel 2.52-4
autoconf-stable 2.13-4
automake 1.5b-1
automake-devel 1.5-5
automake-stable 1.4p5-5
bash 2.05a-2
binutils 20011002-1
bzip2 1.0.1-6
cron 3.0.1-5
crypt 1.0-1
cvs 1.11.0-1
cygrunsrv 0.94-2
cygutils 0.9.8-1
cygwin 1.3.9-1
diff 0.0
fileutils 4.1-1
findutils 4.1
gawk 3.0.4-1
gcc 2.95.3-5
gdbm 1.8.0-3
grep 2.4.2-1
groff 1.17.2-1
gzip 1.3.2-1
inetutils 1.3.2-17
less 358-3
libintl 0.10.38-3
libintl1 0.10.40-1
libncurses5 5.2-1
libncurses6 5.2-8
libreadline4 4.1-2
libreadline5 4.2a-1
libtool 20010531a-1
libtool-devel 20020202-1
libtool-stable 1.4.2-2
login 1.4-3
lynx 2.8.4-1
m4 0.0
make 3.79.1-5
man 1.5g-2
mktemp 1.4-1
ncftp 3.0.2-2
ncurses 5.2-8
openssh 3.0.2p1-5
openssl 0.9.6c-3
patch 2.5-2
perl 5.6.1-2
popt 1.6.2-1
readline 4.2a-1
rsync 2.5.1-2
sed 3.02-1
sh-utils 2.0-2
shutdown 1.2-2
tar 1.13.19-1
termcap 20010825-1
terminfo 5.2-1
textutils 2.0.16-1
time 1.7-1
unzip 5.41-1
vim 6.0.93-1
w32api 1.2-1
wget 1.8-1
which 1.5-1
zip 2.3-1
zlib 1.1.3-7
Use -h to see help about each section
--
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/