Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

[BUG] [Fabric/Forge] Weird crash with JNI/Argon2 #35

Open
1 task done
Merith-TK opened this issue Nov 5, 2020 · 9 comments
Open
1 task done

[BUG] [Fabric/Forge] Weird crash with JNI/Argon2 #35

Merith-TK opened this issue Nov 5, 2020 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@Merith-TK
Copy link

Mod Loader

  • Fabric

Versions

  • SimpleAuth 1.6.5
  • Fabric API 0.25.1

Describe the bug
When i log into my server, I am told to register, and when i do, i am free to move around however soon after the minecraft server crashes with the exact same error

[01:23:53] [Server thread/INFO]: GuardDawg2021[/192.168.0.109:6959] logged in with entity id 101 at (134.0513389586408, 75.0, -92.46390443371322)
[01:23:53] [Server thread/INFO]: GuardDawg2021 joined the game
[01:23:55] [Server thread/WARN]: Trying to add entity with duplicated UUID 39663c67-e65b-4dae-8e11-c9227d1c1a16. Existing minecraft:pig#158, new: minecraft:pig#189
[01:23:57] [Server thread/WARN]: Trying to add entity with duplicated UUID 94467775-3547-4b69-8cdf-bed397abb6d1. Existing minecraft:zombie#210, new: minecraft:zombie#211
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000000000eb6, pid=42, tid=0x00007f9c04ba8b10
#
# JRE version: OpenJDK Runtime Environment (8.0_252-b09) (build 1.8.0_212-b04)
# Java VM: OpenJDK 64-Bit Server VM (25.252-b09 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 3.16.0
# Distribution: Custom build (Thu Aug 13 12:46:32 UTC 2020)
# Problematic frame:
# C  0x0000000000000eb6
#
# Core dump written. Default location: /data/core or core.42
#
# An error report file with more information is saved as:
# /data/hs_err_pid42.log
[thread 140308236159760 also had an error]
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   https://icedtea.classpath.org/bugzilla
#

To Reproduce
Have no clue, Here are the mods i have installed on my server at the moment

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
https://mclo.gs/RQ47sDp < Latest minecraft Log
hs_err_pid42.log < the core dump log.

@Merith-TK Merith-TK added the bug Something isn't working label Nov 5, 2020
@Merith-TK
Copy link
Author

This does still occur without any other fabric mods aside from the API

@samolego
Copy link
Owner

samolego commented Nov 5, 2020

Thanks for reporting! That's ... unexpected 😄
I saw the conversation on Fabricord as well.

~~Does this line show every time?
[01:23:55] [Server thread/WARN]: Trying to add entity with duplicated UUID 39663c67-e65b-4dae-8e11-c9227d1c1a16. Existing minecraft:pig#158, new: minecraft:pig#189
If so it might be a world - related issue, not really sure though. Could you try reproduce the line with new world? Or does it happen without simpleauth?

Have you changed any of the settings in SimpleAuths's config file? Especially premiumAutologin, which is rather new ..?~~

Edit: comment bellow is probably better.

@samolego samolego added the priority:high Critical, needs fixing as soon as possible label Nov 5, 2020
@samolego
Copy link
Owner

samolego commented Nov 5, 2020

# The crash happened outside the Java Virtual Machine in native code
Makes me think it may be an error with hashing ... Could you try enabling different hashing algorithm and see if it helps?

@Merith-TK
Copy link
Author

Replying in order

  1. This line shows up with the same two mobs every time the crash occurrs, the only variation may be the actual UUID and numbers, but always with a Pig and a Zombie

  2. Fresh world, (deleted and recreated using same seed, 433854927151926720

  3. No i have not changed any settings as i do not understand the settings structure

  4. Tests with bcrypt show success, thank you

I am using this docker container for my minecraft server itzg/minecraft-server:latest
If you want i can zip my whole minecraft server folder for you to test with? i do not have any sensitive information on my server at the moment

@samolego
Copy link
Owner

samolego commented Nov 5, 2020

Humm, this would make debugging easier, however, it may be server-specific. But if you don't mind sharing the zip, I'd be happy to see it.

No i have not changed any settings as i do not understand the settings structure

Ahm, this concerns me a bit. Any ideas to make it clearer? 😉

@samolego samolego removed the priority:high Critical, needs fixing as soon as possible label Nov 5, 2020
@Merith-TK
Copy link
Author

this is a full zip of my current server, (the only difference between the non-working and the working, is that when it is working, there is now an entry for GuardDawg2021 on the wold data and SimpleAuth, along with BCrypt being enabled)
https://mega.nz/file/LhB1WaTB#X5a7EyR5hCyojQmYe7Ltv9-6gaoWz7Z4EprrtBm94ds

@samolego samolego changed the title [BUG] [Fabric/Forge] [BUG] [Fabric/Forge] Weird crash with JNI/Argon2 Nov 5, 2020
@ghost
Copy link

ghost commented Nov 22, 2020

I'm having the same issue but in singleplayer, i've looked up how to fix it, nothing worked so far, however... i am using cracked minecraft currently, is this issue possibly caused by the game not being the official version?

@ghost
Copy link

ghost commented Nov 22, 2020

also, i'm not using the mods JNI or Argon2

@samolego
Copy link
Owner

singleplayer

Mod is meant to be used on the server :) ..?

also, i'm not using the mods JNI or Argon2

Those are packed inside the SimpleAuth.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants