Skip to content

Failed to handle packet for /**.**.**.**:6167 #6425

Closed as not planned
Closed as not planned

Description

@itwxb

Type of bug

Data loss

/ess dump all output

https://essentialsx.net/dump?bytebin=b6nHwnq9CA

Error log (if applicable)

log: https://mclo.gs/70MlkTt ,crash-reports: 1:https://mclo.gs/Drg5oCO , 2:https://mclo.gs/ABms9D1

Bug description

According to the backend logs, it can be inferred that
Players can use/home or/back
It will report an error
[23:42:38] [Server thread/ERROR]: Negative index in crash report handler (0/13)
[23:42:38] [Server thread/WARN]: Failed to handle packet for /...:17894

Then the player disconnected and reconnected, causing the server to crash

Steps to reproduce

Players occasionally get disconnected with "Internal server error" after using /home or /back commands (24-hour recurrence pattern). The issue occurs sporadically (~once/day) despite consistent command usage. The server crashes when the player attempts to rejoin.

玩家执行 /home 或 /back 命令后偶尔会被断开连接并报错 "Internal server error"(约每24小时复现一次)。尽管频繁使用传送命令,此问题仍为间歇性发生(约每天一次)。玩家重新连接时服务器会崩溃。

Expected behaviour

The server no longer crashes

Actual behaviour

Players occasionally get disconnected with "Internal server error" after using /home or /back commands (24-hour recurrence pattern). The issue occurs sporadically (~once/day) despite consistent command usage. The server crashes when the player attempts to rejoin.

Additional Information

Paper's response to me

PaperMC/Paper#13604

Activity

  1. added
    bug: unconfirmed
    on Feb 5, 2026
  2. added theissue type on Feb 5, 2026
  3. JRoy commented on Feb 7, 2026

    @JRoy
    Member

    EssentialsX is not the cause of this issue.

  4. itwxb commented on Feb 7, 2026

    @itwxb
    Author

    EssentialsX is not the cause of this issue.

    English:
    Thank you for your reply.
    Based on our recent investigation, we suspect the issue might be related to ess-dev57. We plan to temporarily switch back to the previously used dev53 to verify whether the crash is associated with it. Once we have a conclusion, we will provide you with feedback here promptly.

    中文:
    谢谢您的回复。
    基于最近的排查,我们怀疑问题可能出在 ess-dev57 上。我们计划暂时切换回之前使用的 dev53,以验证崩溃是否与此有关。一有结论,我们会立即在此向您反馈。

  5. itwxb commented on Feb 13, 2026

    @itwxb
    Author

    English:
    I’ve investigated the issue and confirmed it’s not caused by EssentialsX (Ess), but I was never able to pinpoint the exact root cause.
    As a solution, I developed a plugin that automatically checks player attributes before teleportation and proactively repairs any invalid or corrupted data—effectively preventing crashes.
    It has been running stably for over a week with no further crashes related to this issue.

    Download link:
    https://github.com/itwxb/AntiCrashProtector/releases

    中文:
    我尝试过排查,确认问题并非由 EssentialsX(Ess)引起,但始终未能定位到根本原因。
    因此,我开发了一款插件,在玩家传送前自动检测其属性状态,并主动修复异常数据,从而有效防止崩溃。
    该插件已稳定运行一周,未再因该问题导致服务器崩溃。

    插件下载地址:
    https://github.com/itwxb/AntiCrashProtector/releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: unconfirmed

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions