Mail Archives: cygwin/1998/12/28/05:31:38
On 6 Dec 1998, with Subject: [Win95] vfork: No more processes
I posted to this list the following:
>
> Using Windows 95 and all versions of 'cygwin1.dll' (except the
> first one that did not work on Windows 95), I have consistently
> been getting page faults when building multiple subdirectories.
> The build process never seems to stop at the same place. This
> is happening with both the Cygnus version of make and make-3.77.
I've tried any and all versions and compiles of 'make' that I
can find... and it is still happening. Others may be referring
to this as the expect/make bug on Windows 95.
> I suspect either a bug in the fork process on Windows 95 or
> a hardware problem that B19 failed to expose.
I have ruled out hardware problems. All I know is that every
time 'make' reaps a dead child, 'make' causes what Win95
calls an "invalid page fault". Usually, 'make' crashes, but
sometimes Win95 kills a child and 'make' continues to run for
a little while before it happens again and 'make' crashes.
It is a horrible picture, what-with-all the crashes, faults,
bugs, and dead children spread all over everywhere. :-)
BTW, the Santa Claus Edition (SCE), a.k.a. 21.0 (0.7/1/1), of
the cygwin1.dll does not help any with this problem.
> Any insights on what might be the cause of this will be
> appreciated. Following is the information I have at hand.
Any insights at all will be very appreciated. If this is being
discussed on the developers' list, please let us know.
This is a long post, sorry, but following is new information.
I've never used 'gdb' before now but if there's anything else
that I can provide that would help, please let me know. I'm
not a programmer so most of the following does not mean a lot
to me. Any explanations that anyone can provide about what is
happening will also be appreciated.
CYGWIN_95-4.0 LOCALHOST 20.1 (0.3/1/1)
1998-12-26 02:45:33 i586 unknown
BASH.EXE-2.02$ gdb --readnow --se=make --tty=/dev/tty2 | tee -ai log
GNU gdb 4.17.1
This GDB was configured as "i586-cygwin32"...
(gdb) attach -277765
Attaching to program `/USR/DEBUG/BIN/make.exe', process -277765
CYGWIN1.DLL (symbols previously loaded)
USER32.DLL (symbols previously loaded)
GDI32.DLL (symbols previously loaded)
ADVAPI32.DLL (symbols previously loaded)
KERNEL32.DLL (symbols previously loaded)
0xbff7670d in _libuser32_a_iname ()
MAKE caused an invalid page fault in
module KERNEL32.DLL at 0157:bff727f4.
Registers:
EAX=00005888 CS=0157 EIP=bff727f4 EFLGS=00010207
EBX=02583000 SS=015f ESP=0258d888 EBP=0258d8d0
ECX=00000002 DS=015f ESI=0000a888 FS=33c7
EDX=01372977 ES=015f EDI=815b93cc GS=0000
Bytes at CS:EIP:
66 c7 43 0a 10 00 89 5d e0 8c d7 8e d2 8b e6 2b
Stack dump:
01378059 018f0028 815b9838 bff7bd38 bffc1470
0000003c 815b9838 0258d8c8 bff87a26 bff97b50
0000003c bff87a33 815b9838 025a0008 025b75dc
025a0008
BASH.EXE-2.02$ ps -al
PID PPID PGID WINPID UID TTY STIME COMMAND
1542 1002 1542 -277765 500 2 21:46:51 /USR/DEBUG/BIN/MAKE.EXE
2380 1001 2380 -365913 500 1 22:06:22 /USR/DEBUG/BIN/PS.EXE
1000 1000 1000 -389349 500 0 21:34:23 /USR/BIN/BASH.EXE
1001 1001 1001 -382241 500 1 21:34:27 /USR/BIN/BASH.EXE
1002 1002 1002 -134321 500 2 21:34:31 /USR/BIN/BASH.EXE
1005 1000 1005 -271653 500 0 21:35:52 /USR/DEBUG/BIN/GDB.EXE
I 1006 1000 1005 -141629 500 0 21:35:52 /USR/BIN/TEE.EXE
(gdb) info program
Using the running image of child process -277765.
Program stopped at 0xbff7670d.
It stopped with signal SIGTRAP, Trace/breakpoint trap.
(gdb) info break
Num Type Disp Enb Address What
2 breakpoint keep y 0x6101665d in sync_with_child(_PROCESS_
INFORMATION &, void *, int, char const *) at ../../../src/
winsup/fork.cc:111
(gdb) info stack
#0 0xbff7670d in _libuser32_a_iname ()
#1 0xbff788b1 in _libuser32_a_iname ()
/* Sometimes when 'make' crashes, and I break on SIGCHLD */
/* instead of sync_with_child, frame #1 will be the */
/* following instead of _libuser32_a_iname. When this */
/* happens, all other frames remain the same. I do not */
/* know how to get gdb to break on SIGCHLD consistently. */
#1a 0x6100ade8 in call_handler (sig=0, thissig=@0x610677e0)
at ../../../src/winsup/exceptions.cc:484
#2 0xbff90b64 in _libuser32_a_iname ()
#3 0x61038a67 in wait4 (intpid=-1, status=0x258f268,
options=0, r=0x0) at ../../../src/winsup/wait.cc:78
#4 0x6103881a in _wait (status=0x258f268)
at ../../../src/winsup/wait.cc:23
#5 0x6105b1c8 in wait (status=0x258f268)
at ../../../../../src/newlib/libc/syscalls/syswait.c:12
#6 0x4057bc in reap_children (block=1, err=0)
at ../../src/make/job.c:337
#7 0x406449 in new_job (file=0x25a4ba0)
at ../../src/make/job.c:1249
#8 0x405032 in execute_file_commands (file=0x25a4ba0)
at ../../src/make/commands.c:358
#9 0x40f9b1 in remake_file (file=0x25a4ba0)
at ../../src/make/remake.c:961
#10 0x40f2f2 in update_file_1 (file=0x25a4ba0, depth=2)
at ../../src/make/remake.c:650
#11 0x40e43a in update_file (file=0x25a4ba0, depth=2)
at ../../src/make/remake.c:310
#12 0x40f563 in check_dep (file=0x25a4ba0, depth=2, this_mtime=-1,
must_make_ptr=0x258f410) at ../../src/make/remake.c:788
#13 0x40ed98 in update_file_1 (file=0x25a1c88, depth=1)
at ../../src/make/remake.c:453
#14 0x40e43a in update_file (file=0x25a1c88, depth=0)
at ../../src/make/remake.c:310
#15 0x40e099 in update_goal_chain (goals=0x25c7a90, makefiles=0)
at ../../src/make/remake.c:150
#16 0x402ca5 in main (argc=2, argv=0x25a0d00, envp=0x25a0008)
at ../../src/make/main.c:1550
#17 0x61004422 in dll_crt0_1 (uptr=0x420360)
at ../../../src/winsup/dcrt0.cc:666
#18 0x61004440 in dll_crt0 (uptr=0x420360)
at ../../../src/winsup/dcrt0.cc:678
#19 0x41c9be in cygwin_crt0 ()
(gdb) info frame
Stack level 0, frame at 0x258f1d4:
eip = 0xbff7670d in _libuser32_a_iname; saved eip 0xbff90b64
(FRAMELESS), called by frame at 0x258f1d4
Arglist at 0x258f1d4, args:
Locals at 0x258f1d4, Previous frame's sp is 0x0
Saved registers:
ebp at 0x258f1d4, eip at 0x258f1d8
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x0 0
esp 0x258f1c4 39383492
ebp 0x258f1d4 39383508
esi 0x0 0
edi 0x815c8534 -2124643020
eip 0xbff7670d -1074305267
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
No symbol table info available.
(gdb) info locals
No symbol table info available.
(gdb) info catch
No symbol table info available.
(gdb) up
#1 0xbff788b1 in _libuser32_a_iname ()
(gdb) info frame
Stack level 1, frame at 0x258f1d4:
eip = 0xbff788b1 in _libuser32_a_iname; saved eip 0xbff90b64
(FRAMELESS), called by frame at 0x258f200,
caller of frame at 0x258f1d4
Arglist at 0x258f1d4, args:
Locals at 0x258f1d4, Previous frame's sp is 0x0
Saved registers:
ebp at 0x258f1d4, eip at 0x258f1d8
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x0 0
esp 0x258f1c4 39383492
ebp 0x258f1d4 39383508
esi 0x0 0
edi 0x815c8534 -2124643020
eip 0xbff90b64 -1074197660
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
No symbol table info available.
(gdb) info locals
No symbol table info available.
(gdb) info catch
No symbol table info available.
(gdb) up
#2 0xbff90b64 in _libuser32_a_iname ()
(gdb) info frame
Stack level 2, frame at 0x258f200:
eip = 0xbff90b64 in _libuser32_a_iname; saved eip 0x61038a67
(FRAMELESS), called by frame at 0x258f21c,
caller of frame at 0x258f1d4
Arglist at 0x258f200, args:
Locals at 0x258f200, Previous frame's sp is 0x0
Saved registers:
ebp at 0x258f200, eip at 0x258f204
(gdb) info all-g registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x0 0
esp 0x258f1c4 39383492
ebp 0x258f200 39383552
esi 0x0 0
edi 0x815c8534 -2124643020
eip 0xbff90b64 -1074197660
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
No symbol table info available.
(gdb) info locals
No symbol table info available.
(gdb) info catch
No symbol table info available.
(gdb) up
#3 0x61038a67 in wait4 (intpid=-1, status=0x258f268,
options=0, r=0x0) at ../../../src/winsup/wait.cc:78
78 rc = WaitForSingleObject (waitfor, INFINITE);
Current language: auto; currently c++
(gdb) info frame
Stack level 3, frame at 0x258f21c:
eip = 0x61038a67 in wait4 (../../../src/winsup/wait.cc:78);
saved eip 0x6103881a
called by frame at 0x258f234, caller of frame at 0x258f200
source language c++.
Arglist at 0x258f21c, args: intpid=-1, status=0x258f268,
options=0, r=0x0
Locals at 0x258f21c, Previous frame's sp is 0x0
Saved registers:
ebx at 0x258f210, ebp at 0x258f21c, esi at 0x258f214,
edi at 0x258f218, eip at 0x258f220
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x0 0
esp 0x258f1c4 39383492
ebp 0x258f21c 39383580
esi 0x0 0
edi 0x815c8534 -2124643020
eip 0x61038a67 1627621991
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
intpid = -1
status = (int *) 0x258f268
options = 0
r = (rusage *) 0x815c8534
(gdb) info locals
r = (rusage *) 0x815c8534
rc = 0
w = (waitq *) 0x0
waitfor = 0xc52e1f70
(gdb) info catch
No catches.
(gdb) up
#4 0x6103881a in _wait (status=0x258f268)
at ../../../src/winsup/wait.cc:23
23 return wait4 (-1, status, 0, NULL);
(gdb) info frame
Stack level 4, frame at 0x258f234:
eip = 0x6103881a in _wait (../../../src/winsup/wait.cc:23);
saved eip 0x6105b1c8
called by frame at 0x258f240, caller of frame at 0x258f21c
source language c++.
Arglist at 0x258f234, args: status=0x258f268
Locals at 0x258f234, Previous frame's sp is 0x0
Saved registers:
ebp at 0x258f234, eip at 0x258f238
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x0 0
esp 0x258f1c4 39383492
ebp 0x258f234 39383604
esi 0x0 0
edi 0x1 1
eip 0x6103881a 1627621402
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
status = (int *) 0xc52e1f70
(gdb) info locals
status = (int *) 0xc52e1f70
(gdb) info catch
No catches.
(gdb) up
#5 0x6105b1c8 in wait (status=0x258f268)
at ../../../../../src/newlib/libc/syscalls/syswait.c:12
12 return _wait (status);
Current language: auto; currently c
(gdb) info frame
Stack level 5, frame at 0x258f240:
eip = 0x6105b1c8 in wait
(../../../../../src/newlib/libc/syscalls/syswait.c:12);
saved eip 0x4057bc
called by frame at 0x258f2e0, caller of frame at 0x258f234
source language c.
Arglist at 0x258f240, args: status=0x258f268
Locals at 0x258f240, Previous frame's sp is 0x0
Saved registers:
ebp at 0x258f240, eip at 0x258f244
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x0 0
esp 0x258f1c4 39383492
ebp 0x258f240 39383616
esi 0x0 0
edi 0x1 1
eip 0x6105b1c8 1627763144
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
status = (int *) 0xc52e1f70
(gdb) info locals
status = (int *) 0xc52e1f70
(gdb) info catch
No catches.
(gdb) up
#6 0x4057bc in reap_children (block=1, err=0)
at ../../src/make/job.c:337
337 pid = wait (&status);
(gdb) info frame
Stack level 6, frame at 0x258f2e0:
eip = 0x4057bc in reap_children (../../src/make/job.c:337);
saved eip 0x406449
called by frame at 0x258f31c, caller of frame at 0x258f240
source language c.
Arglist at 0x258f2e0, args: block=1, err=0
Locals at 0x258f2e0, Previous frame's sp is 0x0
Saved registers:
ebx at 0x258f24c, ebp at 0x258f2e0, esi at 0x258f250,
edi at 0x258f254, eip at 0x258f2e4
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x0 0
esp 0x258f1c4 39383492
ebp 0x258f2e0 39383776
esi 0x0 0
edi 0x1 1
eip 0x4057bc 4216764
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
block = 1
err = 0
(gdb) info locals
remote = 0
pid = 0
exit_code = 2
exit_sig = 39383704
coredump = 1627433274
lastc = (struct child *) 0x1
c = (struct child *) 0x0
child_failed = 1
any_remote = 0
any_local = 1
status = 0
we_know_that_no_local_children_are_dead = 0
(gdb) info catch
No catches.
(gdb) up
#7 0x406449 in new_job (file=0x25a4ba0)
at ../../src/make/job.c:1249
1249 reap_children (1, 0);
(gdb) info frame
Stack level 7, frame at 0x258f31c:
eip = 0x406449 in new_job (../../src/make/job.c:1249);
saved eip 0x405032
called by frame at 0x258f338, caller of frame at 0x258f2e0
source language c.
Arglist at 0x258f31c, args: file=0x25a4ba0
Locals at 0x258f31c, Previous frame's sp is 0x0
Saved registers:
ebx at 0x258f2f0, ebp at 0x258f31c, esi at 0x258f2f4,
edi at 0x258f2f8, eip at 0x258f320
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x25b0120 39518496
esp 0x258f1c4 39383492
ebp 0x258f31c 39383836
esi 0x25beaee 39578350
edi 0x0 0
eip 0x406449 4219977
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
file = (struct file *) 0x25a4ba0
(gdb) info locals
cmds = (struct commands *) 0x25a4b80
c = (struct child *) 0x25b0120
lines = (char **) 0x25ae6e0
i = 2
(gdb) info catch
No catches.
(gdb) up
#8 0x405032 in execute_file_commands (file=0x25a4ba0)
at ../../src/make/commands.c:358
358 new_job (file);
(gdb) info frame
Stack level 8, frame at 0x258f338:
eip = 0x405032 in execute_file_commands
(../../src/make/commands.c:358); saved eip 0x40f9b1
called by frame at 0x258f348, caller of frame at 0x258f31c
source language c.
Arglist at 0x258f338, args: file=0x25a4ba0
Locals at 0x258f338, Previous frame's sp is 0x0
Saved registers:
ebx at 0x258f330, ebp at 0x258f338, esi at 0x258f334,
eip at 0x258f33c
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x25a4ba0 39472032
esp 0x258f1c4 39383492
ebp 0x258f338 39383864
esi 0x41ca15 4311573
edi 0x2 2
eip 0x405032 4214834
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
file = (struct file *) 0x25a4ba0
(gdb) info locals
file = (struct file *) 0x25a4ba0
p = 0xc1079380 "\001"
(gdb) info catch
No catches.
(gdb) up
#9 0x40f9b1 in remake_file (file=0x25a4ba0)
at ../../src/make/remake.c:961
961 execute_file_commands (file);
(gdb) info frame
Stack level 9, frame at 0x258f348:
eip = 0x40f9b1 in remake_file (../../src/make/remake.c:961);
saved eip 0x40f2f2
called by frame at 0x258f388, caller of frame at 0x258f338
source language c.
Arglist at 0x258f348, args: file=0x25a4ba0
Locals at 0x258f348, Previous frame's sp is 0x0
Saved registers:
ebx at 0x258f344, ebp at 0x258f348, eip at 0x258f34c
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x25a4ba0 39472032
esp 0x258f1c4 39383492
ebp 0x258f348 39383880
esi 0x25a4ba0 39472032
edi 0x2 2
eip 0x40f9b1 4258225
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
file = (struct file *) 0x25a4ba0
(gdb) info locals
file = (struct file *) 0x25a4ba0
(gdb) info catch
No catches.
(gdb) up
#10 0x40f2f2 in update_file_1 (file=0x25a4ba0, depth=2)
at ../../src/make/remake.c:650
650 remake_file (file);
(gdb) info frame
Stack level 10, frame at 0x258f388:
eip = 0x40f2f2 in update_file_1 (../../src/make/remake.c:650);
saved eip 0x40e43a
called by frame at 0x258f3a4, caller of frame at 0x258f348
source language c.
Arglist at 0x258f388, args: file=0x25a4ba0, depth=2
Locals at 0x258f388, Previous frame's sp is 0x0
Saved registers:
ebx at 0x258f354, ebp at 0x258f388, esi at 0x258f358,
edi at 0x258f35c, eip at 0x258f38c
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x0 0
esp 0x258f1c4 39383492
ebp 0x258f388 39383944
esi 0x25a4ba0 39472032
edi 0x2 2
eip 0x40f2f2 4256498
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
file = (struct file *) 0x25a4ba0
depth = 2
(gdb) info locals
file = (struct file *) 0x25a4ba0
this_mtime = -1
noexist = 1
must_make = 1
deps_changed = 0
dep_status = 0
d = (struct dep *) 0x0
lastd = (struct dep *) 0x0
running = 0
(gdb) info catch
No catches.
(gdb) up
#11 0x40e43a in update_file (file=0x25a4ba0, depth=2)
at ../../src/make/remake.c:310
310 status |= update_file_1 (f, depth);
(gdb) info frame
Stack level 11, frame at 0x258f3a4:
eip = 0x40e43a in update_file (../../src/make/remake.c:310);
saved eip 0x40f563
called by frame at 0x258f3c8, caller of frame at 0x258f388
source language c.
Arglist at 0x258f3a4, args: file=0x25a4ba0, depth=2
Locals at 0x258f3a4, Previous frame's sp is 0x0
Saved registers:
ebx at 0x258f398, ebp at 0x258f3a4, esi at 0x258f39c,
edi at 0x258f3a0, eip at 0x258f3a8
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x25a4ba0 39472032
esp 0x258f1c4 39383492
ebp 0x258f3a4 39383972
esi 0x0 0
edi 0x2 2
eip 0x40e43a 4252730
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
file = (struct file *) 0xc52e1f70
depth = 2
(gdb) info locals
file = (struct file *) 0xc52e1f70
depth = 2
status = 0
f = (struct file *) 0x25a4ba0
(gdb) info catch
No catches.
(gdb) up
#12 0x40f563 in check_dep (file=0x25a4ba0, depth=2, this_mtime=-1,
must_make_ptr=0x258f410) at ../../src/make/remake.c:788
788 dep_status = update_file (file, depth);
(gdb) info frame
Stack level 12, frame at 0x258f3c8:
eip = 0x40f563 in check_dep (../../src/make/remake.c:788);
saved eip 0x40ed98
called by frame at 0x258f414, caller of frame at 0x258f3a4
source language c.
Arglist at 0x258f3c8, args: file=0x25a4ba0, depth=2, this_mtime=-1,
must_make_ptr=0x258f410
Locals at 0x258f3c8, Previous frame's sp is 0x0
Saved registers:
ebx at 0x258f3b4, ebp at 0x258f3c8, esi at 0x258f3b8,
edi at 0x258f3bc, eip at 0x258f3cc
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x25af8d8 39516376
esp 0x258f1c4 39383492
ebp 0x258f3c8 39384008
esi 0x25a4ba0 39472032
edi 0xffffffff -1
eip 0x40f563 4257123
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
file = (struct file *) 0x25a4ba0
depth = 2
this_mtime = -1
must_make_ptr = (int *) 0x258f410
(gdb) info locals
mtime = -1073998736
file = (struct file *) 0x25a4ba0
depth = 2
d = (struct dep *) 0x25af8d8
dep_status = 0
(gdb) info catch
No catches.
(gdb) up
#13 0x40ed98 in update_file_1 (file=0x25a1c88, depth=1)
at ../../src/make/remake.c:453
453 dep_status |= check_dep
(d->file, depth, this_mtime, &must_make);
(gdb) info frame
Stack level 13, frame at 0x258f414:
eip = 0x40ed98 in update_file_1 (../../src/make/remake.c:453);
saved eip 0x40e43a
called by frame at 0x258f430, caller of frame at 0x258f3c8
source language c.
Arglist at 0x258f414, args: file=0x25a1c88, depth=1
Locals at 0x258f414, Previous frame's sp is 0x0
Saved registers:
ebx at 0x258f3e0, ebp at 0x258f414, esi at 0x258f3e4,
edi at 0x258f3e8, eip at 0x258f418
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x25af8d8 39516376
esp 0x258f1c4 39383492
ebp 0x258f414 39384084
esi 0x25a1c88 39459976
edi 0xffffffff -1
eip 0x40ed98 4255128
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
file = (struct file *) 0x25a1c88
depth = 1
(gdb) info locals
mtime = -1
file = (struct file *) 0x25a1c88
this_mtime = -1
noexist = 1
must_make = 1
deps_changed = 4234744
dep_status = 0
d = (struct dep *) 0x25af8d8
lastd = (struct dep *) 0x0
running = 0
(gdb) info catch
No catches.
(gdb) up
#14 0x40e43a in update_file (file=0x25a1c88, depth=0)
at ../../src/make/remake.c:310
310 status |= update_file_1 (f, depth);
(gdb) info frame
Stack level 14, frame at 0x258f430:
eip = 0x40e43a in update_file (../../src/make/remake.c:310);
saved eip 0x40e099
called by frame at 0x258f46c, caller of frame at 0x258f414
source language c.
Arglist at 0x258f430, args: file=0x25a1c88, depth=0
Locals at 0x258f430, Previous frame's sp is 0x0
Saved registers:
ebx at 0x258f424, ebp at 0x258f430, esi at 0x258f428,
edi at 0x258f42c, eip at 0x258f434
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x25a1c88 39459976
esp 0x258f1c4 39383492
ebp 0x258f430 39384112
esi 0x0 0
edi 0x0 0
eip 0x40e43a 4252730
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
file = (struct file *) 0xc52e1f70
depth = 0
(gdb) info locals
file = (struct file *) 0xc52e1f70
depth = 0
status = 0
f = (struct file *) 0x25a1c88
(gdb) info catch
No catches.
(gdb) up
#15 0x40e099 in update_goal_chain (goals=0x25c7a90, makefiles=0)
at ../../src/make/remake.c:150
150 x = update_file (file, makefiles ? 1 : 0);
(gdb) info frame
Stack level 15, frame at 0x258f46c:
eip = 0x40e099 in update_goal_chain (../../src/make/remake.c:150);
saved eip 0x402ca5
called by frame at 0x258fdc8, caller of frame at 0x258f430
source language c.
Arglist at 0x258f46c, args: goals=0x25c7a90, makefiles=0
Locals at 0x258f46c, Previous frame's sp is 0x0
Saved registers:
ebx at 0x258f440, ebp at 0x258f46c, esi at 0x258f444,
edi at 0x258f448, eip at 0x258f470
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x25a1c88 39459976
esp 0x258f1c4 39383492
ebp 0x258f46c 39384172
esi 0xffffffff -1
edi 0x0 0
eip 0x40e099 4251801
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
goals = (struct dep *) 0x25c7a90
makefiles = 0
(gdb) info locals
ocommands_started = 0
x = -1073998736
mtime = -1
file = (struct file *) 0x25a1c88
stop = 0
any_not_updated = 0
g = (struct dep *) 0x25c7a90
lastgoal = (struct dep *) 0x0
t = 0
q = 0
n = 0
j = 1
status = -1
(gdb) info catch
No catches.
(gdb) up
#16 0x402ca5 in main (argc=2, argv=0x25a0d00, envp=0x25a0008)
at ../../src/make/main.c:1550
1550 switch (update_goal_chain (goals, 0))
(gdb) info frame
Stack level 16, frame at 0x258fdc8:
eip = 0x402ca5 in main (../../src/make/main.c:1550); saved
eip 0x61004422
called by frame at 0x258fe08, caller of frame at 0x258f46c
source language c.
Arglist at 0x258fdc8, args: argc=2, argv=0x25a0d00, envp=0x25a0008
Locals at 0x258fdc8, Previous frame's sp is 0x0
Saved registers:
ebx at 0x258f47c, ebp at 0x258fdc8, esi at 0x258f480,
edi at 0x258f484, eip at 0x258fdcc
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x0 0
esp 0x258f1c4 39383492
ebp 0x258fdc8 39386568
esi 0x0 0
edi 0x25a5ae8 39475944
eip 0x402ca5 4205733
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
argc = 2
argv = (char **) 0x25a0d00
envp = (char **) 0x25a0008
(gdb) info locals
status = 0
stdin_nm = 0x0
f = (struct file *) 0xbffc1470
i = 0
p = (char **) 0x0
read_makefiles = (struct dep *) 0x25a5ae8
current_directory = "/src/basic/build\000BUG\\BIN\\MAKE.EXE\000\
001a$k\006a ýX\002|Ò\005a\0041\006aø\fZ\0020\000\000\000\
000\000\000\000,\000\000\000\0041\006ap\024ü¿p\024ü¿\200F\
006a0\000\000\000\b\000\000\000W\001\000\000dýX\002åÀ\005a\
0041\006a,\000\000\000àýX\002,\000\000\000àýX\002p\024ü¿â\
023÷¿W\001\000\000\232A÷¿p\024ü¿p\024ü¿\037A÷¿p\024ü¿L\236÷¿\
001\000\000\000\200ýX\002é\001a\0041\006a\000\000\000\000,\
000\000\000àýX\002àýX\002êýX\002åýX\002"...
/* My apologies for posting these 8-bit characters. */
/* The above line is always a mess when 'make' crashes. */
(gdb) info catch
blockvector botch /* I've seen both "botch" and "blotch" here */
(gdb) up
#17 0x61004422 in dll_crt0_1 (uptr=0x420360)
at ../../../src/winsup/dcrt0.cc:666
666 exit (user_data->main (argc, argv, *user_data->envptr));
Current language: auto; currently c++
(gdb) info frame
Stack level 17, frame at 0x258fe08:
eip = 0x61004422 in dll_crt0_1(per_process *)
(../../../src/winsup/dcrt0.cc:666); saved eip 0x61004440
called by frame at 0x258fe14, caller of frame at 0x258fdc8
source language c++.
Arglist at 0x258fe08, args: uptr=0x420360
Locals at 0x258fe08, Previous frame's sp is 0x0
Saved registers:
ebx at 0x258fdf0, ebp at 0x258fe08, esi at 0x258fdf4,
eip at 0x258fe0c
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x258fde0 39386592
esp 0x258f1c4 39383492
ebp 0x258fe08 39386632
esi 0x258fde0 39386592
edi 0x0 0
eip 0x61004422 1627407394
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
uptr = (per_process *) 0x258fde0
(gdb) info locals
uptr = (per_process *) 0x258fde0
argc = 2
argv = (char **) 0x25a0d00
mypid = 39386592
cygwin_except_entry = {prev = 0x258ff68,
handler = 0x6100a430 <handle_exceptions>}
info = 0x258fde0 "make"
line = 0x258fde0 "make"
(gdb) info catch
No catches.
(gdb) up
#18 0x61004440 in dll_crt0 (uptr=0x420360)
at ../../../src/winsup/dcrt0.cc:678
678 dll_crt0_1 (uptr);
(gdb) info frame
Stack level 18, frame at 0x258fe14:
eip = 0x61004440 in dll_crt0(per_process *)
(../../../src/winsup/dcrt0.cc:678); saved eip 0x41c9be
called by frame at 0x258fe24, caller of frame at 0x258fe08
source language c++.
Arglist at 0x258fe14, args: uptr=0x420360
Locals at 0x258fe14, Previous frame's sp is 0x0
Saved registers:
ebp at 0x258fe14, eip at 0x258fe18
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x0 0
esp 0x258f1c4 39383492
ebp 0x258fe14 39386644
esi 0x815ce8d0 -2124617520
edi 0x0 0
eip 0x61004440 1627407424
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
uptr = (per_process *) 0xc52e1f70
(gdb) info locals
uptr = (per_process *) 0xc52e1f70
(gdb) info catch
No catches.
(gdb) up
#19 0x41c9be in cygwin_crt0 ()
(gdb) info frame
Stack level 19, frame at 0x258fe24:
eip = 0x41c9be in cygwin_crt0; saved eip 0x40103a
caller of frame at 0x258fe14
Arglist at 0x258fe24, args:
Locals at 0x258fe24, Previous frame's sp is 0x0
Saved registers:
ebp at 0x258fe24, eip at 0x258fe28
(gdb) info all-registers
eax 0xc52e1f70 -986833040
ecx 0xc1079380 -1056468096
edx 0xbffc1470 -1073998736
ebx 0x0 0
esp 0x258f1c4 39383492
ebp 0x258fe24 39386660
esi 0x815ce8d0 -2124617520
edi 0x0 0
eip 0x41c9be 4311486
ps 0x286 646
cs 0x157 343
ss 0x15f 351
ds 0x15f 351
es 0x15f 351
fs 0x3dff 15871
gs 0x0 0
st 0 (raw 0x00000000000000000000)
st(1) 0 (raw 0x00000000000000000000)
st(2) 0 (raw 0x00000000000000000000)
st(3) 0 (raw 0x00000000000000000000)
st(4) 0 (raw 0x00000000000000000000)
st(5) 0 (raw 0x00000000000000000000)
st(6) -1 (raw 0xbfff8000000000000000)
st(7) -1 (raw 0xbfff8000000000000000)
(gdb) info args
No symbol table info available.
(gdb) info locals
No symbol table info available.
(gdb) info catch
No symbol table info available.
(gdb) cont
Continuing.
Program exited with code 02.
(gdb) q
BASH.EXE-2.02$ cygcheck -s
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Sun Dec 27 23:15:13 1998
Win95 Ver 4.0 build 67306684 B
Path: /USR/DEBUG/BIN
/USR/TEST/BIN
/USR/TEST/SBIN
/USR/SSH/BIN
/HOME/GS/BIN
/USR/LOCAL/BIN
/USR/UCB
/BIN
/USR/BIN
/CYGNUS/CYGWIN~1/H-I586~1/BIN
.
//C/PROGRAMS/MANAGE/AVANTOS/MPRO31
//C/WINDOWS
//C/WINDOWS/COMMAND
SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS
CYGWIN = `noexport title strip_title glob tty nobinmode nontea
noreset_com noenvcache'
HOME = `/home/gs'
MAKE_MODE = `UNIX'
PWD = `/home/gs/make8-debug'
Use `-r' to scan registry
a:\ fd N/A N/A
c:\ hd FAT32 2826Mb 100% CP UN WIN 95B
d:\ hd FAT 250Mb 100% CP UN
e:\ hd FAT 509Mb 98% CP UN G BACKUPS
f:\ hd FAT 509Mb 99% CP UN G SOURCES
g:\ hd FAT 509Mb 88% CP UN CYGWIN
q:\ cd N/A N/A
G: / native text!=binary
\\.\a: /dev/fd0 native text!=binary
\\.\b: /dev/fd1 native text!=binary
\\.\tape0: /dev/st0 native text!=binary
\\.\tape1: /dev/st1 native text!=binary
F:\dev\dev-src\src /src/dev-src/src native text!=binary
F:\user\user-src\src /src/user-src/src native text!=binary
Found: G:\USR\DEBUG\BIN\bash.exe
Found: G:\BIN\bash.exe
Found: G:\USR\BIN\bash.exe
Found: \bin\bash.exe
Found: G:\CYGNUS\CYGWIN~1\H-I586~1\BIN\cat.exe
Not Found: cpp (good!)
Found: G:\CYGNUS\CYGWIN~1\H-I586~1\BIN\find.exe
Found: C:\WINDOWS\COMMAND\find.exe
Found: G:\USR\DEBUG\BIN\gcc.exe
Found: G:\USR\BIN\gcc.exe
Found: G:\USR\DEBUG\BIN\gdb.exe
Found: G:\CYGNUS\CYGWIN~1\H-I586~1\BIN\gdb.exe
Found: G:\USR\DEBUG\BIN\ld.exe
Found: G:\USR\BIN\ld.exe
Found: G:\CYGNUS\CYGWIN~1\H-I586~1\BIN\ls.exe
Found: G:\USR\DEBUG\BIN\make.exe
Found: G:\USR\BIN\make.exe
Found: G:\USR\DEBUG\BIN\sh.exe
Found: G:\BIN\sh.exe
Found: G:\USR\BIN\sh.exe
Found: \bin\sh.exe
5686k 1998/12/26 G:\BIN\cygwin1.dll
371k 1998/12/01 G:\CYGNUS\CYGWIN~1\H-I586~1\BIN\cygtcl80.dll
5k 1998/12/01 G:\CYGNUS\CYGWIN~1\H-I586~1\BIN\cygtclpip80.dll
10k 1998/12/01 G:\CYGNUS\CYGWIN~1\H-I586~1\BIN\cygtclreg80.dll
600k 1998/12/01 G:\CYGNUS\CYGWIN~1\H-I586~1\BIN\cygtk80.dll
5686k 1998/12/26 \bin\cygwin1.dll
Use -h to see help about each section
-glenn
--
Glenn Spell <glenn AT gs DOT fay DOT nc DOT us>
Fayetteville, North Carolina, U. S. A.
____________________________________________________
... blue skies ... happy trails ... sweet dreams ...
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -