Bug #27770 grtsh.exe crashing in Java code
Submitted: 11 Apr 2007 21:06 Modified: 30 May 2007 13:24
Reporter: KUNO OSPALD Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Migration Toolkit Severity:S1 (Critical)
Version:1.1.11 OS:Windows
Assigned to: CPU Architecture:Any

[11 Apr 2007 21:06] KUNO OSPALD
Description:
related to bug #21850

Is crashing when trying to run generated lua script:

C:\Program Files\MySQL\MySQL Tools for 5.0>"C:\Program Files\MySQL\MySQL Tools for 5.0\grtsh.exe" -x "C:\test.lua"
Set source connection.
Set target connection.
Test source connection to Access ...
Initializing JDBC driver ...
        Driver class MS Access
Opening connection ...
        Connection jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\test.mdb;DriverID=22;READONLY=true;UID=;PWD=}
Getting version information ...
Initializing JDBC driver ...
        Driver class MS Access
Test target connection to Mysql ...
Initializing JDBC driver ...
        Driver class MySQL JDBC Driver 3.1
Opening connection ...
        Connection jdbc:mysql://localhost:3306/?user=root&password=test&useServerPrepStmts=false&characterEncoding=UTF-8
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_FLT_STACK_CHECK (0xc0000092) at pc=0x01cd06d8, pid=3244, tid=2476
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
# Problematic frame:
# v  ~RuntimeStub::init_check_patching Runtime1 stub
#
# An error report file with more information is saved as hs_err_pid3244.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

C:\Program Files\MySQL\MySQL Tools for 5.0>

How to repeat:
run:

"C:\Program Files\MySQL\MySQL Tools for 5.0\grtsh.exe" -x "C:\test.lua"

with a recent java version

Suggested fix:
Use JRE 5.0 update 8 (jre-1_5_0_08-windows-i586-p.exe)
[11 Apr 2007 21:38] KUNO OSPALD
Java error log

Attachment: hs_err_pid3244.log (application/octet-stream, text), 11.35 KiB.

[11 Apr 2007 21:41] KUNO OSPALD
Lua migration script

Attachment: test.lua (application/octet-stream, text), 9.40 KiB.

[11 Apr 2007 23:31] MySQL Verification Team
Thank you for the bug report.

Scanning for struct definitions in ./xml ...
Registered 12 struct definition files.
Initializing Builtin modules...
Initializing Java loader...
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_FLT_STACK_CHECK (0xc0000092) at pc=0x029acea9, pid=4500, tid=3500
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_02-ea-b01 mixed mode)
# Problematic frame:
# v  ~RuntimeStub::resolve_opt_virtual_call
#
# An error report file with more information is saved as hs_err_pid4500.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

C:\Arquivos de programas\mysql\MySQL Tools for 5.0>
[30 Apr 2007 13:24] Michael G. Zinner
Could you please upload the MS Access database that is causing the problems? If it is too big to attach it here please upload to our FTP server.

Thanks,
Mike
[3 May 2007 21:49] KUNO OSPALD
Access Database

Attachment: test.mdb (application/msaccess, text), 168.00 KiB.

[30 May 2007 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".