Paper Spigot 1.12.2 crashing

Discussion in 'Paper Help' started by Hoster, Feb 12, 2018.

  1. Hoster

    Hoster New Member

    Joined:
    Feb 12, 2018
    Messages:
    2
    Likes Received:
    0
    Hello,

    I got a lot of crashes since Paper versions > 1310
    I happens frequently when a user login, so I thought it was Authme, but I updated it.

    I can attach my paper log, but it's very long...

    See how it starts:

    [09:02:24 ERROR]: The server has stopped responding!
    [09:02:24 ERROR]: Please report this to https://aquifermc.org/
    [09:02:24 ERROR]: Be sure to include ALL relevant console errors and Minecraft crash reports
    [09:02:24 ERROR]: Paper version: git-Paper-1322 (MC: 1.12.2)
    [09:02:24 ERROR]: ------------------------------
    [09:02:24 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
    [09:02:24 ERROR]: ------------------------------
    [09:02:24 ERROR]: Current Thread: Server thread
    [09:02:24 ERROR]: PID: 18 | Suspended: false | Native: true | State: RUNNABLE
    [09:02:24 ERROR]: Stack:
    [09:02:24 ERROR]: org.sqlite.core.NativeDB.step(Native Method)
    [09:02:24 ERROR]: org.sqlite.core.DB.execute(DB.java:811)
    [09:02:24 ERROR]: org.sqlite.core.DB.executeUpdate(DB.java:863)
    [09:02:24 ERROR]: org.sqlite.jdbc3.JDBC3PreparedStatement.executeUpdate(JDBC3PreparedStatement.java:99)
    [09:02:24 ERROR]: fr.xephi.authme.datasource.SQLite.updateQuitLoc(SQLite.java:405)
    [09:02:24 ERROR]: fr.xephi.authme.process.quit.AsynchronousQuit.processQuit(AsynchronousQuit.java:80)
    [09:02:24 ERROR]: fr.xephi.authme.process.Management.lambda$performQuit$7(Management.java:82)
    [09:02:24 ERROR]: fr.xephi.authme.process.Management$$Lambda$310/278672081.run(Unknown Source)
    [09:02:24 ERROR]: fr.xephi.authme.service.BukkitService.runTaskOptionallyAsync(BukkitService.java:129)
    [09:02:24 ERROR]: fr.xephi.authme.process.Management.runTask(Management.java:102)
    [09:02:24 ERROR]: fr.xephi.authme.process.Management.performQuit(Management.java:82)
    [09:02:24 ERROR]: fr.xephi.authme.listener.PlayerListener.onPlayerQuit(PlayerListener.java:309)
    [09:02:24 ERROR]: com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor729.execute(Unknown Source)
    [09:02:24 ERROR]: org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70)
    [09:02:24 ERROR]: co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
    [09:02:24 ERROR]: org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    [09:02:24 ERROR]: org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:515)
    [09:02:24 ERROR]: org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:500)
    [09:02:24 ERROR]: net.minecraft.server.v1_12_R1.PlayerList.disconnect(PlayerList.java:429)
    [09:02:24 ERROR]: net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1147)
    [09:02:24 ERROR]: net.minecraft.server.v1_12_R1.NetworkManager.handleDisconnection(NetworkManager.java:340)
    [09:02:24 ERROR]: net.minecraft.server.v1_12_R1.ServerConnection.c(ServerConnection.java:184)
    [09:02:24 ERROR]: net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:940)
    [09:02:24 ERROR]: net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:426)
    [09:02:24 ERROR]: net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:767)
    [09:02:24 ERROR]: net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665)
    [09:02:24 ERROR]: java.lang.Thread.run(Thread.java:748)
     
  2. electronicboy

    electronicboy New Member

    Joined:
    Oct 1, 2016
    Messages:
    21
    Likes Received:
    1
    Authme is doing sql transactions on the main thread, which is what caused your server to crash according to that report.
     
  3. Hoster

    Hoster New Member

    Joined:
    Feb 12, 2018
    Messages:
    2
    Likes Received:
    0
    Yes but I had no issues before few days ago... I also updated Authme.... And it's working on SQLite
     
  4. electronicboy

    electronicboy New Member

    Joined:
    Oct 1, 2016
    Messages:
    21
    Likes Received:
    1
    And magically databases grow, and performing updates and any other operation also grows in time required. maybe even a slow disk; but your issue here seemingly boils down to authme being stupid and doing transactions on the main thread.
     
  5. ShelLuser

    ShelLuser New Member

    Joined:
    Feb 12, 2018
    Messages:
    4
    Likes Received:
    0
    At the risk of stating something obvious but the best way to rule out any influence from a plugin is to take it out of the equation and then test again. In other words: instead of merely updating set up a test environment, move the plugin out of the way and see if the same thing happens.

    This is in some cases a very tedious task, but the best way to rule out any other possible cause for a crash.
     
  6. Brayjamin

    Brayjamin New Member

    Joined:
    Apr 18, 2018
    Messages:
    7
    Likes Received:
    0
    Yea I would suggest AuthMeReloaded, which is a newer version of AuthMe that is updated still. I have had no issues with it so far! https://www.spigotmc.org/resources/authmereloaded.6269/

    Also consider updating to a newer version of paper, like 1400 which is the next release.
     

Share This Page