Subject: gdb crash in isatty(0)
From: Sam Steingold <[email-masked]>
To: [email-masked]
Date: 08 Sep 2003 11:22:04 -0400

startx
xterm
gdb foo.exe
break main
run
p isatty(0)

==> segfault (trace appended)

gdb-20030901-1
cygwin-1.5.3-1

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
PI seconds is a nanocentury

Exception: STATUS_ACCESS_VIOLATION at eip=610B6504
eax=00000010 ebx=00000010 ecx=00000004 edx=00000000 esi=D02460B9 edi=100F72E8
ebp=0022F178 esp=0022F16C program=d:\gnu\cygwin\bin\gdb.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022F178  610B6504  (100F72E8, D02460B9, 00000010, 00000890)
0022F1A8  004A767A  (100F7220, 00000020, D02460B9, 004C26D8)
0022F1C8  004A75C1  (00000020, D02460B9, 00000000, 00000000)
0022F1E8  004B6175  (00000020, 00000000, 00000000, 00000890)
0022F218  004A5B8D  (100F7220, 00000020, 0022F270, 1022B3F4)
0022F238  004A5085  (100F7220, 00000020, 0022F270, 0042EF07)
0022F298  004A4F14  (10106E68, 004A5050, 100F7220, 0042EF59)
0022F2B8  004A51C5  (10106E68, 100F7220, 0022F2E8, 0048A0EC)
0022F2E8  004A5403  (100F7220, FFFFFFE2, 0022F3A8, 004D1F07)
0022F2F8  0049B0A5  (00000001, 00000000, 77F82933, 00230000)
0022F3A8  004D1F07  (1023E9E8, 00000001, 0022F3DC, 00446EB4)
0022F648  0044712F  (00000000, 1023E8E8, 0022F684, 00000000)
0022F668  004443F6  (00000000, 1023E8E8, 0022F684, 00000000)
0022F688  0044461F  (1023E8E8, 0022F6B8, 00000000, 61077349)
0022F6C8  0047D269  (100C051A, 00000000, 00000001, 00000001)
0022F6E8  0047D2E1  (100C051A, 00000001, 0022F718, 00407A8C)
End of stack trace (more stack frames may be present)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/