delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <001f01c2d7d1$90737e60$0200000a@agamemnon> |
From: | "Jon A. Lambert" <jlsysinc AT alltel DOT net> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Unable to produce core dumps |
Date: | Tue, 18 Feb 2003 23:44:18 -0500 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
I am unable to get the dumper utility to produce a core dump. 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\admin>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\admin>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? I am on the following release: 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 -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |