You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the JVM exits and there are still connections open using Firebird Embedded, then the exit may produce an access violation (0xc0000005 error). The root cause is that the fbembed.dll/fbclient.dll will call fb_shutdown() itself, but one of the other libraries (eg fbintl.dll) may already have been unloaded.
To prevent this, Jaybird should register a shutdown hook that explicitly calls fb_shutdown for any of the native libries loaded (but especially for embedded).
See also "Crash Firebird 2.5.8 Embedded with Firebird http://Ado.net provider." on Firebird-devel.
Implemented cleanup handling of native libraries both on JVM exit and on servlet destroy if the driver is loaded from a WAR. Feature can be disabled using system property org.firebirdsql.nativeResourceShutdownDisabled set to true (eg -Dorg.firebirdsql.nativeResourceShutdownDisabled=true on Java command line).
Submitted by: @mrotteveel
Relate to JDBC575
If the JVM exits and there are still connections open using Firebird Embedded, then the exit may produce an access violation (0xc0000005 error). The root cause is that the fbembed.dll/fbclient.dll will call fb_shutdown() itself, but one of the other libraries (eg fbintl.dll) may already have been unloaded.
To prevent this, Jaybird should register a shutdown hook that explicitly calls fb_shutdown for any of the native libries loaded (but especially for embedded).
See also "Crash Firebird 2.5.8 Embedded with Firebird http://Ado.net provider." on Firebird-devel.
Commits: 2dcfde6 7e65ee0
The text was updated successfully, but these errors were encountered: