Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java exceptions on too many open files in 9k #2107

iconara opened this issue Nov 5, 2014 · 1 comment

Java exceptions on too many open files in 9k #2107

iconara opened this issue Nov 5, 2014 · 1 comment


Copy link

iconara commented Nov 5, 2014

Besides #2106 where a Ruby exception was raised and a Java stack trace dumped to stdout/err there seems to be cases when Java exceptions are not handled and are delivered to the Ruby code:

The full stack traces are here:

Here's the first few lines:

  2) (Test description here)
     Failure/Error: Unable to find matching line from backtrace
       Unhandled IOException
     # org.jruby.RubyIO.cloexecOpen(
     # org.jruby.RubyIO.sysopenFunc(
     # org.jruby.RubyIO.sysopenInternal(
     # org.jruby.RubyIO.sysopen(
     # org.jruby.RubyFile.fileOpenGeneric(
     # org.jruby.RubyFile.openFile(
     # org.jruby.RubyFile.initialize(
     # org.jruby.RubyFile$INVOKER$i$0$2$$INVOKER$i$0$2$initialize.gen)
     # org.jruby.runtime.callsite.CachingCallSite.callBlock(
     # org.jruby.RubyClass.newInstance(
     # org.jruby.RubyIO$INVOKER$s$0$0$$INVOKER$s$0$0$open.gen)
Copy link

headius commented Nov 5, 2014

Ahh, good, this I can deal with. We have logic that turns IOException into the appropriate kind of Ruby error, but because Java only gives us a string message to indicate what happened we have some gaps in the translation. Will investigate.

@headius headius added this to the JRuby milestone Nov 10, 2014
@headius headius self-assigned this Nov 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants