db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charlie Hubbard <charlie.hubb...@gmail.com>
Subject Deadlocked in Log2File
Date Wed, 17 Feb 2010 21:10:41 GMT
I'm sometimes getting deadlocks in Log2File where all my worker threads are
getting blocked, but I can't figure out which monitor they are blocked on.
 And, I can't seem to figure who holds a lock that would block them.  I
notice there are several calls to wait(), but all the threads say BLOCKED
not WAITING which makes me think they aren't stuck on wait() calls.  Anyway,
once this happens everyone is blocked indefinitely.  I'm using Derby 10.5.3,
JDK 1.6.0_10.  I've included the full thread dump from the JVM once it's
stuck.  Any ideas what's going on here?

Thanks
Charlie


Full thread dump Java HotSpot(TM) Client VM (11.0-b15 mixed mode):

"Image Animator 0" daemon prio=4 tid=0x03557800 nid=0xfe8 waiting on
condition [0x3486f000..0x3486fb94]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at sun.awt.image.GifFrame.dispose(GifImageDecoder.java:646)
at sun.awt.image.GifImageDecoder.readImage(GifImageDecoder.java:441)
at sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:195)
at
sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)

"Swing-Shell" daemon prio=6 tid=0x034c6800 nid=0x1758 waiting on condition
[0x2c27f000..0x2c27fc14]
   java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for  <0x11c3d080> (a
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
at
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358)
at
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at
sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Win32ShellFolderManager2.java:458)
at java.lang.Thread.run(Thread.java:619)

"DestroyJavaVM" prio=6 tid=0x002ba000 nid=0x12f8 waiting on condition
[0x00000000..0x0090fd4c]
   java.lang.Thread.State: RUNNABLE

"TimerQueue" daemon prio=6 tid=0x03543c00 nid=0x1194 in Object.wait()
[0x0fecf000..0x0fecfd14]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at javax.swing.TimerQueue.run(TimerQueue.java:236)
- locked <0x11b2e948> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Thread.java:619)

"MediaSource Monitor Thread" prio=6 tid=0x035b0800 nid=0xae4 in
Object.wait() [0x0430e000..0x0430fa14]
   java.lang.Thread.State: BLOCKED (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
- locked <0x116fc610> (a org.apache.derby.impl.store.raw.log.LogToFile)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
at org.apache.derby.impl.store.raw.log.FileLogger.flush(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.prepareCommit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.access.RAMTransaction.commit(Unknown Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.doCommit(Unknown
Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.userCommit(Unknown
Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.commit(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.ConnectionChild.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
- locked <0x11dffc38> (a org.apache.derby.impl.jdbc.EmbedConnection40)
at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown
Source)
at
org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:798)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:591)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:792)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:850)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:858)
at
org.springframework.jdbc.core.simple.SimpleJdbcTemplate.update(SimpleJdbcTemplate.java:237)
at com.nexidia.audiofinder.dao.MediaFileDao.add(MediaFileDao.java:36)
at com.nexidia.audiofinder.dao.MediaFileDao.save(MediaFileDao.java:31)
at com.nexidia.audiofinder.dao.MediaSetDao.add(MediaSetDao.java:34)
at
com.nexidia.audiofinder.dao.AudioFinderDao.addMember(AudioFinderDao.java:202)
at
com.nexidia.audiofinder.model.MediaProcessor.mediaAdded(MediaProcessor.java:74)
at
com.nexidia.audiofinder.model.DirectoryMediaSet$FileDiscoveryResults.discover(DirectoryMediaSet.java:184)
at
com.nexidia.audiofinder.model.DirectoryMediaSet$FileDiscoveryResults.discover(DirectoryMediaSet.java:171)
at
com.nexidia.audiofinder.model.DirectoryMediaSet.refresh(DirectoryMediaSet.java:98)
at com.nexidia.audiofinder.model.MediaSource.refresh(MediaSource.java:142)
at
com.nexidia.audiofinder.service.MediaSourceMonitor.refreshSource(MediaSourceMonitor.java:125)
at
com.nexidia.audiofinder.service.MediaSourceMonitor.access$000(MediaSourceMonitor.java:25)
at
com.nexidia.audiofinder.service.MediaSourceMonitor$1.run(MediaSourceMonitor.java:49)
at
com.nexidia.audiofinder.service.MediaSourceMonitor$ServiceTask.execute(MediaSourceMonitor.java:214)
at
com.nexidia.audiofinder.service.MediaSourceMonitor.run(MediaSourceMonitor.java:180)
at java.lang.Thread.run(Thread.java:619)

"AudioFinder-workerThreads-7" prio=2 tid=0x02da2400 nid=0x308 in
Object.wait() [0x0785e000..0x0785fa94]
   java.lang.Thread.State: BLOCKED (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
- locked <0x116fc610> (a org.apache.derby.impl.store.raw.log.LogToFile)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
at org.apache.derby.impl.store.raw.log.FileLogger.flush(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.prepareCommit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.access.RAMTransaction.commit(Unknown Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.doCommit(Unknown
Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.userCommit(Unknown
Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.commit(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.ConnectionChild.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
- locked <0x11e4b4b0> (a org.apache.derby.impl.jdbc.EmbedConnection40)
at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown
Source)
at
org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:798)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:591)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:792)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:850)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:858)
at
org.springframework.jdbc.core.simple.SimpleJdbcTemplate.update(SimpleJdbcTemplate.java:237)
at
com.nexidia.audiofinder.dao.metadata.MetadataEntryDao.add(MetadataEntryDao.java:35)
at
com.nexidia.audiofinder.dao.metadata.MetadataEntryDao.save(MetadataEntryDao.java:22)
at
com.nexidia.audiofinder.dao.AudioFinderDao.saveMetadata(AudioFinderDao.java:451)
at
com.nexidia.audiofinder.model.MediaProcessor$3.kernelCommandExecutionComplete(MediaProcessor.java:214)
at
com.nexidia.audiofinder.engine.KernelCommand.fireExecutionComplete(KernelCommand.java:205)
at
com.nexidia.audiofinder.engine.KernelCommand.execute(KernelCommand.java:116)
at com.nexidia.audiofinder.engine.Kernel.execute(Kernel.java:163)
at
com.nexidia.audiofinder.engine.Engine$EngineWorker.processCommands(Engine.java:643)
at com.nexidia.audiofinder.engine.Engine$EngineWorker.doRun(Engine.java:579)
at com.nexidia.util.SafeRunnable.run(SafeRunnable.java:10)
at java.lang.Thread.run(Thread.java:619)

"AudioFinder-workerThreads-6" prio=2 tid=0x02e11400 nid=0x15ac in
Object.wait() [0x0780e000..0x0780fb14]
   java.lang.Thread.State: BLOCKED (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
- locked <0x116fc610> (a org.apache.derby.impl.store.raw.log.LogToFile)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
at org.apache.derby.impl.store.raw.log.FileLogger.flush(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.prepareCommit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.access.RAMTransaction.commit(Unknown Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.doCommit(Unknown
Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.userCommit(Unknown
Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.commit(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.ConnectionChild.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
- locked <0x11e4a9d0> (a org.apache.derby.impl.jdbc.EmbedConnection40)
at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown
Source)
at
org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:798)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:591)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:792)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:850)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:858)
at
org.springframework.jdbc.core.simple.SimpleJdbcTemplate.update(SimpleJdbcTemplate.java:237)
at
com.nexidia.audiofinder.dao.metadata.ValueDao.saveValues(ValueDao.java:30)
at
com.nexidia.audiofinder.dao.metadata.MetadataEntryDao.saveValue(MetadataEntryDao.java:107)
at
com.nexidia.audiofinder.dao.metadata.MetadataEntryDao.add(MetadataEntryDao.java:40)
at
com.nexidia.audiofinder.dao.metadata.MetadataEntryDao.save(MetadataEntryDao.java:22)
at
com.nexidia.audiofinder.dao.AudioFinderDao.saveMetadata(AudioFinderDao.java:451)
at
com.nexidia.audiofinder.model.MediaProcessor$3.kernelCommandExecutionComplete(MediaProcessor.java:214)
at
com.nexidia.audiofinder.engine.KernelCommand.fireExecutionComplete(KernelCommand.java:205)
at
com.nexidia.audiofinder.engine.KernelCommand.execute(KernelCommand.java:116)
at com.nexidia.audiofinder.engine.Kernel.execute(Kernel.java:163)
at
com.nexidia.audiofinder.engine.Engine$EngineWorker.processCommands(Engine.java:643)
at com.nexidia.audiofinder.engine.Engine$EngineWorker.doRun(Engine.java:579)
at com.nexidia.util.SafeRunnable.run(SafeRunnable.java:10)
at java.lang.Thread.run(Thread.java:619)

"AudioFinder-workerThreads-5" prio=2 tid=0x02e0fc00 nid=0xefc in
Object.wait() [0x077be000..0x077bfb94]
   java.lang.Thread.State: BLOCKED (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
- locked <0x116fc610> (a org.apache.derby.impl.store.raw.log.LogToFile)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
at org.apache.derby.impl.store.raw.log.FileLogger.flush(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.prepareCommit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.access.RAMTransaction.commit(Unknown Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.doCommit(Unknown
Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.userCommit(Unknown
Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.commit(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.ConnectionChild.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
- locked <0x11e4ab38> (a org.apache.derby.impl.jdbc.EmbedConnection40)
at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown
Source)
at
org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:798)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:591)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:792)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:850)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:858)
at
org.springframework.jdbc.core.simple.SimpleJdbcTemplate.update(SimpleJdbcTemplate.java:237)
at com.nexidia.audiofinder.dao.MediaFileDao.update(MediaFileDao.java:62)
at com.nexidia.audiofinder.dao.MediaFileDao.save(MediaFileDao.java:29)
at com.nexidia.audiofinder.dao.AudioFinderDao.save(AudioFinderDao.java:133)
at
com.nexidia.audiofinder.model.MediaProcessor$3.kernelCommandExecutionComplete(MediaProcessor.java:213)
at
com.nexidia.audiofinder.engine.KernelCommand.fireExecutionComplete(KernelCommand.java:205)
at
com.nexidia.audiofinder.engine.KernelCommand.execute(KernelCommand.java:116)
at com.nexidia.audiofinder.engine.Kernel.execute(Kernel.java:163)
at
com.nexidia.audiofinder.engine.Engine$EngineWorker.processCommands(Engine.java:643)
at com.nexidia.audiofinder.engine.Engine$EngineWorker.doRun(Engine.java:579)
at com.nexidia.util.SafeRunnable.run(SafeRunnable.java:10)
at java.lang.Thread.run(Thread.java:619)

"AudioFinder-workerThreads-4" prio=2 tid=0x02e0d800 nid=0xd8c in
Object.wait() [0x0776e000..0x0776fc14]
   java.lang.Thread.State: BLOCKED (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
- locked <0x116fc610> (a org.apache.derby.impl.store.raw.log.LogToFile)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
at org.apache.derby.impl.store.raw.log.FileLogger.flush(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.prepareCommit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.access.RAMTransaction.commit(Unknown Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.doCommit(Unknown
Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.userCommit(Unknown
Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.commit(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.ConnectionChild.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
- locked <0x11e4aca0> (a org.apache.derby.impl.jdbc.EmbedConnection40)
at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown
Source)
at
org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:798)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:591)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:792)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:850)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:858)
at
org.springframework.jdbc.core.simple.SimpleJdbcTemplate.update(SimpleJdbcTemplate.java:237)
at
com.nexidia.audiofinder.dao.metadata.ValueDao.saveValues(ValueDao.java:30)
at
com.nexidia.audiofinder.dao.metadata.MetadataEntryDao.saveValue(MetadataEntryDao.java:107)
at
com.nexidia.audiofinder.dao.metadata.MetadataEntryDao.add(MetadataEntryDao.java:40)
at
com.nexidia.audiofinder.dao.metadata.MetadataEntryDao.save(MetadataEntryDao.java:22)
at
com.nexidia.audiofinder.dao.AudioFinderDao.saveMetadata(AudioFinderDao.java:451)
at
com.nexidia.audiofinder.model.MediaProcessor$3.kernelCommandExecutionComplete(MediaProcessor.java:214)
at
com.nexidia.audiofinder.engine.KernelCommand.fireExecutionComplete(KernelCommand.java:205)
at
com.nexidia.audiofinder.engine.KernelCommand.execute(KernelCommand.java:116)
at com.nexidia.audiofinder.engine.Kernel.execute(Kernel.java:163)
at
com.nexidia.audiofinder.engine.Engine$EngineWorker.processCommands(Engine.java:643)
at com.nexidia.audiofinder.engine.Engine$EngineWorker.doRun(Engine.java:579)
at com.nexidia.util.SafeRunnable.run(SafeRunnable.java:10)
at java.lang.Thread.run(Thread.java:619)

"AudioFinder-workerThreads-3" prio=2 tid=0x033a6800 nid=0x8a4 waiting for
monitor entry [0x0771f000..0x0771fc94]
   java.lang.Thread.State: BLOCKED (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
- locked <0x116fc610> (a org.apache.derby.impl.store.raw.log.LogToFile)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
at org.apache.derby.impl.store.raw.log.FileLogger.flush(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.prepareCommit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.access.RAMTransaction.commit(Unknown Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.doCommit(Unknown
Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.userCommit(Unknown
Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.commit(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.ConnectionChild.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
- locked <0x11e4ae08> (a org.apache.derby.impl.jdbc.EmbedConnection40)
at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown
Source)
at
org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:798)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:591)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:792)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:850)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:858)
at
org.springframework.jdbc.core.simple.SimpleJdbcTemplate.update(SimpleJdbcTemplate.java:237)
at
com.nexidia.audiofinder.dao.metadata.MetadataEntryDao.add(MetadataEntryDao.java:35)
at
com.nexidia.audiofinder.dao.metadata.MetadataEntryDao.save(MetadataEntryDao.java:22)
at
com.nexidia.audiofinder.dao.AudioFinderDao.saveMetadata(AudioFinderDao.java:451)
at
com.nexidia.audiofinder.model.MediaProcessor$3.kernelCommandExecutionComplete(MediaProcessor.java:214)
at
com.nexidia.audiofinder.engine.KernelCommand.fireExecutionComplete(KernelCommand.java:205)
at
com.nexidia.audiofinder.engine.KernelCommand.execute(KernelCommand.java:116)
at com.nexidia.audiofinder.engine.Kernel.execute(Kernel.java:163)
at
com.nexidia.audiofinder.engine.Engine$EngineWorker.processCommands(Engine.java:643)
at com.nexidia.audiofinder.engine.Engine$EngineWorker.doRun(Engine.java:579)
at com.nexidia.util.SafeRunnable.run(SafeRunnable.java:10)
at java.lang.Thread.run(Thread.java:619)

"AudioFinder-workerThreads-2" prio=2 tid=0x033a5400 nid=0x163c in
Object.wait() [0x076cf000..0x076cfd14]
   java.lang.Thread.State: BLOCKED (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
- locked <0x116fc610> (a org.apache.derby.impl.store.raw.log.LogToFile)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
at org.apache.derby.impl.store.raw.log.FileLogger.flush(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.prepareCommit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.access.RAMTransaction.commit(Unknown Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.doCommit(Unknown
Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.userCommit(Unknown
Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.commit(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.ConnectionChild.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
- locked <0x11e4af70> (a org.apache.derby.impl.jdbc.EmbedConnection40)
at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown
Source)
at
org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:798)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:591)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:792)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:850)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:858)
at
org.springframework.jdbc.core.simple.SimpleJdbcTemplate.update(SimpleJdbcTemplate.java:237)
at com.nexidia.audiofinder.dao.MediaIndexDao.add(MediaIndexDao.java:29)
at com.nexidia.audiofinder.dao.MediaIndexDao.save(MediaIndexDao.java:24)
at com.nexidia.audiofinder.dao.AudioFinderDao.save(AudioFinderDao.java:471)
at
com.nexidia.audiofinder.model.MediaProcessor$3.kernelCommandExecutionComplete(MediaProcessor.java:220)
at
com.nexidia.audiofinder.engine.KernelCommand.fireExecutionComplete(KernelCommand.java:205)
at
com.nexidia.audiofinder.engine.KernelCommand.execute(KernelCommand.java:116)
at com.nexidia.audiofinder.engine.Kernel.execute(Kernel.java:163)
at
com.nexidia.audiofinder.engine.Engine$EngineWorker.processCommands(Engine.java:643)
at com.nexidia.audiofinder.engine.Engine$EngineWorker.doRun(Engine.java:579)
at com.nexidia.util.SafeRunnable.run(SafeRunnable.java:10)
at java.lang.Thread.run(Thread.java:619)

"AudioFinder-workerThreads-1" prio=2 tid=0x033a4000 nid=0xc1c in
Object.wait() [0x0767f000..0x0767fd94]
   java.lang.Thread.State: BLOCKED (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
- locked <0x116fc610> (a org.apache.derby.impl.store.raw.log.LogToFile)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
at org.apache.derby.impl.store.raw.log.FileLogger.flush(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.prepareCommit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.access.RAMTransaction.commit(Unknown Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.doCommit(Unknown
Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.userCommit(Unknown
Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.commit(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.ConnectionChild.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
- locked <0x11e4b0d8> (a org.apache.derby.impl.jdbc.EmbedConnection40)
at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown
Source)
at
org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:798)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:591)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:792)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:850)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:858)
at
org.springframework.jdbc.core.simple.SimpleJdbcTemplate.update(SimpleJdbcTemplate.java:237)
at
com.nexidia.audiofinder.dao.metadata.ValueDao.saveValues(ValueDao.java:30)
at
com.nexidia.audiofinder.dao.metadata.MetadataEntryDao.saveValue(MetadataEntryDao.java:107)
at
com.nexidia.audiofinder.dao.metadata.MetadataEntryDao.add(MetadataEntryDao.java:40)
at
com.nexidia.audiofinder.dao.metadata.MetadataEntryDao.save(MetadataEntryDao.java:22)
at
com.nexidia.audiofinder.dao.AudioFinderDao.saveMetadata(AudioFinderDao.java:451)
at
com.nexidia.audiofinder.model.MediaProcessor$3.kernelCommandExecutionComplete(MediaProcessor.java:214)
at
com.nexidia.audiofinder.engine.KernelCommand.fireExecutionComplete(KernelCommand.java:205)
at
com.nexidia.audiofinder.engine.KernelCommand.execute(KernelCommand.java:116)
at com.nexidia.audiofinder.engine.Kernel.execute(Kernel.java:163)
at
com.nexidia.audiofinder.engine.Engine$EngineWorker.processCommands(Engine.java:643)
at com.nexidia.audiofinder.engine.Engine$EngineWorker.doRun(Engine.java:579)
at com.nexidia.util.SafeRunnable.run(SafeRunnable.java:10)
at java.lang.Thread.run(Thread.java:619)

"AudioFinder-workerThreads-0" prio=2 tid=0x033a3400 nid=0x8ac in
Object.wait() [0x04a9e000..0x04a9fa14]
   java.lang.Thread.State: BLOCKED (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
- locked <0x116fc610> (a org.apache.derby.impl.store.raw.log.LogToFile)
at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
at org.apache.derby.impl.store.raw.log.FileLogger.flush(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.prepareCommit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
at org.apache.derby.impl.store.access.RAMTransaction.commit(Unknown Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.doCommit(Unknown
Source)
at
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.userCommit(Unknown
Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.commit(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.ConnectionChild.commitIfNeeded(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
- locked <0x11e4b240> (a org.apache.derby.impl.jdbc.EmbedConnection40)
at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown
Source)
at
org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:798)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:591)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:792)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:850)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:858)
at
org.springframework.jdbc.core.simple.SimpleJdbcTemplate.update(SimpleJdbcTemplate.java:237)
at com.nexidia.audiofinder.dao.MediaIndexDao.add(MediaIndexDao.java:29)
at com.nexidia.audiofinder.dao.MediaIndexDao.save(MediaIndexDao.java:24)
at com.nexidia.audiofinder.dao.AudioFinderDao.save(AudioFinderDao.java:471)
at
com.nexidia.audiofinder.model.MediaProcessor$3.kernelCommandExecutionComplete(MediaProcessor.java:220)
at
com.nexidia.audiofinder.engine.KernelCommand.fireExecutionComplete(KernelCommand.java:205)
at
com.nexidia.audiofinder.engine.KernelCommand.execute(KernelCommand.java:116)
at com.nexidia.audiofinder.engine.Kernel.execute(Kernel.java:163)
at
com.nexidia.audiofinder.engine.Engine$EngineWorker.processCommands(Engine.java:643)
at com.nexidia.audiofinder.engine.Engine$EngineWorker.doRun(Engine.java:579)
at com.nexidia.util.SafeRunnable.run(SafeRunnable.java:10)
at java.lang.Thread.run(Thread.java:619)

"derby.rawStoreDaemon" daemon prio=6 tid=0x04be6800 nid=0x1410 in
Object.wait() [0x04a3f000..0x04a3fa94]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at org.apache.derby.impl.services.daemon.BasicDaemon.rest(Unknown Source)
- locked <0x116fa460> (a org.apache.derby.impl.services.daemon.BasicDaemon)
at org.apache.derby.impl.services.daemon.BasicDaemon.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)

"Timer-0" daemon prio=6 tid=0x04bd2800 nid=0x1248 in Object.wait()
[0x049ef000..0x049efb14]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x116d4c28> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:485)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x116d4c28> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)

"derby.antiGC" daemon prio=2 tid=0x04b94400 nid=0x220 in Object.wait()
[0x0499f000..0x0499fb94]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x116cad88> (a org.apache.derby.impl.services.monitor.AntiGC)
at java.lang.Object.wait(Object.java:485)
at org.apache.derby.impl.services.monitor.AntiGC.run(Unknown Source)
- locked <0x116cad88> (a org.apache.derby.impl.services.monitor.AntiGC)
at java.lang.Thread.run(Thread.java:619)

"D3D Screen Updater" daemon prio=8 tid=0x04b2a400 nid=0xb18 in Object.wait()
[0x0435f000..0x0435fc14]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at
sun.java2d.d3d.D3DScreenUpdateManager.run(D3DScreenUpdateManager.java:422)
- locked <0x115ad800> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:619)

"AWT-EventQueue-0" prio=6 tid=0x038ad800 nid=0x960 in Object.wait()
[0x03e5f000..0x03e5fd14]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at java.awt.EventQueue.getNextEvent(EventQueue.java:479)
- locked <0x11482d58> (a java.awt.EventQueue)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:236)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

"AWT-Windows" daemon prio=6 tid=0x038a5000 nid=0x161c runnable
[0x03dbf000..0x03dbfd94]
   java.lang.Thread.State: RUNNABLE
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(WToolkit.java:291)
at java.lang.Thread.run(Thread.java:619)

"AWT-Shutdown" prio=6 tid=0x038e8800 nid=0x1740 in Object.wait()
[0x03d6f000..0x03d6fa14]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x11479460> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
- locked <0x11479460> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:619)

"Java2D Disposer" daemon prio=10 tid=0x038e7400 nid=0x1510 in Object.wait()
[0x03d0f000..0x03d0fa94]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x11482db0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at sun.java2d.Disposer.run(Disposer.java:125)
at java.lang.Thread.run(Thread.java:619)

"SingleRunningInstanceService" prio=6 tid=0x038ce400 nid=0x1610 runnable
[0x03c4f000..0x03c4fb14]
   java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
- locked <0x114794d0> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at
com.nexidia.audiofinder.SingleRunningInstanceService$SingleRunningInstanceServiceSocketListener.run(SingleRunningInstanceService.java:25)
at java.lang.Thread.run(Thread.java:619)

"Monitor Ctrl-Break" daemon prio=6 tid=0x0386e400 nid=0x10f8 runnable
[0x03baf000..0x03bafb94]
   java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
- locked <0x10792138> (a java.io.InputStreamReader)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.fill(BufferedReader.java:136)
at java.io.BufferedReader.readLine(BufferedReader.java:299)
- locked <0x10792138> (a java.io.InputStreamReader)
at java.io.BufferedReader.readLine(BufferedReader.java:362)
at com.intellij.rt.execution.application.AppMain$1.run(AppMain.java:56)
at java.lang.Thread.run(Thread.java:619)

"_jprofiler_sampler" daemon prio=10 tid=0x03877400 nid=0x10d8 waiting on
condition [0x03a3f000..0x03a3fc14]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at com.jprofiler.agent.Sampler.run(ejt:2985)

"_jprofiler_comm_java" daemon prio=6 tid=0x03847000 nid=0x1174 runnable
[0x039ef000..0x039efc94]
   java.lang.Thread.State: RUNNABLE
at com.jprofiler.agent.Agent.enterCommunication(Native Method)
at com.jprofiler.agent.Agent.access$000(ejt:1008)
at com.jprofiler.agent.Agent$1.run(ejt:1198)

"Low Memory Detector" daemon prio=6 tid=0x02df6400 nid=0x6bc runnable
[0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=10 tid=0x02df4800 nid=0x1408 waiting on
condition [0x00000000..0x032ff6bc]
   java.lang.Thread.State: RUNNABLE

"_jprofiler_native_sampler" daemon prio=6 tid=0x02df3000 nid=0x16c0 runnable
[0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"Attach Listener" daemon prio=10 tid=0x02dec400 nid=0x138c runnable
[0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x02deb000 nid=0x228 waiting on
condition [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=8 tid=0x02dd3800 nid=0x14c0 in Object.wait()
[0x02f2f000..0x02f2fc94]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x114001c0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x02dce800 nid=0x9d4 in Object.wait()
[0x02edf000..0x02edfd14]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x11400248> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x02dbfc00 nid=0x558 runnable

"VM Periodic Task Thread" prio=10 tid=0x02df8400 nid=0x118c waiting on
condition

JNI global references: 8503902

Heap
 def new generation   total 18176K, used 7870K [0x10030000, 0x113e0000,
0x113e0000)
  eden space 16192K,  47% used [0x10030000, 0x107bb5b8, 0x11000000)
  from space 1984K,   7% used [0x111f0000, 0x11214290, 0x113e0000)
  to   space 1984K,   0% used [0x11000000, 0x11000000, 0x111f0000)
 tenured generation   total 241984K, used 218602K [0x113e0000, 0x20030000,
0x20030000)
   the space 241984K,  90% used [0x113e0000, 0x1e95a8c0, 0x1e95aa00,
0x20030000)
 compacting perm gen  total 35072K, used 35011K [0x20030000, 0x22270000,
0x24030000)
   the space 35072K,  99% used [0x20030000, 0x22260d30, 0x22260e00,
0x22270000)
No shared spaces configured.

Mime
View raw message