playframework / play1

Play framework
https://www.playframework.com/documentation/1.4.x/home
Other
1.58k stars 684 forks source link

Play 1.2.7 framework deadlock issue #990

Closed huiminchenhm85 closed 8 months ago

huiminchenhm85 commented 8 years ago

Play Version

1.2.7

Operating System

Ubuntu

JDK (1.7.0)

java version "1.7.0_79" Java(TM) SE Runtime Environment (build 1.7.0_79-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)

Expected Behavior

Found one Java-level deadlock:

"play-thread-7": waiting to lock monitor 0x00007ff7544a4e98 (object 0x00000007832f2d58, a java.lang.Object), which is held by "New I/O worker #2" "New I/O worker #2": waiting to lock monitor 0x00007ff7557b85a8 (object 0x00000007832f2e70, a org.jboss.netty.handler.stream.ChunkedWriteHandler), which is held by "play-thread-7"

Java stack information for the threads listed above:

"play-thread-7": at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:654)

Found 1 deadlock.

asolntsev commented 8 years ago

@huiminchenhm85 Don't you want to upgrade to Play 1.4.x?

1.2.7 is too old, and not supported anymore.

Odilio commented 8 years ago

I can not use the paginate module in play 1.4.x , so I use 1.2.7. after the 1.2.7 he can not find the module

2016-07-12 18:19 GMT-03:00 Andrei Solntsev notifications@github.com:

@huiminchenhm85 https://github.com/huiminchenhm85 Don't you want to upgrade to Play 1.4.x?

1.2.7 is too old, and not supported anymore.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/playframework/play1/issues/990#issuecomment-232185002, or mute the thread https://github.com/notifications/unsubscribe/AAPMwWxcVbTPch9WGrcx8tJ5E0XlXxLWks5qVAT_gaJpZM4JI3cd .

phongphan commented 7 years ago

The stacktrace is pretty similar to https://issues.jboss.org/browse/NETTY-434

asolntsev commented 7 years ago

@Odilio It seems that it would be simpler to fix the problem with "paginate" module.

What means "he can not find the module"? Please provide exact error message and stack trace.

I just tried to add the following line to my dependencies.yml, and it worked:

    - play -> paginate head