Issue Type: Bug Bug
Affects Versions: JRuby 1.6
Assignee: Thomas E Enebo
Created: 12/Aug/12 10:11 AM
Description:

This is fixed in master, but would probably be worth backporting to 1.6.8, even though it won't be a simple cherry-pick.

Basically, the result of DataConverter#to_native() should be explicitly strongly referenced in certain situations (such as assigning to a struct field, or passing as a parameter to a function), due to the convert allocating memory in #to_native. If this is not strongly referenced, then it can be collected by the GC during the native call, causing a JVM crash.

Fix Versions: JRuby 1.6.8
Project: JRuby
Priority: Major Major
Reporter: Wayne Meissner
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

Reply via email to