Mail Archives: cygwin/2001/09/13/06:00:51
Hello,
I tried it with the same program of Ota:
----------------------
$ cat bug.c
int main(int argc, char **argv)
{
char *x = 0;
*x = '0';
return 0;
}
$ gcc -o bug.exe bug.c
$ bug.exe
0 [main] bug 35356515 handle_exceptions: Error while dumping state
(probably corrupted stack)
Segmentation fault (core dumped)
----------------------
This showed up another console window with text:
----------------------
D:\cygwin\home\andrius\mokslas\shgsolve\src>dumper.exe -d
/HOME/ANDRIUS/MOKSLAS/
SHGSOLVE/SRC/BUG.EXE 4259520009
dumping process #2147483647 to BUG.EXE.core
Failed to open process #2147483647
D:\cygwin\home\andrius\mokslas\shgsolve\src>
----------------------
It seems to looking for a process with another pid?
I am using the following dumper.bat:
----------------------
$ cat /bin/dumper.bat
dumper.exe -d %1 %2 %3
----------------------
My environment is as follows:
----------------------
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Thu Sep 13 11:56:44 2001
Win9X Ver 4.10 build 67766446 A
Path: /usr/local/bin
/usr/bin
/bin
/cygdrive/c/WIN98
/cygdrive/c/WIN98/COMMAND
/cygdrive/c/PROGRA~1/MBONE
/cygdrive/c/UTILS
/cygdrive/d/PROGRA~1/ATT/GRAPHVIZ/BIN
/cygdrive/d/PROGRA~1/MICROS~1/VC98/BIN
.
/cygdrive/d/PROGRA~1/MICROS~1/COMMON/MSDEV98/BIN
/cygdrive/d/PROGRAMME/JAVASOFT/JRE/1.3.1/BIN
/cygdrive/d/PROGRAMME/TCL/BIN
/cygdrive/d/PERL/BIN
/cygdrive/c/PROGRAMME/GHOSTSCRIPT/GS5.50
/cygdrive/d/PROGRAMME/GNU/WINCVS
/cygdrive/c/PROGRAMME/MED
/usr/bin
/cygdrive/d/PROGRAMME/BCC55/BIN
/cygdrive/d/PROGRAMME/GNU/DOXYGEN-1.2.8.1/BIN
/cygdrive/d/PROGRAMME/MATLABR12/BIN/WIN32
SysDir: C:\WIN98\SYSTEM
WinDir: C:\WIN98
PWD = `/home/andrius/mokslas/shgsolve/src'
CYGWIN = `error_start=d:\cygwin\bin\dumper.bat'
USER = `andrius'
MAKE_MODE = `unix'
HOME = `/home/andrius'
Use `-r' to scan registry
a: fd N/A N/A
c: hd FAT32 2051Mb 99% CP UN WINDOWS98
d: hd FAT32 8189Mb 92% CP UN PROGRAMME
e: hd FAT32 1534Mb 57% CP UN SHARE
f: cd N/A N/A
g: cd N/A N/A
s: net NTFS 12671Mb 75% CP CS PA andrius
z: fd N/A N/A
D:\cygwin\bin /usr/bin system textmode
D:\cygwin\lib /usr/lib system textmode
D:\cygwin / system textmode
c: /cygdrive/c user textmode,noumount
d: /cygdrive/d user textmode,noumount
e: /cygdrive/e user textmode,noumount
s: /cygdrive/s user textmode,noumount
Found: D:\cygwin\bin\bash.exe
Found: D:\cygwin\bin\cat.exe
Found: D:\cygwin\bin\cpp.exe
Found: D:\cygwin\bin\find.exe
Found: c:\WIN98\COMMAND\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: d:\PROGRAMME\BCC55\BIN\make.exe
Found: D:\cygwin\bin\sh.exe
56k 2000/12/03 D:\cygwin\bin\cygbz21.0.dll
390k 2000/12/05 D:\cygwin\bin\cygtcl80.dll
5k 2000/12/05 D:\cygwin\bin\cygtclpip80.dll
10k 2000/12/05 D:\cygwin\bin\cygtclreg80.dll
81k 2000/12/05 D:\cygwin\bin\cygitcl30.dll
35k 2000/12/05 D:\cygwin\bin\cygitk30.dll
623k 2000/12/05 D:\cygwin\bin\cygtk80.dll
18k 2000/10/23 D:\cygwin\bin\cyggdbm.dll
21k 2001/06/20 D:\cygwin\bin\cygintl.dll
45k 2001/07/04 D:\cygwin\bin\cygjbig1.dll
119k 2001/06/06 D:\cygwin\bin\cygjpeg6b.dll
163k 2001/05/06 D:\cygwin\bin\cygpng2.dll
45k 2001/04/25 D:\cygwin\bin\cygform5.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
17k 2001/06/28 D:\cygwin\bin\cyghistory4.dll
21k 2001/06/28 D:\cygwin\bin\cyghistory5.dll
108k 2001/06/28 D:\cygwin\bin\cygreadline4.dll
135k 2001/06/28 D:\cygwin\bin\cygreadline5.dll
245k 2001/06/12 D:\cygwin\bin\cygtiff3.dll
41k 2001/07/04 D:\cygwin\bin\cygXpm-noX4.dll
49k 2001/02/03 D:\cygwin\bin\cygz.dll
45k 2001/07/04 D:\cygwin\bin\cygXpm-X4.dll
701k 2001/09/13 D:\cygwin\bin\cygwin1.dll
Cygwin DLL version info:
dll major: 1003
dll minor: 3
dll epoch: 19
dll bad signal mask: 19005
dll old termios: 5
dll malloc env: 28
api major: 0
api minor: 46
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: Wed Sep 12 23:54:31 EDT 2001
shared id: cygwin1S3
----------------------
Andrius
--
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 -