Project

General

Profile

Actions

Bug #2319

closed

gethostbyname fails in windows

Added by rogerdpack (Roger Pack) over 14 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-10-26 trunk 25491) [i386-mingw32]
Backport:
[ruby-core:26458]

Description

=begin
Unfortunately this appears to prevent me from running other tests...

C:\dev\ruby\downloads\ruby_trunk>make test-all
./miniruby.exe -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./tool/runruby.rb --extout=.ext -- "./test/runner.rb"
C:/dev/ruby/downloads/ruby_trunk/lib/drb/drb.rb:834: [BUG] Segmentation fault
ruby 1.9.2dev (2009-11-01 trunk 25603) [i386-mingw32]

-- control frame ----------
c:0021 p:---- s:0088 b:0088 l:000087 d:000087 CFUNC :gethostbyname
c:0020 p:0058 s:0084 b:0084 l:000083 d:000083 METHOD C:/dev/ruby/downloads/ruby_trunk/lib/drb/drb.rb:834
c:0019 p:0053 s:0080 b:0080 l:000079 d:000079 METHOD C:/dev/ruby/downloads/ruby_trunk/lib/drb/ssl.rb:139
c:0018 p:0019 s:0070 b:0070 l:000061 d:000069 BLOCK C:/dev/ruby/downloads/ruby_trunk/lib/drb/drb.rb:759
c:0017 p:---- s:0067 b:0067 l:000066 d:000066 FINISH
...

gethostbyname works fine with 1.9.1

Thanks!
-r
=end


Related issues 1 (0 open1 closed)

Has duplicate Ruby master - Bug #2686: Socket::gethostbyname => SEGFAULTClosednobu (Nobuyoshi Nakada)01/29/2010Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0