[BDS-18133] server crash with non-empty allowlist.json Created: 27/Feb/23  Updated: 11/Jul/23  Resolved: 11/Jul/23

Status: Resolved
Project: Bedrock Dedicated Server
Affects Version/s: 1.19.62
Fix Version/s: 1.20.10

Type: Bug
Reporter: trq Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: None

Attachments: File allowlist-crashing.json    
Confirmation Status: Confirmed
ADO: 1011998

 Description   

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{}



 Comments   
Comment by trq [ 12/Apr/23 ]

uploaded thanks

Comment by Maciej Piornik [ 12/Apr/23 ]

Hi

Can you please upload here your example allowlist file?

This ticket will automatically reopen when you reply.

Comment by trq [ 27/Feb/23 ]

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]

 

 

 

 

 

Comment by trq [ 27/Feb/23 ]

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.

Comment by Maciej Piornik [ 27/Feb/23 ]

Hi

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

This ticket will automatically reopen when you reply.

Comment by trq [ 27/Feb/23 ]

The issue does not occur using add player commat

Comment by Maciej Piornik [ 27/Feb/23 ]

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.

Comment by trq [ 27/Feb/23 ]

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

 

Here is content of the allowlist.json file:

 

["Example1234"]

Comment by Maciej Piornik [ 27/Feb/23 ]

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.

Generated at Sat Jan 11 08:20:40 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.