Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Application Freeze occasionally(Application freeze with thread deadlocks)
Application Freeze occasionally [message #1102123] Thu, 05 September 2013 07:48 Go to next message
Ramesh Pank is currently offline Ramesh Pank
Messages: 1
Registered: September 2013
Junior Member
Hello,

This is related to a forum topic earlier - http://www.eclipse.org/forums/index.php/t/378202/
There has been no resolution to that and we also face the same issue now. From the thread locks below I notice a deadlock with the UIThread. There are no errors on the server logs. We use JBOSS EAP6 and RAP1.4. Anyone who faced the same issue or know of any actions that could help me identify the root cause is greatly appreciated.

Deadlock Detection:

Found one Java-level deadlock:
=============================

"Thread-5338":
waiting to lock Monitor@0x00007fcf3455e8d0 (Object@0x00000007b9840650, a java/lang/Object),
which is held by "UIThread [qOPWJHhgYk1JbITv-IKJoq+y]"
"UIThread [qOPWJHhgYk1JbITv-IKJoq+y]":
waiting to lock Monitor@0x00007fcf480016e0 (Object@0x00000007b988c380, a com/speedware/imodernize/rapclient/StatusThread),
which is held by "Thread-5338"

Found a total of 1 deadlock.

Thread 3169: (state = BLOCKED)
- sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)
- java.util.concurrent.locks.LockSupport.parkNanos(java.lang.Object, long) @bci=20, line=196 (Interpreted frame)
- java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(java.util.concurrent.SynchronousQueue$TransferStack$SNode, boolean, long) @bci=174, line=424 (Compiled frame)
- java.util.concurrent.SynchronousQueue$TransferStack.transfer(java.lang.Object, boolean, long) @bci=102, line=323 (Interpreted frame)
- java.util.concurrent.SynchronousQueue.poll(long, java.util.concurrent.TimeUnit) @bci=11, line=874 (Interpreted frame)
- java.util.concurrent.ThreadPoolExecutor.getTask() @bci=62, line=955 (Compiled frame)
- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=23, line=917 (Compiled frame)
- java.lang.Thread.run() @bci=11, line=662 (Interpreted frame)


Thread 25461: (state = BLOCKED)
- java.lang.Object.wait(long) @bci=0 (Interpreted frame)
- com.speedware.imodernize.rapclient.StatusThread.run() @bci=24, line=41 (Interpreted frame)
Re: Application Freeze occasionally [message #1103071 is a reply to message #1102123] Fri, 06 September 2013 06:54 Go to previous message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1561
Registered: July 2009
Senior Member
Hi,
I have no answer to your question, but what is this thread -
com/speedware/imodernize/rapclient/StatusThread?
Best,
Ivan

On 9/5/2013 6:06 PM, Ramesh Pank wrote:
> Hello,
>
> This is related to a forum topic earlier - http://www.eclipse.org/forums/index.php/t/378202/
> There has been no resolution to that and we also face the same issue now. From the thread locks below I notice a deadlock with the UIThread. There are no errors on the server logs. We use JBOSS EAP6 and RAP1.4. Anyone who faced the same issue or know of any actions that could help me identify the root cause is greatly appreciated.
>
> Deadlock Detection:
>
> Found one Java-level deadlock:
> =============================
>
> "Thread-5338":
> waiting to lock Monitor@0x00007fcf3455e8d0 (Object@0x00000007b9840650, a java/lang/Object),
> which is held by "UIThread [qOPWJHhgYk1JbITv-IKJoq+y]"
> "UIThread [qOPWJHhgYk1JbITv-IKJoq+y]":
> waiting to lock Monitor@0x00007fcf480016e0 (Object@0x00000007b988c380, a com/speedware/imodernize/rapclient/StatusThread),
> which is held by "Thread-5338"
>
> Found a total of 1 deadlock.
>
> Thread 3169: (state = BLOCKED)
> - sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)
> - java.util.concurrent.locks.LockSupport.parkNanos(java.lang.Object, long) @bci=20, line=196 (Interpreted frame)
> - java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(java.util.concurrent.SynchronousQueue$TransferStack$SNode, boolean, long) @bci=174, line=424 (Compiled frame)
> - java.util.concurrent.SynchronousQueue$TransferStack.transfer(java.lang.Object, boolean, long) @bci=102, line=323 (Interpreted frame)
> - java.util.concurrent.SynchronousQueue.poll(long, java.util.concurrent.TimeUnit) @bci=11, line=874 (Interpreted frame)
> - java.util.concurrent.ThreadPoolExecutor.getTask() @bci=62, line=955 (Compiled frame)
> - java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=23, line=917 (Compiled frame)
> - java.lang.Thread.run() @bci=11, line=662 (Interpreted frame)
>
>
> Thread 25461: (state = BLOCKED)
> - java.lang.Object.wait(long) @bci=0 (Interpreted frame)
> - com.speedware.imodernize.rapclient.StatusThread.run() @bci=24, line=41 (Interpreted frame)
>

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Label textsize
Next Topic:Using Preferences in RAP
Goto Forum:
  


Current Time: Mon Oct 07 22:39:42 EDT 2013

Powered by FUDForum. Page generated in 0.01555 seconds