JVM crashes with problematic frame in libjffi-0.6
-------------------------------------------------
Key: JRUBY-4526
URL: http://jira.codehaus.org/browse/JRUBY-4526
Project: JRuby
Issue Type: Bug
Components: Extensions
Affects Versions: JRuby 1.4
Environment: Linux 2.6.18-164.10.1.el5 #1 SMP x86_64
Reporter: Andrea Barisani
Attachments: hs_err_pid19542.log
Our application constantly crashes (load doesn't seem relevant) while parsing
html using nokogiri. The affected function seems to be
LibXML.xmlReadMemory(string, string.length, url, encoding, options) which is
invoked by nokogiri.
Our nokogiri usage is done concurrently by several threads.
It's probably a malloc failing, though I wonder if we have to blame the
installed libxml (libxml2-2.6.26 rpm from centos 5.4), Java or libjffi for
dieing on us. We'll soon try a more recently compiled libxml on the system.
In case you think the problem lies entirely on libxml feel free to close the
bug, I thought anyway it was worth reporting this behaviour (which doesn't
affect IRB apparently).
Any suggestions on how to debug this further and/or workarounds are
appreciated. I'm attaching the JVM dump.
Sorry for not providing a specific test case, will try to build one.
Cheers
--
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