Playframework 使用Java 7时,Play framework 1.2.4产品预编译失败

Playframework 使用Java 7时,Play framework 1.2.4产品预编译失败,playframework,java-7,Playframework,Java 7,我曾尝试用Java7在PROD模式下运行我的play应用程序,我很惊讶。预编译失败: 10:28:18,819 INFO ~ Precompiling ... # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xb6ed766c, pid=27336, tid=2673077104 # # JRE version: 7.0_01-b08 # Java VM

我曾尝试用Java7在PROD模式下运行我的play应用程序,我很惊讶。预编译失败:

10:28:18,819 INFO  ~ Precompiling ...
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb6ed766c, pid=27336, tid=2673077104
#
# JRE version: 7.0_01-b08
# Java VM: Java HotSpot(TM) Server VM (21.1-b02 mixed mode linux-x86 )
# Problematic frame:
# V  [libjvm.so+0x4fc66c]  PhaseIdealLoop::build_loop_late_post(Node*)+0x15c
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /media/projects/myApp/hs_err_pid27336.log
[thread -1231336592 also had an error]
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#
也许有人也有同样的问题


我的操作系统:GentooLinux

我在OpenJDK 6上也遇到了类似的问题。原因是在我的应用程序中同时使用了安全模块和CRUD模块。我还不知道为什么,但当我移除其中一个模块时,它工作了


就我而言,转到Sun JDK 6解决了这个问题。由于您已经在使用HotSpot,除了更新到非测试版之外,我建议禁用一些模块(CRUD模块,如果您使用它,可能是第一个目标),看看它们是否是它失败的原因。

我们在
Windows 7 JDK 1.7 update 3
上遇到了类似的问题,并更新到4修复了它。

这个错误看起来很糟糕。这个bug是否可以在一个空的新游戏项目中重现?如果没有,尝试打开应用程序的各个部分以隔离bug。有一个bug产生了类似的错误。报告就在这里。我的意思是:JRE版本7.0_01-b08中的b08是否代表beta?当你在谷歌上搜索这个版本号时,你会得到很多错误报告。空项目已成功编译。Gentoo存储库的最新版本给出了相同的错误。所以我决定使用Java6。我在Gentoo上遇到了同样的问题。在Windows7上,相同的项目运行没有问题。在Windows上,我在Java 7.0 beta版上遇到了类似的问题,但改用7.0_2解决了这个问题。在gentoo下,我对IcedTea 6和Oracle 7都有问题!已成功编译带有Secure和CRUD的空项目。