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

Access Violation JVM crash during execution of org.firebirdsql.jdbc.TestFBResultSet [JDBC282] #328

Closed
firebird-automations opened this issue Nov 11, 2012 · 10 comments

Comments

@firebird-automations
Copy link

Submitted by: @mrotteveel

Attachments:
hs_err_pid6040.log
hs_err_pid3960.log

TestFBResultSet occassionally crashes the JVM with the following trace. It isn't consistently reproducable.

\[junit\] Running org\.firebirdsql\.jdbc\.TestFBResultSet
\[junit\] #⁠
\[junit\] #⁠ A fatal error has been detected by the Java Runtime Environment:
\[junit\] #⁠
\[junit\] #⁠  EXCEPTION\_ACCESS\_VIOLATION \(0xc0000005\) at pc=0x1003c402, pid=6040, tid=5368
\[junit\] #⁠
\[junit\] #⁠ JRE version: 7\.0\_09\-b05
\[junit\] #⁠ Java VM: Java HotSpot\(TM\) Client VM \(23\.5\-b02 mixed mode, sharing windows\-x86 \)
\[junit\] #⁠ Problematic frame:
\[junit\] #⁠ C  \[fbclient\.dll\+0x3c402\]  gds\_\_prepare\+0x145c2
\[junit\] #⁠
\[junit\] #⁠ Failed to write core dump\. Minidumps are not enabled by default on  client versions of Windows
\[junit\] #⁠
\[junit\] #⁠ An error report file with more information is saved as:
\[junit\] #⁠ D:\\Development\\project\\JaybirdEclipse\\client\-java\\output\\hs\_err\_pid6040\.log
\[junit\] #⁠
\[junit\] #⁠ If you would like to submit a bug report, please visit:
\[junit\] #&#x2060;   <http://bugreport.sun.com/bugreport/crash.jsp>
\[junit\] #&#x2060; The crash happened outside the Java Virtual Machine in native code\.
\[junit\] #&#x2060; See problematic frame for where to report the bug\.
\[junit\] #&#x2060;
\[junit\] Running org\.firebirdsql\.jdbc\.TestFBResultSet
\[junit\] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
\[junit\] Test org\.firebirdsql\.jdbc\.TestFBResultSet FAILED \(crashed\)
@firebird-automations
Copy link
Author

Modified by: @mrotteveel

Attachment: hs_err_pid6040.log [ 12251 ]

@firebird-automations
Copy link
Author

Commented by: @mrotteveel

Problem seems to occur when the finalizer invokes FBStatement.close().

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

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

Fix Version: Jaybird 2.3 [ 10440 ]

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

environment: Windows 8 (also observed on Windows 7)
JRE version: 7.0_09-b05
Java VM: Java HotSpot(TM) Client VM (23.5-b02 mixed mode, sharing
windows-x86 )

=>

Windows 8 (also observed on Windows 7)
JRE version: 7.0_09-b05
Java VM: Java HotSpot(TM) Client VM (23.5-b02 mixed mode, sharing windows-x86 )
FB client 2.5.1.26351

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

description: TestFBResultSet occassionally crashes the JVM with the following trace. It isn't consistently reproducable.

\[junit\] Running org\.firebirdsql\.jdbc\.TestFBResultSet
\[junit\] #&#x2060;
\[junit\] #&#x2060; A fatal error has been detected by the Java Runtime Environment:
\[junit\] #&#x2060;
\[junit\] #&#x2060;  EXCEPTION\_ACCESS\_VIOLATION \(0xc0000005\) at pc=0x1003c402, pid=604

0, tid=5368
[junit] #⁠
[junit] #⁠ JRE version: 7.0_09-b05
[junit] #⁠ Java VM: Java HotSpot(TM) Client VM (23.5-b02 mixed mode, sharing
windows-x86 )
[junit] #⁠ Problematic frame:
[junit] #⁠ C [fbclient.dll+0x3c402] gds__prepare+0x145c2
[junit] #⁠
[junit] #⁠ Failed to write core dump. Minidumps are not enabled by default on
client versions of Windows
[junit] #⁠
[junit] #⁠ An error report file with more information is saved as:
[junit] #⁠ D:\Development\project\JaybirdEclipse\client-java\output\hs_err_pi
d6040.log
[junit] #⁠
[junit] #⁠ If you would like to submit a bug report, please visit:
[junit] #⁠ http://bugreport.sun.com/bugreport/crash.jsp
[junit] #⁠ The crash happened outside the Java Virtual Machine in native code
.
[junit] #⁠ See problematic frame for where to report the bug.
[junit] #⁠
[junit] Running org.firebirdsql.jdbc.TestFBResultSet
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.firebirdsql.jdbc.TestFBResultSet FAILED (crashed)

=>

TestFBResultSet occassionally crashes the JVM with the following trace. It isn't consistently reproducable.

\[junit\] Running org\.firebirdsql\.jdbc\.TestFBResultSet
\[junit\] #&#x2060;
\[junit\] #&#x2060; A fatal error has been detected by the Java Runtime Environment:
\[junit\] #&#x2060;
\[junit\] #&#x2060;  EXCEPTION\_ACCESS\_VIOLATION \(0xc0000005\) at pc=0x1003c402, pid=6040, tid=5368
\[junit\] #&#x2060;
\[junit\] #&#x2060; JRE version: 7\.0\_09\-b05
\[junit\] #&#x2060; Java VM: Java HotSpot\(TM\) Client VM \(23\.5\-b02 mixed mode, sharing windows\-x86 \)
\[junit\] #&#x2060; Problematic frame:
\[junit\] #&#x2060; C  \[fbclient\.dll\+0x3c402\]  gds\_\_prepare\+0x145c2
\[junit\] #&#x2060;
\[junit\] #&#x2060; Failed to write core dump\. Minidumps are not enabled by default on  client versions of Windows
\[junit\] #&#x2060;
\[junit\] #&#x2060; An error report file with more information is saved as:
\[junit\] #&#x2060; D:\\Development\\project\\JaybirdEclipse\\client\-java\\output\\hs\_err\_pid6040\.log
\[junit\] #&#x2060;
\[junit\] #&#x2060; If you would like to submit a bug report, please visit:
\[junit\] #&#x2060;   <http://bugreport.sun.com/bugreport/crash.jsp>
\[junit\] #&#x2060; The crash happened outside the Java Virtual Machine in native code\.
\[junit\] #&#x2060; See problematic frame for where to report the bug\.
\[junit\] #&#x2060;
\[junit\] Running org\.firebirdsql\.jdbc\.TestFBResultSet
\[junit\] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
\[junit\] Test org\.firebirdsql\.jdbc\.TestFBResultSet FAILED \(crashed\) 

@firebird-automations
Copy link
Author

Commented by: @mrotteveel

Repeated execution seems to trigger the Access Violation at different points (if triggered at all)

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

Attachment: hs_err_pid3960.log [ 12252 ]

@firebird-automations
Copy link
Author

Commented by: @mrotteveel

I am starting to wonder if this might have been flaky memory / unstable bios in my machine as I am no longer able to reproduce it (or at least: the error hasn't manifested itself for a while).

@firebird-automations
Copy link
Author

Commented by: @mrotteveel

I have not been able to reproduce this for a long time, therefor I am closing this issue.

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

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

resolution: Cannot Reproduce [ 5 ]

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