db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DERBY-3557) hang in derbyall/storeall/storemore/OnlineCompressTest after java.lang.IllegalMonitorStateException with ibm 1.6
Date Sat, 03 May 2008 19:18:55 GMT

     [ https://issues.apache.org/jira/browse/DERBY-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kathey Marsden resolved DERBY-3557.
-----------------------------------

    Resolution: Fixed

Confirms this occurs with the IBM 1.6 SR1 build
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxi3260sr1-20080416_01(SR1))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260-20080415_1876
J9VM - 20080415_018762_lHdSMr
JIT  - r9_20080415_1520
GC   - 20080415_AA)
JCL  - 20080412_01

The problem appears to be a JIT bug.  The workaround is  to exclude the offending method by
running with
-Xjit:exclude={java/util/concurrent/locks/ReentrantLock.isHeldByCurrentThread()Z}

> hang in derbyall/storeall/storemore/OnlineCompressTest after java.lang.IllegalMonitorStateException
with ibm 1.6
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3557
>                 URL: https://issues.apache.org/jira/browse/DERBY-3557
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>         Environment: Java Version:    1.6.0
> Java Vendor:     IBM Corporation
> Classpath: all derby*.jars, junit.jar, jakarta-oro-2.0.8.jar
> OS name:         Linux
> OS architecture: x86
> OS version:      2.6.5-7.283-bigsmp
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.6
> --------- Derby Information --------
> JRE - JDBC: Java SE 6 - JDBC 4.0
> [/local1/cloudtst/dev/src/jars/insane/derby.jar] 10.5.0.0 alpha - (638673)
> etc.
> java -version:
> java version "1.6.0"
> Java(TM) SE Runtime Environment (build pxi3260sr1-20080307_01)
> IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260-20080305_1775
> 5 (JIT enabled, AOT enabled)
> J9VM - 20080305_017755_lHdSMr
> JIT  - r9_20080304_1821
> GC   - 20080305_AB)
> JCL  - 20080301_01
>            Reporter: Myrna van Lunteren
>
> Hang on linux in derbyall/storeall/storemore/store/OnlineCompressTest.java with ibm16.
> The diff is as follows:
> > Executing test: delete all rows case succeeded.
> > Executing test: end simple deleteAllRows,104000 row test.
> > Ending test: test6
> > Beginning test: test7
> > Executing test: delete rows case succeeded.
> > Ending test: test7
> suggesting that we didn't get through the 'delete all rows case' of 'test6'.
> derby.log shows some expected: "ERROR 40XL1: A lock could not be obtained within the
time requested", followed by:
> -------------
> java.lang.IllegalMonitorStateException
>         at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:127)
>         at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1175)
>         at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431)
>         at org.apache.derby.impl.services.locks.ConcurrentLockSet$Entry.unlock(Unknown
Source)
>         at org.apache.derby.impl.services.locks.ConcurrentLockSet.lockObject(Unknown
Source)
>         at org.apache.derby.impl.services.locks.AbstractPool.lockObject(UnknownSource)
>         at org.apache.derby.impl.store.raw.xact.RowLocking3.lockContainer(Unknown Source)
>         at org.apache.derby.impl.store.raw.data.BaseContainerHandle.useContainer(Unknown
Source)
>         at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.openContainer(Unknown
Source)
>         at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.openContainer(Unknown
Source)
>         at org.apache.derby.impl.store.raw.xact.Xact.openContainer(Unknown Source)
>         at org.apache.derby.impl.store.access.conglomerate.OpenConglomerate.init(Unknown
Source)
>         at org.apache.derby.impl.store.access.heap.Heap.open(Unknown Source)
>         at org.apache.derby.impl.store.access.heap.HeapPostCommit.performWork(Unknown
Source)
>         at org.apache.derby.impl.services.daemon.BasicDaemon.serviceClient(Unknown Source)
>         at org.apache.derby.impl.services.daemon.BasicDaemon.work(Unknown Source)
>         at org.apache.derby.impl.services.daemon.BasicDaemon.run(Unknown Source)
>         at java.lang.Thread.run(Thread.java:735)
> ------

-- 
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