Re: gethostbyname() crashes

2004-08-04 Thread Christopher Faylor
On Wed, Aug 04, 2004 at 02:28:10PM -0500, Pawel Slusarz wrote: >"Sam Steingold" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] >> CYGWIN_NT-5.0 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 >> >> (gdb) p gethostbyname("ftp.gnu.org") > > >I get the same. Maybe a bug that was introduced recen

Re: gethostbyname() crashes

2004-08-04 Thread Pawel Slusarz
"Sam Steingold" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > CYGWIN_NT-5.0 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 > > (gdb) p gethostbyname("ftp.gnu.org") I get the same. Maybe a bug that was introduced recently? (gdb) list 1 #include 2 #include 3 4 int main

gethostbyname() crashes

2004-08-04 Thread Sam Steingold
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 calle