Subject JVM access violation with Firebird Embedded
Author Walter
After installing the latest version of Firebird Embedded (2.5) a file named "hs_err_pidXXX.log" appears every time I close my application (the XXX is a number that's different for each file). I found out that it happens when I use a select query that contains a stored procedure (something like "SELECT * FROM MY_PROCEDURE..."). The procedure had worked fine with previous versions of Firebird, and the "hs_err" file is not created when I use the same database with a Firebird server instead of using the embedded version. These are the file that I deploy with my application:

fbembed.dll 2.5.0.26074
ib_util 2.5.0.26074
iucdt30.dll 3.0.0.0
icuin30.dll 3.0.0.0
icuuc30.dll 3.0.0.0
jaybird21.dll
jaybird-full-2.1.6.jar

and these are the first lines of the hs_err_pid file:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x035dfe16, pid=1712, tid=2084
#
# JRE version: 6.0_29-b11
# Java VM: Java HotSpot(TM) Client VM (20.4-b02 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [fbembed.dll+0x3fe16]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#

Can someone help me to fix this ?