delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/27/10:15:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: Can someone please answer this question I've posted repeatedly even if it is just to say slag off
Date: Thu, 27 Feb 2003 09:14:03 -0600
Message-ID: <FED2EC3075A99C4CBB8D63AABBC3396E0ED472@daa21794exc001.divine.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Madsen, Mark" <Mark DOT Madsen AT divine DOT com>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 27 Feb 2003 15:14:26.0193 (UTC) FILETIME=[EA83A810:01C2DE72]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h1RFF1b25930

I experience the same problem on several different machines (all W2K),
and on different versions of cygwin.

I can not even force a core dump of a process that is just a simple
infinite loop. This is the result of that:

$ dumper -d c:/fcore 872
dumping process #872 to fcore.core
setting bfd architecture: No error

I would *love* to get around this problem and be able to examine cores.

Thanks,
Mark

-----Original Message-----
From: Jon A. Lambert [mailto:jlsysinc AT alltel DOT net] 
Sent: Wednesday, February 26, 2003 11:02 AM
To: Cygwin Mail List
Subject: Can someone please answer this question I've posted repeatedly
even if it is just to say slag off

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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019