gpt4 book ai didi

java - Java_java_net_NetworkInterface_getAll 期间 sun JVM 崩溃

转载 作者:行者123 更新时间:2023-12-04 11:41:51 24 4
gpt4 key购买 nike

Selenium-server 在启动时查询所有网络接口(interface);不幸的是,这会导致我的 Ubuntu 机器上的 JVM 内存损坏和 JVM 硬崩溃。这可以通过调用 java.net.NetworkInterface.getNetworkInterfaces() 的任何 java 进程在此机器上重现

关于操作系统的一些事情:

2.6.35-30-generic #59-Ubuntu SMPjava version "1.6.0_26"Java(TM) SE Runtime Environment (build 1.6.0_26-b03)Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)This machine has a number of virtual network interfaces and some static routes:    virbr0    Link encap:Ethernet  HWaddr fa:de:be:41:c2:23     tap248    Link encap:Ethernet  HWaddr 0a:9e:b3:46:48:b9

And the grease

java -jar selenium-server-standalone-2.20.0.jar -role node -hub http://127.0.0.1:4444/grid/register

Mar 30, 2012 9:14:05 AM org.openqa.grid.selenium.GridLauncher main

INFO: Launching a selenium grid node

*** glibc detected *** java: free(): invalid next size (fast): 0x00007ffec0144cc0 ***

======= Backtrace: =========
/lib/libc.so.6(+0x774b6)[0x7ffecd56e4b6]
/lib/libc.so.6(cfree+0x73)[0x7ffecd574c83]
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libnet.so(+0x5a96)[0x7ffec58dba96]
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libnet.so(Java_java_net_NetworkInterface_getAll+0x8c)[0x7ffec58daf9c]
[0x7ffec87e3d6e]
======= Memory map: ========
40000000-40009000 r-xp 00000000 08:41 4473913 /usr/lib/jvm/java-6-sun-1.6.0.26/jre/bin/java
40108000-4010a000 rwxp 00008000 08:41 4473913 /usr/lib/jvm/java-6-sun-1.6.0.26/jre/bin/java

最佳答案

关于java - Java_java_net_NetworkInterface_getAll 期间 sun JVM 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9944244/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com