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

Assertion failure in Deadlock Detector #72

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment
Open

Assertion failure in Deadlock Detector #72

GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link
Collaborator

The error occurred when running the simpledbm-database test cases:

Exception in thread "DeadlockDetector" java.lang.AssertionError
        at
org.simpledbm.rss.impl.locking.LockManagerImpl.findDeadlockCycle(LockManagerImpl
.java:1427)
        at
org.simpledbm.rss.impl.locking.LockManagerImpl.detectDeadlocks(LockManagerImpl.j
ava:1572)
        at
org.simpledbm.rss.impl.locking.LockManagerImpl$DeadlockDetector.run(LockManagerI
mpl.java:1867)
        at java.lang.Thread.run(Thread.java:613)

Thread stack trace (may not be the one that failed)
2009-05-05 00:55:32,327 [Thread-7] WARN org.simpledbm.lockmgr
SIMPLEDBM-EC0001: Lock request LockParameters(Lockable=TupleId(ns=84,
pageId=PageId(1,209), slot=47), owner=Transaction(trxId=TrxId(388509),
firstLsnLsn(34,4232526), lastLsn=Lsn(34,4233699),
undoNextLsn=Lsn(34,4233699), state=TRX_UNPREPARED,
isolationMode=READ_COMMITTED), mode=EXCLUSIVE, duration=COMMIT_DURATION,
timeout=60, downgradeMode=null, releaseAction=null) timed out
org.simpledbm.rss.api.locking.LockTimeoutException: SIMPLEDBM-EC0001: Lock
request LockParameters(Lockable=TupleId(ns=84, pageId=PageId(1,209),
slot=47), owner=Transaction(trxId=TrxId(388509), firstLsnLsn(34,4232526),
lastLsn=Lsn(34,4233699), undoNextLsn=Lsn(34,4233699), state=TRX_UNPREPARED,
isolationMode=READ_COMMITTED), mode=EXCLUSIVE, duration=COMMIT_DURATION,
timeout=60, downgradeMode=null, releaseAction=null) timed out
        at
org.simpledbm.rss.impl.locking.LockManagerImpl.handleWaitResult(LockManagerImpl.
java:907)
        at
org.simpledbm.rss.impl.locking.LockManagerImpl.doAcquire(LockManagerImpl.java:55
6)
        at
org.simpledbm.rss.impl.locking.LockManagerImpl.acquire(LockManagerImpl.java:386)
        at
org.simpledbm.rss.impl.tx.TransactionManagerImpl$TransactionImpl.doAcquireLock(T
ransactionManagerImpl.java:1811)
        at
org.simpledbm.rss.impl.tx.TransactionManagerImpl$TransactionImpl.acquireLock(Tra
nsactionManagerImpl.java:1848)
        at
org.simpledbm.rss.impl.im.btree.BTreeIndexManagerImpl$BTreeImpl.doNextKeyLock(BT
reeIndexManagerImpl.java:2865)
        at
org.simpledbm.rss.impl.im.btree.BTreeIndexManagerImpl$BTreeImpl.doDelete(BTreeIn
dexManagerImpl.java:3186)
        at
org.simpledbm.rss.impl.im.btree.BTreeIndexManagerImpl$BTreeImpl.delete(BTreeInde
xManagerImpl.java:3238)
        at
org.simpledbm.database.impl.TableScanImpl.deleteRow(TableScanImpl.java:200)
        at
org.simpledbm.database.TestDatabase$TesterThread.testDelete(TestDatabase.java:76
7)
        at
org.simpledbm.database.TestDatabase$TesterThread.run(TestDatabase.java:889)
        at java.lang.Thread.run(Thread.java:613)

Original issue reported on code.google.com by [email protected] on 5 May 2009 at 12:02

@GoogleCodeExporter
Copy link
Collaborator Author

Original comment by [email protected] on 17 Oct 2009 at 10:55

  • Added labels: Type-Defect

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

No branches or pull requests

1 participant