Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.0.1
-
Fix Version/s: JRuby 1.1.5
-
Component/s: Core Classes/Modules
-
Labels:None
-
Environment:Running Jruby 1.0.1 on Ubuntu Gutsy Gibbon (7.10), kernel 2.6.22-13-generic
-
Number of attachments :
Description
When running:
require 'rinda/ring'
DRb.start_service
ring_server = Rinda::RingFinger.primary
the last call causes jruby to hang on line 181 of rinda/ring.rb:
soc = UDPSocket.open
The test code is from the list_services.rb example at http://segment7.net/projects/ruby/drb/rinda/ringserver.html.
May be related to the rudimentary UDP support mentioned in issue JRUBY-1126.
The hanging happens regardless of whether a RingServer is running. What it should do is either find the RingServer and terminate silently, or report a RingNotFound RuntimeError.