Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Mike Bresnahan" To: Subject: dumper.exe zero-length core files Date: Fri, 14 Mar 2003 22:15:38 -0800 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0000_01C2EA77.3E9560A0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Note-from-DJ: This may be spam ------=_NextPart_000_0000_01C2EA77.3E9560A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I'm having troubles getting dumper.exe to work. I always get a zero-length core file. I have the lastest stuff as of tonight, I have read the FAQ and the man page, and I have searched the mailing list archive. Any help would be greatly apprieciated. I am using: Windows 2000 SP3 Cygwin 1.3.21 My CYGWIN environment variable is set thusly: ~/crash: echo $CYGWIN nontsec error_start=C:\cygwin\bin\dumper.exe I don't have core file sizes limited: ~/crash: ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited open files (-n) 256 pipe size (512 bytes, -p) 8 stack size (kbytes, -s) 2047 cpu time (seconds, -t) unlimited max user processes (-u) 63 virtual memory (kbytes, -v) 2097152 I have the following test program: ~/crash: cat crash.c int main( int argc, char *argv[]) { char *c = 0; c[0] = 6; } Which I compile like this: ~/crash: gcc -g crash.c When I execute my test program I get the following output: ~/crash: ./a.exe 5 [main] a 1944 handle_exceptions: Error while dumping state (probably corrupted stack) Segmentation fault (core dumped) I also get a seperate cmd.exe window with the following contents: 18653 [main] dumper 1716 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION 19168 [main] dumper 1716 open_stackdumpfile: Dumping stack trace to dumper.exe.stackdump And I get the following files: ~/crash: ls -l total 23 21 -rwxr-xr-x 1 Administ None 20655 Mar 14 22:04 a.exe* 0 -rw-r--r-- 1 Administ None 0 Mar 14 22:04 a.exe.core 1 -rw-r--r-- 1 Administ None 69 Mar 2 11:34 crash.c 1 -rw-r--r-- 1 Administ None 298 Mar 14 22:04 dumper.exe.stackdump For good measure I have attached the output of cygcheck -s -v -r. As a final note, before upgrading to the latest stuff, I was getting no core file at all nor a cmd.exe window. Mike ------=_NextPart_000_0000_01C2EA77.3E9560A0 Content-Type: application/octet-stream; name="cygcheck.out" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="cygcheck.out" Cygwin Win95/NT Configuration Diagnostics Current System Time: Fri Mar 14 22:06:49 2003 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3 Path: C:\cygwin\home\administrator\mjp\b\dist\mjp-00.06-win32\bin C:\cygwin\home\administrator\bin C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C C:\cygwin\j2sdk1.4.1_01\bin C:\cygwin\home\administrator\jakarta-ant-1.5.1\bin f:\oracle\ora92\bin C:\Program Files\Oracle\jre\1.3.1\bin C:\Program Files\Oracle\jre\1.1.8\bin C:\WINNT\system32 C:\WINNT C:\WINNT\System32\Wbem C:\cygwin\bin C:\cygwin\usr\local\bin C:\Program Files\Rational\common C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin C:\Program Files\Microsoft Visual Studio\Common\Tools C:\Program Files\Microsoft Visual Studio\VC98\bin C:\cygwin\bin\id.exe output (nontsec) UID: 500(Administrator) GID: 513(None) 513(None) C:\cygwin\bin\id.exe output (ntsec) UID: 500(Administrator) GID: 513(None) 513(None) SysDir: C:\WINNT\System32 WinDir: C:\WINNT CYGWIN =3D `nontsec error_start=3DC:\cygwin\bin\dumper.exe' HOME =3D `C:\cygwin\home\administrator' PWD =3D `/home/administrator/crash' ALLUSERSPROFILE =3D `C:\Documents and Settings\All Users' APPDATA =3D `C:\Documents and Settings\Administrator\Application Data' COLORFGBG =3D `default;default;0' COLORTERM =3D `rxvt-xpm' COMMONPROGRAMFILES =3D `C:\Program Files\Common Files' COMPUTERNAME =3D `ANELGINANALAS' COMSPEC =3D `C:\WINNT\system32\cmd.exe' CVSROOT =3D `:ext:gudujarlson AT cvs DOT mjp DOT sourceforge DOT net:/cvsroot/mjp' CVS_RSH =3D `ssh' DISPLAY =3D `:0' HOMEDRIVE =3D `C:' HOMEPATH =3D `\' INCLUDE =3D `C:\Program Files\Microsoft Visual = Studio\VC98\atl\include;C:\Program Files\Microsoft Visual = Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual = Studio\VC98\include' J2EE_HOME =3D `C:/j2sdkee1.3' JAVA_HOME =3D `C:/j2sdk1.4.1_01' JSERV =3D `F:\oracle\ora92/Apache/Jserv/conf' LESS =3D `-eM' LIB =3D `C:\Program Files\Microsoft Visual = Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual Studio\VC98\lib' LOGONSERVER =3D `\\ANELGINANALAS' MJP_HOME =3D `C:/cygwin/home/administrator/mjp/b/dist/mjp-00.06-win32' MSDEVDIR =3D `C:\Program Files\Microsoft Visual Studio\Common\MSDev98' NUMBER_OF_PROCESSORS =3D `1' OLDPWD =3D `/home/administrator' OS2LIBPATH =3D `C:\WINNT\system32\os2\dll;' OS =3D `Windows_NT' OSTYPE =3D `cygwin' PATHEXT =3D `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE =3D `x86' PROCESSOR_IDENTIFIER =3D `x86 Family 6 Model 8 Stepping 6, GenuineIntel' PROCESSOR_LEVEL =3D `6' PROCESSOR_REVISION =3D `0806' PROGRAMFILES =3D `C:\Program Files' PROMPT =3D `$P$G' PS1 =3D `\w: ' SGML_CATALOG_FILES =3D = `C:/cygwin/home/administrator/DocBook/docbook-xml-4.2/docbook.cat;C:/cygw= in//usr/local/lib/sgml/dtd/dsssl/catalog;C:/cygwin//home/administrator/Do= cBook/docbook-dsssl-1.77/catalog;C:/cygwin/usr/local/lib/sgml/dtd/catalog= ' SHLVL =3D `1' SYSTEMDRIVE =3D `C:' SYSTEMROOT =3D `C:\WINNT' TEMP =3D `C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp' TERM =3D `xterm' TMP =3D `C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp' USERDOMAIN =3D `ANELGINANALAS' USERNAME =3D `administrator' USERPROFILE =3D `C:\Documents and Settings\Administrator' WINDIR =3D `C:\WINNT' WINDOWID =3D `168047872' WV_GATEWAY_CFG =3D `F:\oracle\ora92\Apache\modplsql\cfg\wdbsvr.app' _ =3D `/usr/bin/cygcheck' nontsec error_start =3D `C:\cygwin\bin\dumper.exe' 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) =3D `/cygdrive' cygdrive flags =3D 0x00000022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) =3D `C:\cygwin' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/c (default) =3D `C:' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/f (default) =3D `f:' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) =3D `C:\cygwin/bin' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) =3D `C:\cygwin/lib' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts = v2\/usr/X11R6/lib/X11/fonts (default) =3D `C:\cygwin\usr\X11R6\lib\X11\fonts' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/A N/A =20 c: hd NTFS 38138Mb 15% CP CS UN PA FC =20 d: cd N/A N/A =20 e: cd N/A N/A =20 f: hd NTFS 117239Mb 34% CP CS UN PA FC New Volume C:\cygwin / system = binmode C: /c system = binmode f: /f 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 system = binmode,cygdrive Found: C:\cygwin\bin\awk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cp.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: C:\cygwin\bin\grep.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\mv.exe Found: C:\cygwin\bin\rm.exe Found: C:\cygwin\bin\sed.exe Found: C:\cygwin\bin\sh.exe Found: C:\cygwin\bin\tar.exe 58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygbz2-1.dll" v0.0 ts=3D2002/5/6 23:33 6k 2002/06/24 C:\cygwin\bin\cygcharset-1.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygcharset-1.dll" v0.0 ts=3D2002/6/24 11:23 847k 2003/02/19 C:\cygwin\bin\cygcrypto-0.9.7.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygcrypto-0.9.7.dll" v0.0 ts=3D2003/2/19 9:39 806k 2003/02/19 C:\cygwin\bin\cygcrypto.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygcrypto.dll" v0.0 ts=3D2003/2/19 10:09 493k 2002/11/19 C:\cygwin\bin\cygcurl-2.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygcurl-2.dll" v0.0 ts=3D2002/11/19 6:38 45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygform5.dll" v0.0 ts=3D2001/4/24 22:28 35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygform6.dll" v0.0 ts=3D2002/1/8 22:03 19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cyggdbm.dll" v0.0 ts=3D2002/2/19 19:05 490k 2002/09/21 C:\cygwin\bin\cygguile-12.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygguile-12.dll" v0.0 ts=3D2002/9/21 3:01 63k 2002/09/21 C:\cygwin\bin\cygguile-srfi-srfi-13-14-v-1-1.dll - = os=3D4.0 img=3D1.0 sys=3D4.0 "cygguile-srfi-srfi-13-14-v-1-1.dll" v0.0 = ts=3D2002/9/21 3:01 24k 2002/09/21 C:\cygwin\bin\cygguile-srfi-srfi-4-v-1-1.dll - = os=3D4.0 img=3D1.0 sys=3D4.0 "cygguile-srfi-srfi-4-v-1-1.dll" v0.0 ts=3D2002/9/21 = 3:01 14k 2002/09/21 C:\cygwin\bin\cygguilereadline-v-12-12.dll - os=3D4.0 = img=3D1.0 sys=3D4.0 "cygguilereadline-v-12-12.dll" v0.0 ts=3D2002/9/21 = 3:01 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cyghistory4.dll" v0.0 ts=3D2001/1/6 20:34 20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cyghistory5.dll" v0.0 ts=3D2002/10/10 10:28 929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygiconv-2.dll" v0.0 ts=3D2002/6/24 11:24 22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygintl-1.dll" v0.0 ts=3D2001/12/13 1:28 28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygintl-2.dll" v0.0 ts=3D2002/9/19 20:13 21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygintl.dll" v0.0 ts=3D2001/6/20 10:09 61k 2003/03/05 C:\cygwin\bin\cygkpathsea-3.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygkpathsea-3.dll" v0.0 ts=3D2003/3/5 12:09 32k 2003/02/17 C:\cygwin\bin\cygltdl-3.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygltdl-3.dll" v0.0 ts=3D2003/2/16 20:18 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygmenu5.dll" v0.0 ts=3D2001/4/24 22:27 20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygmenu6.dll" v0.0 ts=3D2002/1/8 22:03 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygncurses++5.dll" v0.0 ts=3D2001/4/24 22:29 175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygncurses++6.dll" v0.0 ts=3D2002/1/8 22:03 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygncurses5.dll" v0.0 ts=3D2001/4/24 22:17 202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygncurses6.dll" v0.0 ts=3D2002/1/8 22:03 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygpanel5.dll" v0.0 ts=3D2001/4/24 22:27 12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygpanel6.dll" v0.0 ts=3D2002/1/8 22:03 40k 2001/11/21 C:\cygwin\bin\cygpcre.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygpcre.dll" v0.0 ts=3D2001/11/21 14:15 39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygpcreposix.dll" v0.0 ts=3D2001/11/21 14:15 22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygpopt-0.dll" v0.0 ts=3D2002/6/8 22:45 108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygreadline4.dll" v0.0 ts=3D2001/1/6 20:34 127k 2002/10/10 C:\cygwin\bin\cygreadline5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygreadline5.dll" v0.0 ts=3D2002/10/10 10:28 177k 2003/02/19 C:\cygwin\bin\cygssl-0.9.7.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygssl-0.9.7.dll" v0.0 ts=3D2003/2/19 9:39 227k 2003/02/19 C:\cygwin\bin\cygssl.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygssl.dll" v0.0 ts=3D2003/2/19 10:09 2689k 2002/11/16 C:\cygwin\bin\cygxerces-c21.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygxerces-c21.dll" v0.0 ts=3D2002/11/15 20:07 50k 2002/03/12 C:\cygwin\bin\cygz.dll - os=3D4.0 img=3D1.0 sys=3D4.0 "cygz.dll" v0.0 ts=3D2002/3/11 20:38 947k 2003/03/12 C:\cygwin\bin\cygwin1.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygwin1.dll" v0.0 ts=3D2003/3/11 21:24 Cygwin DLL version info: DLL version: 1.3.21 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 77 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:=20 Build date: Wed Mar 12 00:24:29 EST 2003 CVS tag: dontuse-21 Shared id: cygwin1S3 Cygwin Package Information Last downloaded files to: F:\Downloads\Cygwin Last downloaded files from: = ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin Package Version _update-info-dir 00152-1 ash 20020731-1 autoconf 2.54-1 autoconf-devel 2.57-1 autoconf-stable 2.13-4 automake 1.7.1-1 automake-devel 1.7.3-1 automake-stable 1.4p5-5 base-files 1.1-1 base-passwd 1.1-1 bash 2.05b-9 binutils 20030307-1 bison 20030307-1 byacc 1.9-1 bzip2 1.0.2-2 cron 3.0.1-7 crypt 1.0-1 ctags 5.2-1 curl 7.10.2-1 cvs 1.11.0-1 cygrunsrv 0.95-1 cygutils 1.1.3-1 cygwin 1.3.21-1 cygwin-doc 1.3-2 diff 1.0-1 diffutils 2.8.1-1 expect 20030128-1 file 3.39-1 fileutils 4.1-1 findutils 4.1.7-4 flex 2.5.4-2 gawk 3.1.1-5 gcc 3.2-3 gcc-mingw 20020817-5 gdb 20030303-1 gdbm 1.8.0-4 gettext 0.11.5-1 grep 2.5-1 groff 1.18.1-2 guile 1.6.0-1 gzip 1.3.3-4 inetutils 1.3.2-20 less 378-1 libbz2_1 1.0.2-2 libcharset1 1.8-2 libguile12 1.6.0-1 libiconv2 1.8-2 libintl 0.10.38-3 libintl1 0.10.40-1 libintl2 0.11.5-1 libkpathsea3 2.0.2-1 libltdl3 20030216-1 libncurses5 5.2-1 libncurses6 5.2-8 libpopt0 1.6.4-4 libreadline4 4.1-2 libreadline5 4.3-2 libtool 20020705-1 libtool-devel 20030216-1 libtool-stable 1.4.3-1 libxerces-c21 2.1.0-1 login 1.7-1 m4 1.4-1 make 3.79.1-7 man 1.5j-2 mingw-runtime 2.4-1 mktemp 1.4-1 ncurses 5.2-8 newlib-man 20020801 openssh 3.5p1-3 openssl 0.9.7a-1 openssl096 0.9.6i-1 patch 2.5.8-3 pcre 3.7-1 perl 5.6.1-2 perl_manpages 5.8.0-1 readline 4.3-2 rsync 2.5.5-2 rxvt 2.7.9-4 sed 4.0.5-1 sh-utils 2.0.15-3 shutdown 1.2-2 tar 1.13.25-1 tcltk 20030214-1 termcap 20020930-1 terminfo 5.3-1 texinfo 4.2-4 textutils 2.0.21-1 time 1.7-1 unzip 5.50-2 vim 6.1.300-1 w32api 2.2-1 which 1.5-1 whois 4.6.2-1 XFree86-base 4.2.0-1 XFree86-bin 4.2.0-2 XFree86-etc 4.2.0-1 XFree86-fenc 4.2.0-2 XFree86-fnts 4.2.0-2 XFree86-lib 4.2.0-3 XFree86-startup-scripts 4.2.0-3 XFree86-xserv 4.2.0-15 zlib 1.1.4-1 Use -h to see help about each section ------=_NextPart_000_0000_01C2EA77.3E9560A0 Content-Type: text/plain; charset=us-ascii -- 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/ ------=_NextPart_000_0000_01C2EA77.3E9560A0--