Does dumper.exe work?

I am unable to get the dumper utility to produce a core dump.
I have read the FAQ, the webpages and searched the mailing lists.

My cygwin.bat startup file contains the following:
  set CYGWIN=error_start=c:\cygwin\bin\dumper.bat

My dumper.bat file contains the following:
  dumper.exe -d %1 %2 %3
  pause

The program in question was compiled with the gcc -g option:
  main() {
    int h;
    h = 1 / 0;
  }

Upon execution I see the following in the cygwin console:
  $ ./div.exe
        7 [main] div 2296 handle_exceptions: Error while dumping state (probably 
corrupted stack)
  Arithmetic exception (core dumped)

In the cmd.exe console window that dumper.bat starts I see the following:
  C:\cygwin\home\jlambert>dumper.exe -d C:/cygwin/home/jlambert/div.exe 1884
  dumping process #1884 to div.exe.core
  setting bfd architecture: No error

  C:\cygwin\home\jlambert>pause
  Press any key to continue . . .

  Yet no .core file is produced anywhere.  
  I have also tried using dumper.exe directly with the following setting with the same 
results.
    set CYGWIN=error_start=c:\cygwin\bin\dumper.exe

  And I have verified that the process number above is correct.
  What am I doing wrong?  

 Thank you
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Sun Feb 23 23:09:26 2003

Windows XP Home Edition Ver 5.1 Build 2600 Service Pack 1

Path:   C:\cygwin\usr\local\bin
        C:\cygwin\bin
        C:\cygwin\bin
        c:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin
        c:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\x11
        c:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt
        c:\WINDOWS\SYSTEM32
        c:\WINDOWS
        c:\WINDOWS\SYSTEM32\WBEM
        c:\apps\BCC55\Bin
        c:\PROGRAM FILES\BORLAND\CBUILDER3\BIN
        c:\j2sdk1.4.1\bin
        c:\PROGRA~1\IBM\IMNNQ
        c:\Program Files\Rational\common
        c:\Program Files\Rational\ClearQuest
        c:\Program Files\Rational\Rational Test
        c:\Program Files\doxygen\bin
        c:\Program Files\SQLLIB\BIN
        c:\Program Files\SQLLIB\FUNCTION
        c:\Program Files\SQLLIB\SAMPLES\REPL
        c:\Program Files\SQLLIB\HELP
        c:\Program Files\Rational\Rose\TopLink\
        c:\WINDOWS
        c:\WINDOWS\COMMAND

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

CYGWIN = `error_start=c:\cygwin\bin\dumper.bat'
HOME = `C:\cygwin\home\jlambert'
MAKE_MODE = `unix'
PWD = `/home/jlambert'
USER = `jlambert'

Use `-r' to scan registry

a:  fd           N/A    N/A                    
c:  hd  NTFS   38162Mb  56% CP CS UN PA FC     GATEWAY
d:  hd  FAT32  19546Mb  76% CP    UN           
e:  cd           N/A    N/A                    
f:  cd           N/A    N/A                    

C:\cygwin          /          system  binmode
c:                 /c         system  binmode
d:                 /d         system  binmode
c:\webpages\twiki  /twiki     system  binmode
C:\cygwin/bin      /usr/bin   system  binmode
C:\cygwin/lib      /usr/lib   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:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\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:\apps\BCC55\Bin\grep.exe
Found: c:\PROGRAM FILES\BORLAND\CBUILDER3\BIN\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: c:\apps\BCC55\Bin\make.exe
Found: c:\PROGRAM FILES\BORLAND\CBUILDER3\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
  847k 2003/01/09 C:\cygwin\bin\cygcrypto-0.9.7.dll
  644k 2002/12/08 C:\cygwin\bin\cygcrypto.dll
  136k 2002/10/17 C:\cygwin\bin\cygexpat-0.dll
   45k 2001/04/25 C:\cygwin\bin\cygform5.dll
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll
   19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll
   20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll
  929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll
   22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll
   28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll
   21k 2001/06/20 C:\cygwin\bin\cygintl.dll
  119k 2002/02/09 C:\cygwin\bin\cygjpeg6b.dll
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll
   20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll
  175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll
  226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll
  202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll
   15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll
   12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll
   40k 2001/11/21 C:\cygwin\bin\cygpcre.dll
   39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll
  179k 2002/07/22 C:\cygwin\bin\cygpng12.dll
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll
  108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll
  127k 2002/10/10 C:\cygwin\bin\cygreadline5.dll
   66k 2001/11/20 C:\cygwin\bin\cygregex.dll
  177k 2003/01/09 C:\cygwin\bin\cygssl-0.9.7.dll
  165k 2002/12/08 C:\cygwin\bin\cygssl.dll
   50k 2002/03/12 C:\cygwin\bin\cygz.dll
  889k 2003/02/08 C:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 1.3.20
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 73
        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 Feb 8 12:10:49 EST 2003
        Shared id: cygwin1S3


Cygwin Package Information
Package              Version
_update-info-dir     00134-1
ash                  20020731-1
base-files           1.1-1
base-passwd          1.0-1
bash                 2.05b-8
binutils             20021117-1
byacc                1.9-1
bzip2                1.0.2-2
clear                1.0-1
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.3-1
cygwin               1.3.20-1
cygwin-doc           1.3-2
diff                 1.0-1
diffutils            2.8.1-1
expat                1.95.5-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                  20030214-1
gdbm                 1.8.0-4
grep                 2.5-1
groff                1.18.1-2
gzip                 1.3.3-4
indent               2.2.8-1
inetutils            1.3.2-20
jpeg                 6b-7
less                 378-1
libbz2_1             1.0.2-2
libiconv2            1.8-2
libintl              0.10.38-3
libintl1             0.10.40-1
libintl2             0.11.5-1
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-2
login                1.7-1
lynx                 2.8.4-5
m4                   1.4-1
make                 3.79.1-7
man                  1.5j-1
mc                   4.5.55-1
mingw-runtime        2.4-1
mktemp               1.4-1
more                 2.11o-1
nano                 1.1.10-1
ncftp                3.1.4-1
ncurses              5.2-8
newlib-man           20020801
openssh              3.5p1-3
openssl              0.9.7-1
openssl096           0.9.6h-1
patch                2.5.8-3
pcre                 3.7-1
perl                 5.6.1-2
perl_manpages        5.8.0-1
postgresql           7.3.1-1
procps               010801-2
rcs                  5.7-3
readline             4.3-2
regex                4.4-2
sed                  4.0.5-1
sh-utils             2.0.15-3
sharutils            4.2.1-2
shutdown             1.2-2
ssmtp                2.38.7-3
tar                  1.13.25-1
tcltk                20030214-1
tcp_wrappers         7.6-1
termcap              20020930-1
terminfo             5.2-3
texinfo              4.2-4
textutils            2.0.21-1
tidy                 030201-1
time                 1.7-1
ttcp                 19980512-1
unzip                5.50-1
vim                  6.1.300-1
w32api               2.2-1
wget                 1.8.2-2
which                1.5-1
whois                4.6.2-1
zip                  2.3-2
zlib                 1.1.4-1

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/

Reply via email to