1

我在 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
4

1 回答 1

1

此错误表示由于覆盖已释放的本机内存而导致内存损坏。

我会回顾一下本机库的使用,但可能只有 cooja 的作者可以帮助您解决这个问题。

您可以使用更新/旧版本吗?

于 2019-03-18T10:51:05.800 回答