delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/23/06:40:39

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-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Daryl Phipps <phippsd AT udel DOT edu>
Subject: Re: dumper.exe zero-length core files
Date: Sun, 23 Mar 2003 05:12:07 -0500
Lines: 83
Message-ID: <3E7D8877.6070804@udel.edu>
References: <EKEJKOHPOIIALFJMKEIGCEGJEJAA DOT mbresnah AT visi DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en

Ok, sorry if I shell out two messages here, but I think I may have not 
done things right when I went to verify my initial email address for my 
first post. I posted hours ago, and it has yet to show up.

Anyway, add me to the list of people having this particular problem. 
Unforunately, I have no clue what to do about it either, but I just 
wanted it to be noted that more than two people are having this issue. 
I am running Win XP, and all of the problems you have specified are also 
present on my machine exactly as you wrote.

Mike Bresnahan wrote:
> 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
> 



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