Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Mail-Followup-To: cygwin AT cygwin DOT com Date: Wed, 04 Aug 2004 11:51:34 -0400 Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain 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 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/