Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0.pre1
Assignee: Unassigned
Attachments: hs_err_pid9420.log
Components: Application Error, win32ole, Windows
Created: 30/Jun/12 8:05 PM
Description:

Firstly, thanks for the awesome app. JRuby rocks.

I am getting a fatal error when running the following code on Windows 64-bit.

require 'win32ole'

begin
  conn_string = 'Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Apps\rubyfuse\lmsdata.accdb;Persist Security Info=False;'
  conn = WIN32OLE.new('ADODB.Connection')
  conn.Open(conn_string)
  recordset = WIN32OLE.new('ADODB.Recordset')
  sql = 'SELECT * FROM Clients;'
  recordset.Open(sql, conn)  # Fatal error here.
ensure
  recordset.Close
  conn.Close
end

Seems to be a problem with the ADODB.Recordset. The error looks something like this.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fee27b6b2b, pid=9420, tid=6592
#
# JRE version: 6.0_23-b05
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b09 mixed mode windows-amd64compressed oops)
# Problematic frame:
# C  [racob-x64.dll+0x6b2b]
#
# An error report file with more information is saved as:
# C:\Apps\rubyfuse\hs_err_pid9420.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

I've attached a copy of the log file. HTH, Thanks.

Environment: jruby 1.7.0.preview1 (ruby-1.9.3-p203) (2012-05-19 00c8c98) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_23) [Windows Server 2008 R2-amd64-java]
Project: JRuby
Labels: jruby win32ole windows 64-bit
Priority: Major Major
Reporter: David Irvine
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