Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.21] Crash input/output error #24

Open
jinkhya opened this issue Jun 23, 2024 · 3 comments
Open

[1.21] Crash input/output error #24

jinkhya opened this issue Jun 23, 2024 · 3 comments

Comments

@jinkhya
Copy link

jinkhya commented Jun 23, 2024

Hello,
This morning our vanilla server randomly crashed but didn't generate any crash log.
Here's the latest log : https://gist.github.com/jinkhya/3b12645e87bed129426b56f77726df25
You can see the error. at the end of the log

Best regards,
Jin

@Fourmisain
Copy link
Collaborator

That is weird, it's just a generic I/O error inside Java's FileInputStream, which could mean anything.

One thing that catches my eye are these messages:

[00:11:18] [JDA MainWS-ReadThread/INFO]: ATM9.sky[BOT] Server Stopped!
[00:11:59] [JDA MainWS-ReadThread/INFO]: ATM9.sky[BOT] Server Starting...
[00:12:21] [JDA MainWS-ReadThread/INFO]: ATM9.sky[BOT] Server Crash Detected :thinking:

This also happens a few seconds before the crash, so maybe it's related to it? Though I don't see how...

[04:11:18] [JDA MainWS-ReadThread/INFO]: ATM9.sky[BOT] Server Stopped!
[04:11:58] [JDA MainWS-ReadThread/INFO]: ATM9.sky[BOT] Server Starting...
[04:13:04] [Server console handler/ERROR]: Caught previously unhandled exception :

I'm assuming this is a Discord bridge you are using. I can find JDA, but what mod are you using specifically?
I'd like to have a look at what it's doing and there's like dozens of them.

Other than that, I'm not sure if there's much we can do. The error happens inside JLine/Java, so we can't really "fix" it, but maybe we can try to restart the terminal if this happens? Gonna see if that is possible.

@Fourmisain
Copy link
Collaborator

Fourmisain commented Jun 23, 2024

Aight, released a new version which tries to restart the terminal when it encounters an IOError.
Might help, might not, I could only test it without actual errors.
I also updated JLine, though that'll probably do nothing on this front.

Let me know how you fare with this.

@jinkhya
Copy link
Author

jinkhya commented Jun 23, 2024

I'm assuming this is a Discord bridge you are using. I can find JDA, but what mod are you using specifically?

I'm using discord integration Fabric yes. Here's the source code : https://github.com/ErdbeerbaerLP/DiscordIntegration-Fabric

Thank you for the new version ! I'll update it right now and I'll let you know if I ever get the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants