db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2141) BlobClob4BlobTest.testPositionBlob() fails with NullPointerException
Date Sun, 06 May 2007 14:37:15 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493928
] 

Knut Anders Hatlen commented on DERBY-2141:
-------------------------------------------

I think these errors are caused by the lack of synchronization between the finalization thread
and the user thread. For LOBs that are not materialized in memory, the finalizers of EmbedBlob
and EmbedClob call OverflowInputStream.closeStream() which again calls BaseContainerHandle.close().
Since the finalization thread doesn't synchronize on the connection synchronization object,
the user thread and the finalization thread might run BaseContainerHandle.close() concurrently
on the same object.

> BlobClob4BlobTest.testPositionBlob() fails with NullPointerException
> --------------------------------------------------------------------
>
>                 Key: DERBY-2141
>                 URL: https://issues.apache.org/jira/browse/DERBY-2141
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.3.0.0
>         Environment: Java SE 6, Java SE 5.0 (less frequently). Linux.
>            Reporter: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: stacktrace.diff
>
>
> Seen in the nightly regression tests:
> http://dbtg.thresher.com/derby/test/Daily/jvm1.6/testing/testlog/lin/481811-org.apache.derbyTesting.functionTests.suites.All_diff.txt
> http://dbtg.thresher.com/derby/test/Daily/jvm1.6/testing/testlog/lin/480626-org.apache.derbyTesting.functionTests.suites.All_diff.txt

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message