This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gethostbyname() crashes


CYGWIN_NT-5.0 1.5.10(0.116/4/2) 2004-05-25 22:07 i686

(gdb) p gethostbyname("ftp.gnu.org")

Program received signal SIGSEGV, Segmentation fault.
0x7c5746b9 in KERNEL32!IsBadWritePtr ()
   from /cygdrive/c/WINNT/system32/KERNEL32.DLL
The program being debugged was signaled while in a function called from GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on"
Evaluation of the expression containing the function (gethostbyname) will be aba
ndoned.
(gdb) where
#0  0x7c5746b9 in KERNEL32!IsBadWritePtr ()
   from /cygdrive/c/WINNT/system32/KERNEL32.DLL
#1  0x610a92ed in cygwin1!__getreent () from /usr/bin/cygwin1.dll
#2  0x00000008 in ?? ()
#3  0x0022d9e4 in ?? ()
#4  0x610a9387 in cygwin1!__getreent () from /usr/bin/cygwin1.dll
(gdb)

-- 
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>
Incorrect time syncronization.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]