我在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
答案 0 :(得分:1)
此错误表示由于覆盖已释放的本机内存而导致的内存损坏。
我将回顾本机库的使用,但是只有cooja的作者才能帮助您解决此问题。
您可以使用较新/较旧的版本吗?