Java error !

Discussion in 'Bukkit Help' started by Kenshin, Mar 22, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Kenshin

    Hi !
    I have a problem since a while on my Debian lenny server. Every x hours (from 1 hours to 6 hours) my MineCraft server stop with:
    >#
    # A fatal error has been detected by the Java Runtime Environment:
    #
    # SIGSEGV (0xb) at pc=0xb70f6a51, pid=10715, tid=3010980752
    #
    # JRE version: 6.0_22-b04
    # Java VM: Java HotSpot(TM) Server VM (17.1-b03 mixed mode linux-x86 )
    # Problematic frame:
    # V [libjvm.so+0x589a51]
    #
    # An error report file with more information is saved as:
    # /hs_err_pid10715.log
    #
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    #
    Abandon

    Is that a bukkit problem ? A java problem ? Or a server problem ? How to solve it ?

    If it can help you, i had this other error before:

    00:47:24 [GRAVE] java.net.SocketException: Connection reset
    00:47:24 [GRAVE] at java.net.SocketInputStream.read(SocketInputStream.java:168)
    00:47:24 [GRAVE] at java.io.DataInputStream.readFully(DataInputStream.java:178)
    00:47:24 [GRAVE] at java.io.DataInputStream.readLong(DataInputStream.java:399)
    00:47:24 [GRAVE] at java.io.DataInputStream.readDouble(DataInputStream.java:451)
    00:47:24 [GRAVE] at net.minecraft.server.Packet11PlayerPosition.a(SourceFile:66)
    00:47:24 [GRAVE] at net.minecraft.server.Packet.b(SourceFile:119)
    00:47:24 [GRAVE] at net.minecraft.server.NetworkManager.f(SourceFile:155)
    00:47:24 [GRAVE] at net.minecraft.server.NetworkManager.c(SourceFile:9)
    00:47:24 [GRAVE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:62)
    00:47:24 [GRAVE] java.net.SocketException: Broken pipe
    00:47:24 [GRAVE] at java.net.SocketOutputStream.socketWrite0(Native Method)
    00:47:24 [GRAVE] at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    00:47:24 [GRAVE] at java.net.SocketOutputStream.write(SocketOutputStream.java:115)
    00:47:24 [GRAVE] at java.io.DataOutputStream.writeByte(DataOutputStream.java:136)
    00:47:24 [GRAVE] at net.minecraft.server.Packet31RelEntityMove.a(SourceFile:66)
    00:47:24 [GRAVE] at net.minecraft.server.Packet.a(SourceFile:149)
    00:47:24 [GRAVE] at net.minecraft.server.NetworkManager.e(SourceFile:130)
    00:47:24 [GRAVE] at net.minecraft.server.NetworkManager.d(SourceFile:9)
    00:47:24 [GRAVE] at net.minecraft.server.NetworkWriterThread.run(SourceFile:83)


    Thanks a lot

    I have install Ubuntu but same thing !
    Thanks

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  2. Offline

    TnT

    Its not likely a CraftBukkit problem - the forums would be filled with that complaint. Its either a corrupt Java install, or a plugin causing your server to crash. Have you tried without any plugins? Have you tried on a new world?
     
  3. Offline

    Kenshin

    Without plugin :
    Same result
    When I change the world:
    Same

    Thanks
     
  4. Offline

    TnT

    Have you tried re-installing Java or updating it to 1.6.0_24? That's a Java crash dump it's giving you.

    The connection reset error happens when someone hits the red 'x' on the MC client, or the client was forced closed by an interrupt in the connection to the server.
     
  5. Offline

    Kenshin

    Yes i have try to re-install but never to update, how to do that ? I already do an aptitude update and an aptitude upgrade. Have you a tutorial ?
    Thanks
     
  6. Offline

    TnT

    If you're using Ubuntu, my guide linked in my sig will show how to install Java x64, but you could follow along easily enough for x86.
     
  7. Offline

    Kenshin

    I have ubuntu 9.04 and I can't upgrade do 10. It will be ok ?
    Thanks
     
  8. Offline

    TnT

    Should be the same.
     
  9. Offline

    Kenshin

    Tonight I will
    Desinstall java
    Follow your tuto
    Thanks

    EDIT: Did I have to only install JRE ? Nothing else ? Can you give me a direct link because there are to many O.O
    ==> I will try install manually then 32 bits, thanks ^^
    Thanks a lot for your help
    Result tonight or tomorrow

    Thanks for your help:

    I tried with the 64bits version, installation OK, but command Java is not recognize

    Thanks

    sudo ./jre-6u24-linux-x64.bin
    Many creating, without errors
    Done.
    sudo update-alternatives --install "/usr/bin/java" "java" "/opt/java/64/jre1.6.0_24/bin/java" 1
    And java -d64 -Xincgc -Xmx1024M -jar craftbukkit.jar nogui:
    Le programme « java » se trouve dans les paquets suivants : (in english, Java is in package: )
    * gij-4.3 * java-gcj-compat-headless * openjdk-6-jre-headless * cacao * gij-4.2 * jamvm * kaffe
    Essayez (Try) : apt-get install <paquet sélectionné> (<Package>)

    EDIT: My file was in 32 and not 64 because of the precedent try u_u. Sorry !

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  10. Offline

    TnT

    @Kenshin
    I'm a little lost - are you all fixed up now, or still having troubles?
     
  11. Offline

    Kenshin

    Sorry ! I'm a little confuse. So I succeed :) Result for crashing or not crashing tomorrow ! Thanks ! You are great :)

    So... I'm having trouble :s The server run OK during an hour then:
    Code:
    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    # SIGILL (0x4) at pc=0x00007f6217c0b6d7, pid=10258, tid=140059191355728
    #
    # JRE version: 6.0_24-b07
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    # J net.minecraft.server.World.a(Lnet/minecraft/server/Entity;Z)V
    #
    # An error report file with more information is saved as:
    # /home/administrateur/minecraft/hs_err_pid10258.log
    #
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    #
    
    An other error:
    
    
    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    # SIGILL (0x4) at pc=0x00007f56c20b91f0, pid=23639, tid=140010447194448
    #
    # JRE version: 6.0_24-b07
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    # C [libverify.so+0x71f0]
    #
    # An error report file with more information is saved as:
    # /home/administrateur/minecraft/hs_err_pid23639.log
    Erreur de segmentation
    

    I'm lost :s

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  12. Offline

    TnT

    What does that /home/administrateur/minecraft/hs_err_pid23639.log file say?
     
  13. Offline

    Kenshin

    I don't understand, so I send it to you
    Code:
    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    #  SIGILL (0x4) at pc=0x00007f56c20b91f0, pid=23639, tid=140010447194448
    #
    # JRE version: 6.0_24-b07
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    # C  [libverify.so+0x71f0]
    #
    # If you would like to submit a bug report, please visit:
    #   [URL]http://java.sun.com/webapps/bugreport/crash.jsp[/URL]
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #
    
    ---------------  T H R E A D  ---------------
    
    Current thread (0x00007f56b4034800):  JavaThread "Server thread" [_thread_in_native, id=23665, stack(0x00007f56b8e84000,0x00007f56b8f85000)]
    
    siginfo:si_signo=SIGILL: si_errno=0, si_code=2 (ILL_ILLOPN), si_addr=0x00007f56c20b91f0
    
    Registers:
    RAX=0x00007f56b40692e8, RBX=0x0000000000000000, RCX=0x00007f56b4a82178, RDX=0x0000000000000012
    RSP=0x00007f56b8f81b30, RBP=0x0000000000000000, RSI=0x0000000000000001, RDI=0x00007f56b8f81cd0
    R8 =0x0000000000000001, R9 =0x0000000000000000, R10=0x00000000fae01ea8, R11=0x00007f56c30ec0f0
    R12=0x0000000000000002, R13=0x00007f56b40692e0, R14=0x00007f56b40692e0, R15=0x0000000000000002
    RIP=0x00007f56c20b91f0, EFL=0x0000000000010297, CSGSFS=0x0000000000000033, ERR=0x0000000000000000
      TRAPNO=0x0000000000000006
    
    Register to memory mapping:
    
    RAX=0x00007f56b40692e8
    0x00007f56b40692e8 is pointing to unknown location
    
    RBX=0x0000000000000000
    0x0000000000000000 is pointing to unknown location
    
    RCX=0x00007f56b4a82178
    0x00007f56b4a82178 is pointing to unknown location
    
    RDX=0x0000000000000012
    0x0000000000000012 is pointing to unknown location
    
    RSP=0x00007f56b8f81b30
    0x00007f56b8f81b30 is pointing into the stack for thread: 0x00007f56b4034800
    "Server thread" prio=10 tid=0x00007f56b4034800 nid=0x5c71 runnable [0x00007f56b8f82000]
       java.lang.Thread.State: RUNNABLE
    
    RBP=0x0000000000000000
    0x0000000000000000 is pointing to unknown location
    
    RSI=0x0000000000000001
    0x0000000000000001 is pointing to unknown location
    
    RDI=0x00007f56b8f81cd0
    0x00007f56b8f81cd0 is pointing into the stack for thread: 0x00007f56b4034800
    "Server thread" prio=10 tid=0x00007f56b4034800 nid=0x5c71 runnable [0x00007f56b8f82000]
       java.lang.Thread.State: RUNNABLE
    
    R8 =0x0000000000000001
    0x0000000000000001 is pointing to unknown location
    
    R9 =0x0000000000000000
    0x0000000000000000 is pointing to unknown location
    
    R10=0x00000000fae01ea8
    [I
     - klass: {type array int}
     - length: 0
    
    R11=0x00007f56c30ec0f0
    0x00007f56c30ec0f0: <offset 0x99d0f0> in /opt/java/64/jre1.6.0_24/lib/amd64/server/libjvm.so at 0x00007f56c274f000
    
    R12=0x0000000000000002
    0x0000000000000002 is pointing to unknown location
    
    R13=0x00007f56b40692e0
    0x00007f56b40692e0 is pointing to unknown location
    
    R14=0x00007f56b40692e0
    0x00007f56b40692e0 is pointing to unknown location
    
    R15=0x0000000000000002
    0x0000000000000002 is pointing to unknown location
    
    
    Top of Stack: (sp=0x00007f56b8f81b30)
    0x00007f56b8f81b30:   0000000100000000 00007f56b8f81b78
    0x00007f56b8f81b40:   0000001900000000 00007f56b4a82120
    0x00007f56b8f81b50:   00007f56b8f80001 00000000c2dfbc8a
    0x00007f56b8f81b60:   0000000000000000 00000000b8f81bd0
    0x00007f56b8f81b70:   000000ec00000000 00007f56b8f81be0
    0x00007f56b8f81b80:   00007f56b8f81cd0 0000000000000001
    0x00007f56b8f81b90:   00007f56b8f81cd0 00007f56b8f81bd0
    0x00007f56b8f81ba0:   0000000000000027 00007f56b8f81be0
    0x00007f56b8f81bb0:   00007f56b4a82120 00007f56c20b8385
    0x00007f56b8f81bc0:   01007f56b8f81cd0 0001000000000003
    0x00007f56b8f81bd0:   00007f56b40692e8 00007f5600000001
    0x00007f56b8f81be0:   00007f5600000002 00007f56b40692e0
    0x00007f56b8f81bf0:   00007f5600000000 0000000000000000
    0x00007f56b8f81c00:   00000002b4034800 00007f56b413b503
    0x00007f56b8f81c10:   0000000000000044 0000000000000001
    0x00007f56b8f81c20:   00007f56b8f81cd0 0000000000000027
    0x00007f56b8f81c30:   00007f56b4a82120 00007f56c20b6e18
    0x00007f56b8f81c40:   0000000000000044 00007f56b40349c8
    0x00007f56b8f81c50:   00007f56b413b4c0 000000c400000044
    0x00007f56b8f81c60:   0000000040392370 00000000000000c4
    0x00007f56b8f81c70:   00000000000000d1 00007f56b41a8f90
    0x00007f56b8f81c80:   0000000000000000 00007f56b4c68f30
    0x00007f56b8f81c90:   00007f56c30f6860 00007f56c20b6a0a
    0x00007f56b8f81ca0:   00007f56b8f81cd0 0000002eb8f82a50
    0x00007f56b8f81cb0:   0000000040392370 00007f56b40349c8
    0x00007f56b8f81cc0:   00007f56b41a8f90 00007f56b41a92e0
    0x00007f56b8f81cd0:   00007f56b40349c8 000000004082acf0
    0x00007f56b8f81ce0:   000000000000041f 0000000000000000
    0x00007f56b8f81cf0:   0000000040832b30 0000000000000000
    0x00007f56b8f81d00:   0000000000000000 0000000000000000
    0x00007f56b8f81d10:   0000000000000000 0000000000000000
    0x00007f56b8f81d20:   0000000000000000 0000000000000000
    
    Instructions: (pc=0x00007f56c20b91f0)
    0x00007f56c20b91e0:   18 0f 84 62 01 00 00 83 fa 18 0f 8f 66 01 00 00
    0x00007f56c20b91f0:   83 fa 16 0f 84 50 01 00 00 83 fa 16 0f 8f 3a 01
    
    Stack: [0x00007f56b8e84000,0x00007f56b8f85000],  sp=0x00007f56b8f81b30,  free space=1014k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  [libverify.so+0x71f0]
    
    Thanks
     
  14. Offline

    TnT

    None of that really makes much sense to me, but I'll try some googling.

    If you are inclined to test, can you do a RAM test on your system, just to rule it out as a problem. Yes, I am kind of grasping at straws here.
     
  15. Offline

    Kenshin

    I'm not English, and I don't understood the last sentence ^^. How to do a Ram test ? (Screen said that only 10% is used)
    Thanks
     
  16. Offline

    TnT

    If you have an Ubuntu disk, reboot the system with the disk in and run the memory test that comes with the disk.

    I have a suspicion that you may have bad RAM (memory) so I wanted you to test your hardware if you could - just to rule it out.
     
  17. Offline

    Kenshin

    It's a distant server, I pay for it :s. So no acces to the server but I just run a Hardware test ;).
    Other idea ? :p
     
  18. Offline

    Kenshin

    Ram test is OK but not the server u_u

    Thanks
     
  19. Offline

    Kenshin

    I changed the server and problem solved ! Thanks a lot :)
    PS: Your tutorial is great :)
     
  20. Offline

    TnT

    I'm glad you like it, that's a great way to wake up on a Sunday :)
    Sucks you had to swap out to different hardware though. :(
     
  21. Offline

    Kenshin

    I had to change the website who sell me the server :D Now all great, thanks a lot
    Problem solved

    PS: You disearve a great wake-up for all your hard work :)
     
Thread Status:
Not open for further replies.

Share This Page