delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Tue, 17 Jul 2001 14:00:38 -0700 (PDT) |
Message-Id: | <20010717.140038.42414656.Takaaki.Ota@am.sony.com> |
To: | cygwin AT cygwin DOT com |
Subject: | cannot core dump |
From: | Tak Ota <Takaaki DOT Ota AT am DOT sony DOT com> |
X-Mailer: | Mew version 2.0 pre3 on Emacs 21.0.104.1 / Mule 5.0 (SAKAKI) |
X-Telephone: | +1-858-942-3239 |
X-Fax------: | +1-858-942-9142 |
X-SnailMail: | 16450 West Bernardo Drive MZ7205, San Diego, CA 92127-1804 |
Organization: | Sony Electronics Inc. |
Mime-Version: | 1.0 |
I am struggling to make core dump. Please let someone know what I am doing wrong here. -Tak bash-2.05$ cat bug.c #include <stdio.h> int main(int argc, char **argv) { char *x = 0; *x = '0'; return 0; } bash-2.05$ gcc -o bug.exe bug.c bash-2.05$ ./bug.exe 0 [main] bug 1444 handle_exceptions: Error while dumping state (probably corrupted stack) bash: [1464: 1] tcsetattr: Not a character device Segmentation fault (core dumped) bash-2.05$ ls Makefile* bug.c* bug.c~* bug.exe* bug.o bash-2.05$ which dumper /usr/bin/dumper bash-2.05$ cygcheck -s Cygnus Win95/NT Configuration Diagnostics Current System Time: Tue Jul 17 13:58:51 2001 WinNT Ver 5.0 build 2195 Service Pack 2 Path: /cygdrive/c/PROGRA~1/XEmacs/XEmacs-21.1.9/i386-pc-win32 /cygdrive/d/bin/mew /cygdrive/d/bin /usr/local/bin /usr/bin /usr/bin /usr/X11R6/bin /usr/X11R6/bin /cygdrive/c/WINNT/system32 /cygdrive/c/WINNT /cygdrive/c/WINNT/System32/Wbem /cygdrive/c/BC5/BIN . SysDir: C:\WINNT\System32 WinDir: C:\WINNT PWD = `/cygdrive/d/ota/project/core' CYGWIN = `error_start=d:\cygwin\bin\dumper.exe ntsec tty' HOME = `/cygdrive/d/ota' Use `-r' to scan registry a: fd N/A N/A c: hd NTFS 2997Mb 94% CP CS UN PA FC Fresh System d: hd NTFS 11997Mb 97% CP CS UN PA FC Fresh Data h: fd FAT 61Mb 64% CP UN s: hd NTFS 11997Mb 97% CP CS UN PA FC Fresh Data t: hd NTFS 11997Mb 97% CP CS UN PA FC Fresh Data z: hd NTFS 11997Mb 97% CP CS UN PA FC Fresh Data d:\cygwin\bin /usr/bin system binmode d:\cygwin\lib /usr/lib system binmode d:\cygwin / system binmode c: /cygdrive/c user binmode,noumount d: /cygdrive/d user binmode,noumount s: /cygdrive/s user binmode,noumount t: /cygdrive/t user binmode,noumount z: /cygdrive/z user binmode,noumount Found: d:\cygwin\bin\bash.exe Found: d:\cygwin\bin\cat.exe Found: d:\cygwin\bin\cpp.exe Found: c:\BC5\BIN\cpp.exe Found: d:\cygwin\bin\find.exe Found: d:\cygwin\bin\gcc.exe Found: d:\cygwin\bin\gdb.exe Found: d:\cygwin\bin\ld.exe Found: d:\cygwin\bin\ls.exe Found: d:\cygwin\bin\make.exe Found: c:\BC5\BIN\make.exe Found: d:\cygwin\bin\sh.exe 413k 2001/06/28 d:\cygwin\usr\local\bin\cygitcl30.dll 305k 2001/06/28 d:\cygwin\usr\local\bin\cygitk30.dll 1285k 2001/06/28 d:\cygwin\usr\local\bin\cygtcl80.dll 24k 2001/06/28 d:\cygwin\usr\local\bin\cygtclpip80.dll 188k 2001/06/28 d:\cygwin\usr\local\bin\cygtclreg80.dll 1948k 2001/06/28 d:\cygwin\usr\local\bin\cygtk80.dll 56k 2000/12/03 d:\cygwin\bin\cygbz21.0.dll 45k 2001/04/25 d:\cygwin\bin\cygform5.dll 18k 2000/10/23 d:\cygwin\bin\cyggdbm.dll 17k 2001/06/28 d:\cygwin\bin\cyghistory4.dll 21k 2001/06/28 d:\cygwin\bin\cyghistory5.dll 21k 2001/06/20 d:\cygwin\bin\cygintl.dll 81k 2001/04/28 d:\cygwin\bin\cygitcl30.dll 35k 2001/04/28 d:\cygwin\bin\cygitk30.dll 45k 2001/07/04 d:\cygwin\bin\cygjbig1.dll 119k 2001/06/06 d:\cygwin\bin\cygjpeg6b.dll 26k 2001/04/25 d:\cygwin\bin\cygmenu5.dll 156k 2001/04/25 d:\cygwin\bin\cygncurses++5.dll 226k 2001/04/25 d:\cygwin\bin\cygncurses5.dll 15k 2001/04/25 d:\cygwin\bin\cygpanel5.dll 163k 2001/05/06 d:\cygwin\bin\cygpng2.dll 108k 2001/06/28 d:\cygwin\bin\cygreadline4.dll 135k 2001/06/28 d:\cygwin\bin\cygreadline5.dll 390k 2001/04/28 d:\cygwin\bin\cygtcl80.dll 5k 2001/04/28 d:\cygwin\bin\cygtclpip80.dll 10k 2001/04/28 d:\cygwin\bin\cygtclreg80.dll 245k 2001/06/12 d:\cygwin\bin\cygtiff3.dll 623k 2001/04/28 d:\cygwin\bin\cygtk80.dll 41k 2001/07/04 d:\cygwin\bin\cygXpm-noX4.dll 45k 2001/07/04 d:\cygwin\bin\cygXpm-X4.dll 49k 2001/02/03 d:\cygwin\bin\cygz.dll 678k 2001/05/21 d:\cygwin\bin\cygwin1.dll Cygwin DLL version info: dll major: 1003 dll minor: 2 dll epoch: 19 dll bad signal mask: 19005 dll old termios: 5 dll malloc env: 28 api major: 0 api minor: 39 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: Sun May 20 23:28:17 EDT 2001 shared id: cygwin1S3 Use -h to see help about each section bash-2.05$ -- 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 |