Mojira Archive
BDS-18133

server crash with non-empty allowlist.json

When launching v1.19.63 server with "allow-list=true" and a non empty list of player names given in the allowlist.json file, the server crashes on startup.

*crash.log*

```text[2023-02-27 01:39:12:280 INFO] Starting Server
[2023-02-27 01:39:12:280 INFO] Version 1.19.63.01
[2023-02-27 01:39:12:280 INFO] Session ID 4d4117c5-a4f7-44d7-9d63-9163e39337b5
[2023-02-27 01:39:12:281 INFO] Level Name: Bedrock level
[2023-02-27 01:39:12:322 INFO] Package: com.mojang.minecraft.dedicatedserver
Version: 1.19.63.01
OS: Linux
Server start: 2023-02-27 01:39:12 UTC
Dmp timestamp: 2023-02-27 01:39:12 UTC
Upload Date: 2023-02-27 01:39:12 UTC
Session ID: 4d4117c5-a4f7-44d7-9d63-9163e39337b5
Commit hash: 7088bc4f31ad03af9cf84fa0351b85bde1cd17ba
Build id: 14075187
CrashReporter Key: 8c4937c1-64cb-3532-a8dc-1deb28f67293Crash
[2023-02-27 01:39:12:323 INFO]  at __libc_start_main (UnknownFile:?)```

 

When I set allow-list=false and allowlist.json to an empty list the server runs as expected.

 

 

Ubuntu 20.04{}

Attachments1

allowlist-crashing.json

trq

Comments9

Hi

Player names in allowlist contain any special/rare characters? How many names are there? Can you please upload allowlist or make a screenshot of its content? Please cover or delete any Gamertag that would be visible.

This ticket will automatically reopen when you reply.

No special characters in player names. One name in the list.

 

Here is content of the allowlist.json file:

 

["Example1234"]

Hi

Have you tried adding members to allowlist via command "allowlist add Gamertag"? If no, can you please verify if this issue will occur when members are added this way?

This ticket will automatically reopen when you reply.

The issue does not occur using add player commat

Hi

Can you verify if there's no formatting errors with manually entered allowlist members?

This ticket will automatically reopen when you reply.

Can you verify if there's no formatting errors with manually entered allowlist members?

Yes no formatting issues. No newline characters or comma trailing. I can reproduce using the example tag posted above.

I notice that when I remove the string quotes from the gamer tag in allowlist.json the crash does not occur. This is unexpected because it not valid json

For example:

[Example1234]

 

 

 

 

 

Hi

Can you please upload here your example allowlist file?

This ticket will automatically reopen when you reply.

History12

Maciej Piornik
[Bot] Arisa
Maciej Piornik
[Bot] Arisa
Maciej Piornik
[Bot] Arisa
Maciej Piornik
trq

Added attachment:

[Bot] Arisa
Maciej Piornik

Confirmation Status: UnconfirmedConfirmed

[Mod] OcelotOnesie

Resolution: UnresolvedFixed

Added affects versions: 1.20.10

Fixed
trq
1
1
Confirmed
1011998
1.19.62
1.20.10