JRE Fatal error opening a file with nokogiri in jruby
-----------------------------------------------------
Key: JRUBY-5325
URL: http://jira.codehaus.org/browse/JRUBY-5325
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.5.6
Environment: Windows XP 32bit
jruby 1.5.6
nokogiri 1.4.4.2
Reporter: Rurouni Jones
Assignee: Thomas E Enebo
Attachments: jruby_crash.txt
Attempting to open a quite large shift-jis encoded xml file (1400 lines)
results in jruby crashing. The same code in MRI ruby works correctly.
require "rubygems"
require "nokogiri"
doc = Nokogiri::XML(open("file.xml")) # Also crashes if encoding is specified
explicitely
Unfortunately I am unable to provide the xml file in question but please find
the crash log attached.
--
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