2012-10-29 48 views
0

這裏是線程轉儲:修復327和535錯誤修復devoll問題以及Epoll?

"New I/O client worker #23-1" prio=3 tid=0x007c1400 nid=0x28bc runnable [0xed17f000..0xed17f920] 
java.lang.Thread.State: RUNNABLE 
at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method) 
at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:164) 
at sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:68) 
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) 
- locked <0xefd18e90> (a sun.nio.ch.Util$1) 
- locked <0xefd18e80> (a java.util.Collections$UnmodifiableSet) 
- locked <0xefd012d8> (a sun.nio.ch.DevPollSelectorImpl) 
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) 
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:158) 
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) 
at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46) 
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 
at java.lang.Thread.run(Thread.java:619) 

"device-factory-timer-114-thread-1" prio=3 tid=0x0092ac00 nid=0x28ba waiting on condition [0xedd7f000..0xedd7fc20] 
java.lang.Thread.State: WAITING (parking) 
at sun.misc.Unsafe.park(Native Method) 
- parking to wait for <0xefd01460> (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.DelayQueue.take(DelayQueue.java:160) 
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583) 
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576) 
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) 
at java.lang.Thread.run(Thread.java:619) 

這是頗爲相似epoll的問題。如果問題已經解決,或者您有任何解決方案,請告訴我。

回答

0

如果您認爲有問題,請打開包含所有必需信息的錯誤報告。

+0

嗨,諾曼,我爲此創建了一個錯誤#696。 – Dushyanth

+0

在Netty 3.1.5中可以看到此問題。 最新版本3.5.X使用內部調用Epoll的DeadLockProofWorker。 3.1.5版本使用可能調用Devpoll的IoWorkerRunnable。 有人可以告訴netty3.5.7是否適用於3.1.5開發的代碼?這些版本之間是否有任何API更改?我可以使用舊的代碼與新的Netty 3.5.7沒有任何改變? – Dushyanth

+0

有一些變化,但它們更可能不會影響大多數用戶。我肯定會嘗試升級,看看它是否修復。 3.1.5真的很老 –