Rails hangs occasionally with JRuby
-----------------------------------

                 Key: JRUBY-1675
                 URL: http://jira.codehaus.org/browse/JRUBY-1675
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.x
         Environment: Latest JRuby 1.1b1 from trunk
            Reporter: Vladimir Sizikov
            Priority: Blocker


Very easy to reproduce (at least for me):
1. Create empty rails project (rails 1.2.6)
2. Start either mongrel or webrick
3. Open the URL: http://HOST_NAME:3000/rails/info/properties
   (I'm not sure whether it's important or not, but try not to use
    localost, but rather the host name, so that you should get message
   about properties not available for non-local access)

Try to open that URL few times ---> HANG. After than, it's hard to even kill 
the server.

I debugged this problem (A LOT! :), and it seems that the hang occurs when 
rails tries
to kill the thread of DRb, and can't, being stuck in RubyThread.kill (in 
threadImpl.join).

I have two fixes for the problem, but need to discuss which one is correct 
first. :)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to