![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
JRuby 1.6.8 |
Assignee:
|
Thomas E Enebo
|
Components:
|
Ruby 1.9.2 |
Created:
|
11/Oct/12 9:14 PM
|
Description:
|
When running a multithreaded Rails 3.2 application in Ruby 1.9 mode (using "--1.9"), I get this stack trace every time I send traffic to that application:
This bug is reproducible always, but interestingly only in the production server setting, not when testing manually (maybe this is traffic dependent, but I doubt this).
This bug seems to be actually at least 2 bugs:
- the bug itself, presumably a java.lang.NegativeArraySizeException raised somewhere
- catching this exception and discarding its stack trace, thus obscuring its original site where it is create. Instead of this, a new Throwable is created using newLoadErrorFromThrowable() in https://github.com/jruby/jruby/blob/1.6.8/src/org/jruby/runtime/load/LoadService.java#L738 Unfortunately, this new throwable has no links to the original Throwable object (like chaining Throwables or Errors as it is possible using the "cause" parameter in http://docs.oracle.com/javase/7/docs/api/java/lang/Error.html#Error%28java.lang.Throwable%29 since Java 1.4.
Fixing the second bug would enlighten the cause of the first bug.
|
Project:
|
JRuby
|
Priority:
|
Major
|
Reporter:
|
Xuân Baldauf
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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