samolego / SimpleAuth

Simple authentication mod for Fabric or Forge servers.
https://modrinth.com/mod/SimpleAuth
MIT License
39 stars 14 forks source link

[BUG] [Fabric/Forge] #55

Closed diman-io closed 3 years ago

diman-io commented 3 years ago

Mod Loader

Versions

Describe the bug Minecraft server crushes after register

To Reproduce Steps to reproduce the behavior:

  1. Start new server
    docker run -d \
    -p 55565:25565 \
    --name minecraft-forge \
    -e EULA=TRUE \
    -e TZ=Europe/Moscow \
    -e TYPE=FORGE \
    -v `pwd`/data:/data \
    itzg/minecraft-server
  2. docker stop minecraft-forge
  3. Add mod to data/mods/
  4. docker start minecraft-forge
  5. Login with new player (premium), type register password password
  6. Connection lost, server stop

Expected behavior To play

Additional context Tail of docker logs

[22:24:16] [Server thread/INFO]: PlayerName joined the game
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000000000eb6, pid=56, tid=0x00007f1cdf571b10
#
# 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.56
#
# An error report file with more information is saved as:
# /data/hs_err_pid56.log
#
# 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
#
2021-02-12T22:24:28.496+0300    WARN    mc-server-runner    sub-process failed  {"exitCode": -1}
2021-02-12T22:24:28.496+0300    INFO    mc-server-runner    Done
samolego commented 3 years ago

Please refer to https://github.com/samolego/SimpleAuth/wiki/GLIBC-problems

diman-io commented 3 years ago

Thanks! Setting the option useBCryptLibrary to true have solved the issue.