IDE hangs when importing a project

When importing a new project into IDE, the entire IDE hangs, and we think it is the TC plugin causing it. And once we removed the TC plugin, everything works fine. We have captured some threaddumps while the IDE hung. Could you please take a look and let us know what is going on, and fix it if it's a defect.

Environment:
IDE: MyEclipse 9.1
TC Plugin: 7.0.0.21455 (which we got as a patch from http://youtrack.jetbrains.com/issue/TW-21567)
Code is checked out using svn 1.7
Subclipse version: 1.8.5

We captured the TC worker thread dump along the way:


"Worker-5" prio=6 tid=0x000000000f298000 nid=0x198c runnable [0x0000000015eae000]
   java.lang.Thread.State: RUNNABLE
 at org.tmatesoft.svn.core.internal.db.SVNSqlJetStatement.getCursor(SVNSqlJetStatement.java:387)
 at org.tmatesoft.svn.core.internal.db.SVNSqlJetStatement.next(SVNSqlJetStatement.java:85)
 at org.tmatesoft.svn.core.internal.db.SVNSqlJetSelectStatement.next(SVNSqlJetSelectStatement.java:76)
 at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.gatherExternalDefinitions(SVNWCDb.java:363)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetStatus.run(SvnNgGetStatus.java:156)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetStatus.run(SvnNgGetStatus.java:42)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:16)
 at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
 at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:477)
 at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:160)
 at org.tmatesoft.svn.core.wc.SVNStatusClient.doStatus(SVNStatusClient.java:370)
 at org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:297)
 at org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:279)
 at jetbrains.teamcity.vcs.svn.standalone.SVNManager.status(SVNManager.java:304)
 at jetbrains.teamcity.vcs.svn.standalone.SVNStatusCache.refresh(SVNStatusCache.java:91)
 at jetbrains.teamcity.vcs.svn.standalone.SVNStatusCache.refresh(SVNStatusCache.java:65)
 at jetbrains.teamcity.vcs.svn.standalone.SVNResourceChangeDispatcher.resourceChanged(SVNResourceChangeDispatcher.java:86)
 at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
 at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
 at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
 at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327)
 at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181)
 at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)



"Worker-5" prio=6 tid=0x000000000f298000 nid=0x198c runnable [0x0000000015eae000]
   java.lang.Thread.State: RUNNABLE
 at java.lang.Integer.hashCode(Integer.java:733)
 at java.util.HashMap.removeEntryForKey(HashMap.java:548)
 at java.util.HashMap.remove(HashMap.java:538)
 at org.tmatesoft.sqljet.core.internal.pager.SqlJetPageCache$PCache.unpin(SqlJetPageCache.java:668)
 - locked <0x00000007b6709338> (a org.tmatesoft.sqljet.core.internal.pager.SqlJetPageCache$PCache)
 at org.tmatesoft.sqljet.core.internal.pager.SqlJetPageCache.unpin(SqlJetPageCache.java:150)
 at org.tmatesoft.sqljet.core.internal.pager.SqlJetPageCache.release(SqlJetPageCache.java:260)
 at org.tmatesoft.sqljet.core.internal.pager.SqlJetPage.unref(SqlJetPage.java:343)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetMemPage.releasePage(SqlJetMemPage.java:272)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeCursor.moveToRoot(SqlJetBtreeCursor.java:373)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeCursor.moveToUnpacked(SqlJetBtreeCursor.java:526)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeCursor.moveTo(SqlJetBtreeCursor.java:345)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeDataTable.goToRow(SqlJetBtreeDataTable.java:149)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetTableDataCursor$2.run(SqlJetTableDataCursor.java:68)
 at org.tmatesoft.sqljet.core.table.SqlJetDb$3.run(SqlJetDb.java:240)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine$8.runSynchronized(SqlJetEngine.java:467)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runSynchronized(SqlJetEngine.java:217)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runEngineTransaction(SqlJetEngine.java:463)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runTransaction(SqlJetDb.java:238)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runReadTransaction(SqlJetDb.java:225)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetTableDataCursor.goTo(SqlJetTableDataCursor.java:65)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor.access$001(SqlJetIndexScopeCursor.java:33)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor$1.run(SqlJetIndexScopeCursor.java:90)
 at org.tmatesoft.sqljet.core.table.SqlJetDb$3.run(SqlJetDb.java:240)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine$8.runSynchronized(SqlJetEngine.java:467)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runSynchronized(SqlJetEngine.java:217)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runEngineTransaction(SqlJetEngine.java:463)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runTransaction(SqlJetDb.java:238)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runReadTransaction(SqlJetDb.java:225)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor.goTo(SqlJetIndexScopeCursor.java:88)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor$3.run(SqlJetIndexScopeCursor.java:152)
 at org.tmatesoft.sqljet.core.table.SqlJetDb$3.run(SqlJetDb.java:240)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine$8.runSynchronized(SqlJetEngine.java:467)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runSynchronized(SqlJetEngine.java:217)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runEngineTransaction(SqlJetEngine.java:463)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runTransaction(SqlJetDb.java:238)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runReadTransaction(SqlJetDb.java:225)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor.next(SqlJetIndexScopeCursor.java:143)
 at org.tmatesoft.svn.core.internal.db.SVNSqlJetStatement.next(SVNSqlJetStatement.java:90)
 at org.tmatesoft.svn.core.internal.db.SVNSqlJetSelectStatement.next(SVNSqlJetSelectStatement.java:76)
 at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.gatherExternalDefinitions(SVNWCDb.java:363)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetStatus.run(SvnNgGetStatus.java:156)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetStatus.run(SvnNgGetStatus.java:42)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:16)
 at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
 at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:477)
 at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:160)
 at org.tmatesoft.svn.core.wc.SVNStatusClient.doStatus(SVNStatusClient.java:370)
 at org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:297)
 at org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:279)
 at jetbrains.teamcity.vcs.svn.standalone.SVNManager.status(SVNManager.java:304)
 at jetbrains.teamcity.vcs.svn.standalone.SVNStatusCache.refresh(SVNStatusCache.java:91)
 at jetbrains.teamcity.vcs.svn.standalone.SVNStatusCache.refresh(SVNStatusCache.java:65)
 at jetbrains.teamcity.vcs.svn.standalone.SVNResourceChangeDispatcher.resourceChanged(SVNResourceChangeDispatcher.java:86)
 at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
 at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
 at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
 at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327)
 at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181)
 at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)



"Worker-5" prio=6 tid=0x000000000f298000 nid=0x198c runnable [0x0000000015eae000]
   java.lang.Thread.State: RUNNABLE
 at java.io.RandomAccessFile.readBytes(Native Method)
 at java.io.RandomAccessFile.read(RandomAccessFile.java:338)
 at org.tmatesoft.sqljet.core.internal.memory.SqlJetByteArrayBuffer.readFromFile(SqlJetByteArrayBuffer.java:330)
 at org.tmatesoft.sqljet.core.internal.memory.SqlJetMemoryPointer.readFromFile(SqlJetMemoryPointer.java:325)
 at org.tmatesoft.sqljet.core.internal.fs.SqlJetFile.read(SqlJetFile.java:280)
 - locked <0x00000007baa03900> (a org.tmatesoft.sqljet.core.internal.fs.SqlJetFile)
 at org.tmatesoft.sqljet.core.internal.pager.SqlJetPager.readDbPage(SqlJetPager.java:1178)
 at org.tmatesoft.sqljet.core.internal.pager.SqlJetPager.acquirePage(SqlJetPager.java:1060)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeShared.getPage(SqlJetBtreeShared.java:339)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeShared.getAndInitPage(SqlJetBtreeShared.java:982)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeCursor.moveToChild(SqlJetBtreeCursor.java:419)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeCursor.moveToUnpacked(SqlJetBtreeCursor.java:625)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeCursor.moveTo(SqlJetBtreeCursor.java:345)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeDataTable.goToRow(SqlJetBtreeDataTable.java:149)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetTableDataCursor$2.run(SqlJetTableDataCursor.java:68)
 at org.tmatesoft.sqljet.core.table.SqlJetDb$3.run(SqlJetDb.java:240)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine$8.runSynchronized(SqlJetEngine.java:467)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runSynchronized(SqlJetEngine.java:217)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runEngineTransaction(SqlJetEngine.java:463)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runTransaction(SqlJetDb.java:238)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runReadTransaction(SqlJetDb.java:225)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetTableDataCursor.goTo(SqlJetTableDataCursor.java:65)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor.access$001(SqlJetIndexScopeCursor.java:33)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor$1.run(SqlJetIndexScopeCursor.java:90)
 at org.tmatesoft.sqljet.core.table.SqlJetDb$3.run(SqlJetDb.java:240)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine$8.runSynchronized(SqlJetEngine.java:467)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runSynchronized(SqlJetEngine.java:217)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runEngineTransaction(SqlJetEngine.java:463)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runTransaction(SqlJetDb.java:238)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runReadTransaction(SqlJetDb.java:225)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor.goTo(SqlJetIndexScopeCursor.java:88)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor$3.run(SqlJetIndexScopeCursor.java:152)
 at org.tmatesoft.sqljet.core.table.SqlJetDb$3.run(SqlJetDb.java:240)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine$8.runSynchronized(SqlJetEngine.java:467)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runSynchronized(SqlJetEngine.java:217)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runEngineTransaction(SqlJetEngine.java:463)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runTransaction(SqlJetDb.java:238)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runReadTransaction(SqlJetDb.java:225)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor.next(SqlJetIndexScopeCursor.java:143)
 at org.tmatesoft.svn.core.internal.db.SVNSqlJetStatement.next(SVNSqlJetStatement.java:90)
 at org.tmatesoft.svn.core.internal.db.SVNSqlJetSelectStatement.next(SVNSqlJetSelectStatement.java:76)
 at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.gatherExternalDefinitions(SVNWCDb.java:363)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetStatus.run(SvnNgGetStatus.java:156)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetStatus.run(SvnNgGetStatus.java:42)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:16)
 at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
 at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:477)
 at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:160)
 at org.tmatesoft.svn.core.wc.SVNStatusClient.doStatus(SVNStatusClient.java:370)
 at org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:297)
 at org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:279)
 at jetbrains.teamcity.vcs.svn.standalone.SVNManager.status(SVNManager.java:304)
 at jetbrains.teamcity.vcs.svn.standalone.SVNStatusCache.refresh(SVNStatusCache.java:91)
 at jetbrains.teamcity.vcs.svn.standalone.SVNStatusCache.refresh(SVNStatusCache.java:65)
 at jetbrains.teamcity.vcs.svn.standalone.SVNResourceChangeDispatcher.resourceChanged(SVNResourceChangeDispatcher.java:86)
 at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
 at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
 at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
 at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327)
 at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181)
 at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)



"Worker-5" prio=6 tid=0x000000000f298000 nid=0x198c runnable [0x0000000015eaf000]
   java.lang.Thread.State: RUNNABLE
 at java.util.HashMap$Entry.getKey(HashMap.java:691)
 at jetbrains.teamcity.vcs.svn.standalone.SVNStatusCache.removeStatus(SVNStatusCache.java:235)
 - locked <0x00000007045ca8c0> (a java.util.HashMap)
 at jetbrains.teamcity.vcs.svn.standalone.SVNStatusCache.refresh(SVNStatusCache.java:88)
 at jetbrains.teamcity.vcs.svn.standalone.SVNStatusCache.refresh(SVNStatusCache.java:65)
 at jetbrains.teamcity.vcs.svn.standalone.SVNResourceChangeDispatcher.resourceChanged(SVNResourceChangeDispatcher.java:86)
 at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
 at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
 at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
 at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327)
 at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181)
 at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)



"Worker-5" prio=6 tid=0x000000000f298000 nid=0x198c runnable [0x0000000015eae000]
   java.lang.Thread.State: RUNNABLE
 at java.io.RandomAccessFile.readBytes(Native Method)
 at java.io.RandomAccessFile.read(RandomAccessFile.java:338)
 at org.tmatesoft.sqljet.core.internal.memory.SqlJetByteArrayBuffer.readFromFile(SqlJetByteArrayBuffer.java:330)
 at org.tmatesoft.sqljet.core.internal.memory.SqlJetMemoryPointer.readFromFile(SqlJetMemoryPointer.java:325)
 at org.tmatesoft.sqljet.core.internal.fs.SqlJetFile.read(SqlJetFile.java:280)
 - locked <0x00000007fa54a2e8> (a org.tmatesoft.sqljet.core.internal.fs.SqlJetFile)
 at org.tmatesoft.sqljet.core.internal.pager.SqlJetPager.readDbPage(SqlJetPager.java:1178)
 at org.tmatesoft.sqljet.core.internal.pager.SqlJetPager.acquirePage(SqlJetPager.java:1060)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeShared.getPage(SqlJetBtreeShared.java:339)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeShared.getAndInitPage(SqlJetBtreeShared.java:982)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeCursor.moveToChild(SqlJetBtreeCursor.java:419)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeCursor.moveToUnpacked(SqlJetBtreeCursor.java:625)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeCursor.moveTo(SqlJetBtreeCursor.java:345)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeDataTable.goToRow(SqlJetBtreeDataTable.java:149)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetTableDataCursor$2.run(SqlJetTableDataCursor.java:68)
 at org.tmatesoft.sqljet.core.table.SqlJetDb$3.run(SqlJetDb.java:240)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine$8.runSynchronized(SqlJetEngine.java:467)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runSynchronized(SqlJetEngine.java:217)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runEngineTransaction(SqlJetEngine.java:463)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runTransaction(SqlJetDb.java:238)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runReadTransaction(SqlJetDb.java:225)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetTableDataCursor.goTo(SqlJetTableDataCursor.java:65)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor.access$001(SqlJetIndexScopeCursor.java:33)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor$1.run(SqlJetIndexScopeCursor.java:90)
 at org.tmatesoft.sqljet.core.table.SqlJetDb$3.run(SqlJetDb.java:240)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine$8.runSynchronized(SqlJetEngine.java:467)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runSynchronized(SqlJetEngine.java:217)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runEngineTransaction(SqlJetEngine.java:463)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runTransaction(SqlJetDb.java:238)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runReadTransaction(SqlJetDb.java:225)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor.goTo(SqlJetIndexScopeCursor.java:88)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor$3.run(SqlJetIndexScopeCursor.java:152)
 at org.tmatesoft.sqljet.core.table.SqlJetDb$3.run(SqlJetDb.java:240)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine$8.runSynchronized(SqlJetEngine.java:467)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runSynchronized(SqlJetEngine.java:217)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runEngineTransaction(SqlJetEngine.java:463)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runTransaction(SqlJetDb.java:238)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runReadTransaction(SqlJetDb.java:225)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor.next(SqlJetIndexScopeCursor.java:143)
 at org.tmatesoft.svn.core.internal.db.SVNSqlJetStatement.next(SVNSqlJetStatement.java:90)
 at org.tmatesoft.svn.core.internal.db.SVNSqlJetSelectStatement.next(SVNSqlJetSelectStatement.java:76)
 at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.gatherExternalDefinitions(SVNWCDb.java:363)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetStatus.run(SvnNgGetStatus.java:156)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetStatus.run(SvnNgGetStatus.java:42)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:16)
 at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
 at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:477)
 at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:160)
 at org.tmatesoft.svn.core.wc.SVNStatusClient.doStatus(SVNStatusClient.java:370)
 at org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:297)
 at org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:279)
 at jetbrains.teamcity.vcs.svn.standalone.SVNManager.status(SVNManager.java:304)
 at jetbrains.teamcity.vcs.svn.standalone.SVNStatusCache.refresh(SVNStatusCache.java:91)
 at jetbrains.teamcity.vcs.svn.standalone.SVNStatusCache.refresh(SVNStatusCache.java:65)
 at jetbrains.teamcity.vcs.svn.standalone.SVNResourceChangeDispatcher.resourceChanged(SVNResourceChangeDispatcher.java:86)
 at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
 at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
 at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
 at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327)
 at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181)
 at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)



"Worker-5" prio=6 tid=0x000000000f298000 nid=0x198c runnable [0x0000000015eae000]
   java.lang.Thread.State: RUNNABLE
 at java.lang.Integer.hashCode(Integer.java:733)
 at java.util.HashMap.removeEntryForKey(HashMap.java:548)
 at java.util.HashMap.remove(HashMap.java:538)
 at org.tmatesoft.sqljet.core.internal.pager.SqlJetPageCache$PCache.unpin(SqlJetPageCache.java:668)
 - locked <0x00000007feaef740> (a org.tmatesoft.sqljet.core.internal.pager.SqlJetPageCache$PCache)
 at org.tmatesoft.sqljet.core.internal.pager.SqlJetPageCache.unpin(SqlJetPageCache.java:150)
 at org.tmatesoft.sqljet.core.internal.pager.SqlJetPageCache.release(SqlJetPageCache.java:260)
 at org.tmatesoft.sqljet.core.internal.pager.SqlJetPage.unref(SqlJetPage.java:343)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetMemPage.releasePage(SqlJetMemPage.java:272)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeCursor.moveToParent(SqlJetBtreeCursor.java:2026)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeCursor.next(SqlJetBtreeCursor.java:1994)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeTable.next(SqlJetBtreeTable.java:238)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor$3.run(SqlJetIndexScopeCursor.java:151)
 at org.tmatesoft.sqljet.core.table.SqlJetDb$3.run(SqlJetDb.java:240)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine$8.runSynchronized(SqlJetEngine.java:467)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runSynchronized(SqlJetEngine.java:217)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runEngineTransaction(SqlJetEngine.java:463)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runTransaction(SqlJetDb.java:238)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runReadTransaction(SqlJetDb.java:225)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor.next(SqlJetIndexScopeCursor.java:143)
 at org.tmatesoft.svn.core.internal.db.SVNSqlJetStatement.next(SVNSqlJetStatement.java:90)
 at org.tmatesoft.svn.core.internal.db.SVNSqlJetSelectStatement.next(SVNSqlJetSelectStatement.java:76)
 at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.gatherExternalDefinitions(SVNWCDb.java:363)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetStatus.run(SvnNgGetStatus.java:156)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetStatus.run(SvnNgGetStatus.java:42)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:16)
 at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
 at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:477)
 at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:160)
 at org.tmatesoft.svn.core.wc.SVNStatusClient.doStatus(SVNStatusClient.java:370)
 at org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:297)
 at org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:279)
 at jetbrains.teamcity.vcs.svn.standalone.SVNManager.status(SVNManager.java:304)
 at jetbrains.teamcity.vcs.svn.standalone.SVNStatusCache.refresh(SVNStatusCache.java:91)
 at jetbrains.teamcity.vcs.svn.standalone.SVNStatusCache.refresh(SVNStatusCache.java:65)
 at jetbrains.teamcity.vcs.svn.standalone.SVNResourceChangeDispatcher.resourceChanged(SVNResourceChangeDispatcher.java:93)
 at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
 at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
 at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
 at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327)
 at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181)
 at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)



"Worker-5" prio=6 tid=0x000000000f298000 nid=0x198c runnable [0x0000000015eae000]
   java.lang.Thread.State: RUNNABLE
 at java.io.RandomAccessFile.readBytes(Native Method)
 at java.io.RandomAccessFile.read(RandomAccessFile.java:338)
 at org.tmatesoft.sqljet.core.internal.memory.SqlJetByteArrayBuffer.readFromFile(SqlJetByteArrayBuffer.java:330)
 at org.tmatesoft.sqljet.core.internal.memory.SqlJetMemoryPointer.readFromFile(SqlJetMemoryPointer.java:325)
 at org.tmatesoft.sqljet.core.internal.fs.SqlJetFile.read(SqlJetFile.java:280)
 - locked <0x00000007d2aefe00> (a org.tmatesoft.sqljet.core.internal.fs.SqlJetFile)
 at org.tmatesoft.sqljet.core.internal.pager.SqlJetPager.readDbPage(SqlJetPager.java:1178)
 at org.tmatesoft.sqljet.core.internal.pager.SqlJetPager.acquirePage(SqlJetPager.java:1060)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeShared.getPage(SqlJetBtreeShared.java:339)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeShared.getAndInitPage(SqlJetBtreeShared.java:982)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeCursor.moveToChild(SqlJetBtreeCursor.java:419)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeCursor.moveToLeftmost(SqlJetBtreeCursor.java:1894)
 at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeCursor.next(SqlJetBtreeCursor.java:2005)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeTable.next(SqlJetBtreeTable.java:238)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor$3.run(SqlJetIndexScopeCursor.java:151)
 at org.tmatesoft.sqljet.core.table.SqlJetDb$3.run(SqlJetDb.java:240)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine$8.runSynchronized(SqlJetEngine.java:467)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runSynchronized(SqlJetEngine.java:217)
 at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runEngineTransaction(SqlJetEngine.java:463)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runTransaction(SqlJetDb.java:238)
 at org.tmatesoft.sqljet.core.table.SqlJetDb.runReadTransaction(SqlJetDb.java:225)
 at org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor.next(SqlJetIndexScopeCursor.java:143)
 at org.tmatesoft.svn.core.internal.db.SVNSqlJetStatement.next(SVNSqlJetStatement.java:90)
 at org.tmatesoft.svn.core.internal.db.SVNSqlJetSelectStatement.next(SVNSqlJetSelectStatement.java:76)
 at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.gatherExternalDefinitions(SVNWCDb.java:363)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetStatus.run(SvnNgGetStatus.java:156)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetStatus.run(SvnNgGetStatus.java:42)
 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:16)
 at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
 at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:477)
 at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:160)
 at org.tmatesoft.svn.core.wc.SVNStatusClient.doStatus(SVNStatusClient.java:370)
 at org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:297)
 at org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:279)
 at jetbrains.teamcity.vcs.svn.standalone.SVNManager.status(SVNManager.java:304)
 at jetbrains.teamcity.vcs.svn.standalone.SVNStatusCache.refresh(SVNStatusCache.java:91)
 at jetbrains.teamcity.vcs.svn.standalone.SVNStatusCache.refresh(SVNStatusCache.java:65)
 at jetbrains.teamcity.vcs.svn.standalone.SVNResourceChangeDispatcher.resourceChanged(SVNResourceChangeDispatcher.java:93)
 at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
 at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
 at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
 at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327)
 at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181)
 at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


Attachment(s):
threaddumps.rar.zip
3 comments
Comment actions Permalink

Hi Wei,

Thank you for threaddumps.
Looks like TeamCity plugin collecting changes at project opening action. It's normal, but taversing huge amount of files may take time.
I'll investigate this and may probable move traversing into backround task.
Is there any errors in eclipse log?

0
Comment actions Permalink

Even if you change the traversing into background, it still takes too long. I've seen it takes more than half an hour, which I can't understand. This looks like that TC is collecting some local svn information. But it takes way more time than any other svn clients (CLI, TortoiseSvn, subclipse).

and which eclipse log you want me to check?

Thanks.

0
Comment actions Permalink

Hm.. it's really too long. What size of your SVN repository / files count?

Log may be viewed in "Error Log" view in eclipse or in console (if you runs eclipse from console).

0

Please sign in to leave a comment.