Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <002b01c178fe$85534de0$e800a8c0@sknet01> From: "Stephano Mariani" To: Subject: Strange problem (no output) Date: Thu, 29 Nov 2001 17:51:49 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Hi! I am running cygwin on a Windows XP Pro system, 1Gig RAM, AMD Athlon XP 1500+. I am having a strange problem with cygwin... I built a program with gcc, which due to my poor programming suffered segmentation faults. Until I updated cygwin yesterday (I only got the new auto-tools, everything else was current already), this program would die as one might expect. However, now this program (with no changes, but I have tried various gcc flags) dies without any indication of error. Executing it in GDB shows the segfault occuring, but on its own I get nothing... I built a new program to figure this out, I allocated then freed some memory and tried to write to the freed memory, and again, within GDB i got the proper information, whereas outside GDB, ie in cygwin bash, I got nothing... no output! Stephano Mariani Here is the output from cygcheck -sr Cygnus Win95/NT Configuration Diagnostics Current System Time: Thu Nov 29 17:49:47 2001 Windows XP Professional Ver 5.1 build 2600 Path: E:\cygwin\usr\local\bin E:\cygwin\bin E:\cygwin\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem d:\DiskeeperServer\ e:\php e:\php\dlls e:\php\extensions e:\php\sapi SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS HOME = `E:\cygwin\home\Psycho2K' MAKE_MODE = `unix' PWD = `/cygdrive/g/sk/slang/src' USER = `Psycho2K' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x00000022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `E:/cygwin' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `E:/cygwin/bin' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `E:/cygwin/lib' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrd er\Start Menu2\Programs\Cygnus Solutions 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\Program Options a: fd N/A N/A c: hd NTFS 5004Mb 48% CP CS UN PA FC WINXP_BOOT d: hd NTFS 3004Mb 7% CP CS UN PA FC WINXP_APP e: hd NTFS 5004Mb 7% CP CS UN PA FC WINXP_DEV f: hd NTFS 753Mb 14% CP CS UN PA FC TMP g: hd NTFS 3012Mb 6% CP CS UN PA FC PRGM h: hd NTFS 1004Mb 1% CP CS UN PA FC PRGMBK i: hd NTFS 3004Mb 3% CP CS UN PA FC SCRATCH j: hd NTFS 2000Mb 9% CP CS UN PA FC G_DEV k: hd NTFS 2368Mb 1% CP CS UN PA FC C_DEV l: hd NTFS 8001Mb 8% CP CS UN PA FC MEWZAK m: hd NTFS 5004Mb 22% CP CS UN PA FC BIG_SHIT n: hd NTFS 4102Mb 98% CP CS UN PA FC SWAP_PAGE o: hd NTFS 2000Mb 1% CP CS UN PA FC MISCDLZ p: hd NTFS 2000Mb 1% CP CS UN PA FC EXPMTL q: hd NTFS 3004Mb 1% CP CS UN PA FC SK_STUFF r: hd NTFS 6628Mb 1% CP CS UN PA FC MISC s: hd NTFS 1506Mb 1% CP CS UN PA FC HK t: hd NTFS 5004Mb 1% CP CS UN PA FC BACKUP u: hd NTFS 15005Mb 7% CP CS UN PA FC DLZ v: cd N/A N/A w: cd CDFS 335Mb 100% CS UN CDRW_SW E:/cygwin / user binmode E:/cygwin/bin /usr/bin user binmode E:/cygwin/lib /usr/lib user binmode . /cygdrive user binmode,noumount Found: E:\cygwin\bin\bash.exe Found: E:\cygwin\bin\cat.exe Found: E:\cygwin\bin\cpp.exe Found: E:\cygwin\bin\find.exe Found: E:\cygwin\bin\gcc.exe Found: E:\cygwin\bin\gdb.exe Found: E:\cygwin\bin\ld.exe Found: E:\cygwin\bin\ls.exe Found: E:\cygwin\bin\make.exe Found: E:\cygwin\bin\sh.exe 56k 2000/12/03 E:\cygwin\bin\cygbz21.0.dll 821k 2001/11/19 E:\cygwin\bin\cygcrypto.dll 99k 2001/11/20 E:\cygwin\bin\cygcurl-2.dll 45k 2001/04/25 E:\cygwin\bin\cygform5.dll 34k 2001/09/30 E:\cygwin\bin\cygform6.dll 18k 2000/10/23 E:\cygwin\bin\cyggdbm.dll 17k 2001/06/28 E:\cygwin\bin\cyghistory4.dll 21k 2001/06/28 E:\cygwin\bin\cyghistory5.dll 21k 2001/06/20 E:\cygwin\bin\cygintl.dll 81k 2000/12/05 E:\cygwin\bin\cygitcl30.dll 35k 2000/12/05 E:\cygwin\bin\cygitk30.dll 45k 2001/07/04 E:\cygwin\bin\cygjbig1.dll 119k 2001/06/06 E:\cygwin\bin\cygjpeg6b.dll 26k 2001/04/25 E:\cygwin\bin\cygmenu5.dll 19k 2001/09/30 E:\cygwin\bin\cygmenu6.dll 156k 2001/04/25 E:\cygwin\bin\cygncurses++5.dll 175k 2001/09/30 E:\cygwin\bin\cygncurses++6.dll 226k 2001/04/25 E:\cygwin\bin\cygncurses5.dll 201k 2001/09/30 E:\cygwin\bin\cygncurses6.dll 15k 2001/04/25 E:\cygwin\bin\cygpanel5.dll 12k 2001/09/30 E:\cygwin\bin\cygpanel6.dll 40k 2001/11/21 E:\cygwin\bin\cygpcre.dll 39k 2001/11/21 E:\cygwin\bin\cygpcreposix.dll 163k 2001/05/06 E:\cygwin\bin\cygpng2.dll 108k 2001/06/28 E:\cygwin\bin\cygreadline4.dll 135k 2001/06/28 E:\cygwin\bin\cygreadline5.dll 66k 2001/11/20 E:\cygwin\bin\cygregex.dll 231k 2001/11/19 E:\cygwin\bin\cygssl.dll 390k 2000/12/05 E:\cygwin\bin\cygtcl80.dll 5k 2000/12/05 E:\cygwin\bin\cygtclpip80.dll 10k 2000/12/05 E:\cygwin\bin\cygtclreg80.dll 245k 2001/06/12 E:\cygwin\bin\cygtiff3.dll 623k 2000/12/05 E:\cygwin\bin\cygtk80.dll 41k 2001/07/04 E:\cygwin\bin\cygXpm-noX4.dll 45k 2001/07/04 E:\cygwin\bin\cygXpm-X4.dll 49k 2001/02/03 E:\cygwin\bin\cygz.dll 714k 2001/11/14 E:\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.3.5 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 47 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: Tue Nov 13 23:16:25 EST 2001 CVS tag: cygwin-1-3-5-2 Shared id: cygwin1S3 Cygwin Package Information Package Version ash 20011018-1 autoconf 2.52-5 autoconf-devel 2.52-4 autoconf-devel-src 2.52-4 autoconf-src 2.52-5 autoconf-stable 2.13-4 autoconf-stable-src 2.13-4 automake 1.5a-1 automake-devel 1.5-5 automake-devel-src 1.5-5 automake-src 1.5a-1 automake-stable 1.4p5-5 automake-stable-src 1.4p5-5 bash 2.05a-2 binutils 20011002-1 bison 1.28-1 byacc 0.0 bzip2 1.0.1-6 clear 1.0 cpio 2.4.2 cron 3.0.1-5 crypt 1.0-1 ctags 5.0.1-1 curl 7.9.1-2 cvs 1.11.0-1 cygrunsrv 0.94-2 cygwin 1.3.5-3 dejagnu 20010117-1 diff 0.0 expect 20010117-1 file 3.33-1 fileutils 4.1-1 findutils 0.0 flex 2.5.4-1 gawk 3.0.4-1 gcc 2.95.3-5 gdb 20010428-3 gdbm 1.8.0-3 gettext 0.10.38-2 ghostscript 6.51-1 gperf 0.0 grep 2.4.2-1 groff 1.17.2-1 gzip 1.3.2-1 indent 2.2.6-2 inetutils 1.3.2-15 irc 20010101-1 jbigkit 1.2-4 jpeg 6b-4 less 358-3 libncurses5 5.2-1 libncurses6 5.2-2 libpng 1.0.11-1 login 1.4-2 lynx 2.8.4-1 m4 0.0 make 3.79.1-5 man 1.5g-2 mingw 20010917-1 mingw-runtime 1.1-1 mktemp 1.4-1 mt 2.0.1-1 mutt 1.2.5i-5 nano 1.0.6-1 ncftp 3.0.2-2 ncurses 5.2-7 newlib-man 20001118-1 opengl 1.1.0-5 openssh 3.0.1p1-2 openssl 0.9.6b-2 patch 2.5-2 pcre 3.7-1 perl 5.6.1-2 popt 1.6.2-1 postgresql 7.1.3-1 python 2.1.1-2 readline 4.2-3 regex 4.4-2 rsync 2.4.6-3 rxvt 2.7.2-6 sed 3.02-1 sh-utils 2.0-2 sharutils 4.2.1-1 shutdown 1.2-2 shutdown-src 1.2-2 squid 2.4-STABLE20010508 ssmtp 2.38.7-3 tar 1.13.19-1 tcltk 20001125-1 tcsh 6.10.00-3 termcap 20010825-1 terminfo 5.2-1 tetex-beta 20001218-1 texinfo 4.0-4 textutils 2.0.16-1 tiff 3.5.6beta-2 time 1.7-1 unzip 5.41-1 vim 6.0.93-1 w32api 1.1-1 wget 1.7-1 which 1.5-1 xpm-nox 4.1.0-1 zip 2.3-1 zlib 1.1.3-6 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/