public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* g++ (v.3.1.1-4)  -mno-cygwin with a hello world sample crashes oddly
@ 2002-07-20 18:44 Dylan Cuthbert
  2002-07-20 18:57 ` Christopher Faylor
  2002-07-21  3:39 ` Gerrit P. Haase
  0 siblings, 2 replies; 33+ messages in thread
From: Dylan Cuthbert @ 2002-07-20 18:44 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 972 bytes --]


Hi all, Here is a very simple test program I am compiling with
g++ -mno-cygwin -c test.cpp -o test.exe

--- snip ---

#include <iostream>

int main (int argc, char *argv[])
{
 int frog = 10;
 int blob = 20;

 for ( int i = 0; i < 10; i++ )
 {
  std::cout << "hello world" << frog << " " << blob << std::endl;

  frog += blob;

 }

 return(0);
}

--- snip ---

When I run this from a command.com style window, a very strange thing
happens - the text cursor starts jumping about the screen in a repeated
pattern (I'm not joking, I thought it was a virus or something at first).
When I run it from rxvt, rxvt just freezes on me after I press ctrl-c.

In both cases I have to use the task manager to close down a task called
ntvdm.exe which is using up 50% of the cpu time.  If I end that task the
prompt returns to rxvt (or the command.com shell).

cygcheck -sv output is attached.

Regards

---------------------------------
Q-Games, Dylan Cuthbert.
http://www.q-games.com

[-- Attachment #2: cyginfo.lst --]
[-- Type: application/octet-stream, Size: 14732 bytes --]


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Sat Jul 20 16:13:16 2002

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2

Path:	d:\cygwin\usr\local\bin
	d:\cygwin\bin
	d:\cygwin\bin
	c:\WINNT\system32
	c:\WINNT
	c:\WINNT\System32\Wbem
	d:\cygwin\home\dylan\projects\global
	d:\cygwin\usr\local\bin
	d:\cygwin\bin
	c:\WINNT\system32
	c:\WINNT
	c:\WINNT\System32\Wbem

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

CYGWIN = `binmode'
HOME = `d:\cygwin\home\Dylan'
MAKE_MODE = `unix'
PWD = `/home/Dylan'
USER = `Dylan'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\dylan\Application Data'
COLORFGBG = `0;default;15'
COLORTERM = `rxvt-xpm'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `DCUTHBERT-2K'
COMSPEC = `C:\WINNT\system32\cmd.exe'
DISPLAY = `:0'
HOMEDRIVE = `C:'
HOMEPATH = `\'
LOGONSERVER = `\\DCUTHBERT-2K'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `2'
OLDPWD = `/cygdrive/c'
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 6 Stepping 1, AuthenticAMD'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0601'
PROGRAMFILES = `C:\Program Files'
PROJECT_USER = `dylan'
PS1 = `\[\033]0;\w\007\033[32m\]\u@\h \[\033[33m\w\033[0m\]
 $ '
Q_JOYPAD = `1'
SHLVL = `1'
STASYS_BOOT = `ls-config local ; stasys-load'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\DOCUME~1\dylan\LOCALS~1\Temp'
TERM = `xterm'
TMP = `c:\DOCUME~1\dylan\LOCALS~1\Temp'
USERDOMAIN = `DCUTHBERT-2K'
USERNAME = `dylan'
USERPROFILE = `C:\Documents and Settings\dylan'
WINDIR = `C:\WINNT'
WINDOWID = `167848352'
_ = `/usr/bin/cygcheck'

Use `-r' to scan registry

a:  fd           N/A    N/A                    
c:  hd  NTFS   51199Mb  11% CP CS UN PA FC     WIN2K
d:  hd  NTFS   44351Mb  14% CP CS UN PA FC     WORK
f:  cd           N/A    N/A                    

.              /cygdrive  user    textmode,cygdrive
d:/cygwin      /          system  binmode
d:/cygwin/bin  /usr/bin   system  binmode
d:/cygwin/lib  /usr/lib   system  binmode
.              /cygdrive  user    binmode,cygdrive

Found: d:\cygwin\bin\bash.exe
Found: d:\cygwin\bin\cat.exe
Found: d:\cygwin\bin\cpp.exe
Found: d:\cygwin\bin\find.exe
Found: d:\cygwin\bin\gcc.exe
Found: d:\cygwin\bin\gdb.exe
Found: d:\cygwin\bin\ld.exe
Found: d:\cygwin\bin\ls.exe
Found: d:\cygwin\bin\make.exe
Found: d:\cygwin\bin\sh.exe

   58k 2002/05/07 d:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2002/5/7 15:33
  621k 2002/05/17 d:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto.dll" v0.0 ts=2002/5/17 21:24
  111k 2002/06/13 d:\cygwin\bin\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygcurl-2.dll" v0.0 ts=2002/6/13 23:58
   50k 2002/03/17 d:\cygwin\bin\cygexslt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygexslt-0.dll" v0.0 ts=2002/3/17 15:24
   45k 2001/04/25 d:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25 14:28
   35k 2002/01/09 d:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/9 15:03
   19k 2002/02/20 d:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/20 12:05
   20k 2002/07/17 d:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2002/7/18 6:18
  929k 2002/06/24 d:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2002/6/25 3:24
   22k 2001/12/13 d:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 18:28
   23k 2002/06/24 d:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2002/6/24 13:54
   21k 2001/06/20 d:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2001/6/21 2:09
   45k 2002/02/08 d:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
                  "cygjbig1.dll" v0.0 ts=2002/2/8 8:59
  119k 2002/02/09 d:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2002/2/9 14:19
   25k 2002/07/07 d:\cygwin\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygltdl-3.dll" v0.0 ts=2002/7/6 14:15
   26k 2001/04/25 d:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25 14:27
   20k 2002/01/09 d:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/9 15:03
  156k 2001/04/25 d:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 14:29
  175k 2002/01/09 d:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/9 15:03
  226k 2001/04/25 d:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25 14:17
  202k 2002/01/09 d:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/9 15:03
   15k 2001/04/25 d:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25 14:27
   12k 2002/01/09 d:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/9 15:03
   40k 2001/11/21 d:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2001/11/22 7:15
   39k 2001/11/21 d:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix.dll" v0.0 ts=2001/11/22 7:15
  175k 2002/05/24 d:\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng12.dll" v0.0 ts=2002/5/24 11:22
  170k 2002/01/21 d:\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng2.dll" v0.0 ts=2002/1/21 10:05
   22k 2002/06/09 d:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 14:45
  127k 2002/07/17 d:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2002/7/18 6:18
   66k 2001/11/20 d:\cygwin\bin\cygregex.dll - os=4.0 img=1.0 sys=4.0
                  "cygregex.dll" v0.0 ts=2001/11/20 23:44
  156k 2002/05/17 d:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl.dll" v0.0 ts=2002/5/17 21:24
  549k 2002/07/19 d:\cygwin\bin\cygtcl83.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl83.dll" v0.0 ts=2002/7/19 12:42
   11k 2002/07/19 d:\cygwin\bin\cygtclpip83.dll - os=4.0 img=1.0 sys=4.0
  253k 2002/02/10 d:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2002/2/10 17:34
  221k 2002/07/19 d:\cygwin\bin\cygtix4183.dll - os=4.0 img=1.0 sys=4.0
                  "cygtix4183.dll" v0.0 ts=2002/7/19 12:43
  830k 2002/07/19 d:\cygwin\bin\cygtk83.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk83.dll" v0.0 ts=2002/7/19 12:43
 1248k 2002/03/17 d:\cygwin\bin\cygxml2-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygxml2-2.dll" v0.0 ts=2002/3/17 12:45
   41k 2002/01/20 d:\cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-noX4.dll" v0.0 ts=2002/1/21 3:49
   46k 2002/01/20 d:\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-X4.dll" v0.0 ts=2002/1/21 3:50
  152k 2002/03/17 d:\cygwin\bin\cygxslt-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxslt-1.dll" v0.0 ts=2002/3/17 15:19
   15k 2002/03/17 d:\cygwin\bin\cygxsltbreakpoint-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxsltbreakpoint-1.dll" v0.0 ts=2002/3/17 15:24
   50k 2002/03/12 d:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2002/3/12 13:38
  883k 2002/07/06 d:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2002/7/6 15: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: \\Q-server\downloads\developer\cygwin 1.3.10
Last downloaded files from: http://mirrors.rcn.net/pub/sourceware/cygwin

Package             Version             
_update-info-dir    00021-1             
ash                 20020131-1          
autoconf            2.53a-1             
autoconf-devel      2.53a-1             
autoconf-stable     2.13-4              
automake            1.6.1-1             
automake-devel      1.6.2-1             
automake-stable     1.4p5-5             
bash                2.05a-3             
bc                  1.06-1              
binutils            20020706-2          
bison               1.35-1              
byacc               1.9-1               
bzip2               1.0.2-2             
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               
curl                7.9.8-1             
cvs                 1.11.0-1            
cygrunsrv           0.95-1              
cygutils            1.1.1-1             
cygwin              1.3.12-2            
dejagnu             20010117-1          
diff                1.0-1               
diffutils           2.8.1-1             
ed                  0.2-1               
expect              20010117-1          
figlet              2.2-1               
file                3.37-1              
fileutils           4.1-1               
findutils           4.1.7-4             
flex                2.5.4-2             
fortune             1.8-2               
gawk                3.0.4-1             
gcc                 3.1.1-4             
gcc-mingw           3_1-20020516-2      
gcc2                2.95.3-9            
gdb                 20020718-1          
gdbm                1.8.0-4             
gettext             0.11.2-2            
ghostscript         7.05-1              
gperf               0.0                 
grep                2.5-1               
groff               1.17.2-1            
gzip                1.3.3-1             
indent              2.2.8-1             
inetutils           1.3.2-18            
irc                 20010101-1          
jbigkit             1.2-6               
jpeg                6b-7                
less                374-1               
libbz2_1            1.0.2-2             
libiconv2           1.8-2               
libintl             0.10.38-3           
libintl1            0.10.40-1           
libintl2            0.11.2-2            
libncurses5         5.2-1               
libncurses6         5.2-8               
libpng              1.2.3-1             
libpng12            1.2.3-1             
libpng2             1.0.12-1            
libpopt0            1.6.4-4             
libreadline4        4.1-2               
libreadline5        4.3-1               
libtool             20020202a-1         
libtool-devel       20020705-1          
libtool-stable      1.4.2-2             
libxml2             2.4.17-1            
libxslt             1.0.13-1            
links               0.96-1              
login               1.4-3               
lynx                2.8.4-1             
m4                  0.0                 
make                3.79.1-7            
man                 1.5g-2              
mingw-runtime       2.0-2               
mktemp              1.4-1               
mt                  2.0.1-1             
mutt                1.2.5i-6            
nano                1.0.7-1             
ncftp               3.1.3-1             
ncurses             5.2-8               
newlib-man          20001118-1          
opengl              1.1.0-6             
openssh             3.4p1-3             
openssl             0.9.6d-1            
openssl-devel       0.9.6d-1            
patch               2.5-3               
pcre                3.7-1               
perl                5.6.1-2             
popt                1.6.4-4             
postgresql          7.2.1-2             
python              2.2.1-1             
rcs                 5.7-3               
readline            4.3-1               
regex               4.4-2               
robots              2.0-1               
rsync               2.5.5-1             
rxvt                2.7.2-10            
sed                 3.02-1              
sh-utils            2.0-2               
sharutils           4.2.1-2             
shutdown            1.2-2               
squid               2.4.STABLE6-1       
ssmtp               2.38.7-3            
tar                 1.13.25-1           
tcltk               20001125-1          
tcsh                6.11.00-4           
termcap             20020403-1          
terminfo            5.2-3               
tetex-beta          20001218-4          
texinfo             4.2-3               
texmf               20000804-2          
texmf-base          20000804-2          
texmf-doc           20000804-2          
texmf-extra         20000804-2          
texmf-tiny          20000804-2          
textutils           2.0.21-1            
tiff                3.5.7-1             
time                1.7-1               
units               1.77-1              
unzip               5.50-1              
vim                 6.1-2               
w32api              1.5-1               
wget                1.8.1-1             
which               1.5-1               
whois               4.5.17-1            
xpm-nox             4.2.0-1             
zip                 2.3-2               
zlib                1.1.4-1             

Use -h to see help about each section


[-- Attachment #3: Type: text/plain, Size: 214 bytes --]

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

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2002-07-22  5:18 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-20 18:44 g++ (v.3.1.1-4) -mno-cygwin with a hello world sample crashes oddly Dylan Cuthbert
2002-07-20 18:57 ` Christopher Faylor
2002-07-20 19:13   ` Jim George
2002-07-20 23:40   ` Dylan Cuthbert
2002-07-21  0:43     ` Robert Collins
2002-07-21  1:52       ` g++ (v.3.1.1-4) -mno-cygwin with a hello world sample crashesoddly Dylan Cuthbert
2002-07-21  2:21         ` Robert Collins
2002-07-22  0:46     ` g++ (v.3.1.1-4) -mno-cygwin with a hello world sample crashes oddly Gary R. Van Sickle
2002-07-21  3:39 ` Gerrit P. Haase
2002-07-21  5:54   ` Sylvain Petreolle
2002-07-21  5:55     ` Sylvain Petreolle
2002-07-21  7:59     ` Gerrit P. Haase
2002-07-21  9:51       ` Sylvain Petreolle
2002-07-21 10:00         ` Dylan Cuthbert
2002-07-21 11:49         ` Gerrit P. Haase
2002-07-21  7:39   ` Dylan Cuthbert
2002-07-21  8:01     ` Gerrit P. Haase
2002-07-21  9:58       ` Dylan Cuthbert
2002-07-21  9:58         ` Robert Collins
2002-07-21 10:48           ` Robert Collins
2002-07-21 11:53             ` Gerrit P. Haase
2002-07-21 13:12               ` Christopher Faylor
2002-07-21 13:21             ` Christopher Faylor
2002-07-21 18:37               ` Robert Collins
2002-07-21 19:49                 ` Christopher Faylor
2002-07-21 20:09                   ` Robert Collins
2002-07-22  1:39                 ` Gerrit P. Haase
2002-07-21 12:43       ` Randall R Schulz
2002-07-21 13:05         ` Gerrit P. Haase
2002-07-21 13:21         ` Christopher Faylor
2002-07-21 14:58           ` Sylvain Petreolle
2002-07-21 20:33             ` Christopher Faylor
2002-07-22  0:00               ` Dylan Cuthbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).