Issue Details (XML | Word | Printable)

Key: JDBC-282
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Priority: Blocker Blocker
Assignee: Mark Rotteveel
Reporter: Mark Rotteveel
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Jaybird JCA/JDBC Driver

Access Violation JVM crash during execution of org.firebirdsql.jdbc.TestFBResultSet

Created: 11/Nov/12 09:41 AM   Updated: 08/Dec/13 09:50 PM
Component/s: JNI/JNA layer
Affects Version/s: Jaybird 3.0.0
Fix Version/s: Jaybird 3.0.0

File Attachments: 1. Text File hs_err_pid3960.log (20 kB)
2. Text File hs_err_pid6040.log (20 kB)

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

 Description  « Hide
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] #
    [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)

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Mark Rotteveel added a comment - 11/Nov/12 09:46 AM
Problem seems to occur when the finalizer invokes FBStatement.close().

Mark Rotteveel added a comment - 11/Nov/12 10:34 AM
Repeated execution seems to trigger the Access Violation at different points (if triggered at all)

Mark Rotteveel added a comment - 08/Dec/12 02:39 PM
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).

Mark Rotteveel added a comment - 08/Dec/13 09:50 PM
I have not been able to reproduce this for a long time, therefor I am closing this issue.