delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/04/11:51:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: gethostbyname() crashes
Mail-Copies-To: never
Reply-To: sds AT gnu DOT org
X-Attribution: Sam
X-Disclaimer: You should not expect anyone to agree with me.
From: Sam Steingold <sds AT gnu DOT org>
Mail-Followup-To: cygwin AT cygwin DOT com
Date: Wed, 04 Aug 2004 11:51:34 -0400
Message-ID: <usmb2zyt5.fsf@gnu.org>
User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt)
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019