我在Cooja中崩溃,Java崩溃了结果134,有问题的框架显然是“C [libc.so.6 + 0x8fcdd]”。下面是生成的日志。创建节点后以及开始模拟时发生崩溃。我试图改变java版本,但它没有帮助。生成的日志如下:
[java] #
[java] # A fatal error has been detected by the Java Runtime Environment:
[java] #
[java] # SIGSEGV (0xb) at pc=0x00007f74658b0cdd, pid=31219, tid=31410
[java] #
[java] # JRE version: OpenJDK Runtime Environment (11.0.1+13) (build 11.0.1+13-Ubuntu-3ubuntu3.18.10.1)
[java] # Java VM: OpenJDK 64-Bit Server VM (11.0.1+13-Ubuntu-3ubuntu3.18.10.1, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
[java] # Problematic frame:
[java] # C [libc.so.6+0x8fcdd]
[java] #
[java] # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/berk/Desktop/orchestra-thesis/tools/cooja/build/core.31219)
[java] #
[java] # An error report file with more information is saved as:
[java] # /home/berk/Desktop/orchestra-thesis/tools/cooja/build/hs_err_pid31219.log
[java] #
[java] # If you would like to submit a bug report, please visit:
[java] # http://bugreport.java.com/bugreport/crash.jsp
[java] # The crash happened outside the Java Virtual Machine in native code.
[java] # See problematic frame for where to report the bug.
[java] #
[java] Java Result: 134
此错误表示由于覆盖释放的本机内存而导致内存损坏。
我会回顾一下本地库的使用,但只有cooja的作者可以帮你解决这个问题。
您可以使用更新/更旧的版本吗?