Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FBConnectionTest.testLockTable hangs on EMBEDDED after upgrading to JNA 5.2 [JDBC575] #606

Closed
firebird-automations opened this issue Feb 9, 2019 · 6 comments

Comments

@firebird-automations
Copy link

Submitted by: @mrotteveel

Is related to JDBC509
Is related to JDBC519

After upgrading to JNA 5.2.0, running FBConnectionTest.testLockTable on EMBEDDED hangs the Java process on exit. This suggests that the connection was not properly closed or some other resource was kept around. The problem only seems to be reproducible on Java 7 and 8, or on Java 11 when compiled on Java 8.

As a temporary workaround a call to fb_shutdown was added to this test class in an @afterclass method, but that is hardly a proper solution. This needs to be investigated further if things are not properly closed or released, or otherwise a more robust cleanup is necessary. See also some of the comments on #21.

This is also possibly related to JDBC519.

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

priority: Major [ 3 ] => Blocker [ 1 ]

Fix Version: Jaybird 4 [ 10441 ]

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

Link: This issue is related to JDBC509 [ JDBC509 ]

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

Link: This issue is related to JDBC519 [ JDBC519 ]

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

description: After upgrading to JNA 5.2.0, running FBConnectionTest.testLockTable on EMBEDDED hangs the Java process on exit. This suggests that the connection was not properly closed or some other resource was kept around. The problem only seems to be reproducible on Java 7 and 8, or on Java 11 when compiled on Java 8.

As a temporary workaround a call to fb_shutdown was added to this test class in an @afterclass method, but that is hardly a proper solution. This needs to be investigated further if whether things are not properly closed or released, or otherwise a more robust cleanup is necessary. See also some of the comments on #21.

This is also possibly related to JDBC519.

=>

After upgrading to JNA 5.2.0, running FBConnectionTest.testLockTable on EMBEDDED hangs the Java process on exit. This suggests that the connection was not properly closed or some other resource was kept around. The problem only seems to be reproducible on Java 7 and 8, or on Java 11 when compiled on Java 8.

As a temporary workaround a call to fb_shutdown was added to this test class in an @afterclass method, but that is hardly a proper solution. This needs to be investigated further if things are not properly closed or released, or otherwise a more robust cleanup is necessary. See also some of the comments on #21.

This is also possibly related to JDBC519.

@firebird-automations
Copy link
Author

Commented by: @mrotteveel

Problem was fixed after implementing JDBC519

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

status: Open [ 1 ] => Closed [ 6 ]

resolution: Fixed [ 1 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment