Mail Archives: cygwin/2004/06/06/16:25:29
On Sun, 6 Jun 2004, Enzo Michelangeli wrote:
> I'm not sure it's my setup, but since I upgraded to Cygwin 1.5.10-3 gdb
> crashes when executing trivial calls to gethostbyname:
> [snip]
>
> Strangely enough, no SIGSEGV seems to occur if I don't run gdb.
>
> For the record, my Windows is an ancient Win98SE. The version of gdb
> should be the latest; for some reason it identifies itself as
> 2003-09-20-cvs, although according to setup.exe it should be slightly
> older, 20030919-1 (the other alternative offered is 20030303-1).
>
> Enzo
I don't know if it's related, but the newer versions of the Cygwin runtime
use a function from Kernel32.dll (IsBadWritePtr) that produces (and later
handles) an intentional SIGSEGV. Since the SIGSEGV is handled, it's not
seen outside of gdb. Did you try continuing a few times? For me (on
Win2k), 4 continues do the trick, and the program completes normally.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
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 -