{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "401041",
   "self": "https://bugs.mojang.com/rest/api/2/issue/401041",
   "key": "BDS-10926",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "3",
      "customfield_10500": {
         "self": "https://bugs.mojang.com/rest/api/2/customFieldOption/10300",
         "value": "Unconfirmed",
         "id": "10300",
         "disabled": false
      },
      "customfield_12800": null,
      "customfield_12602": [],
      "customfield_12601": null,
      "customfield_12604": null,
      "customfield_12603": null,
      "customfield_12606": null,
      "customfield_12605": null,
      "customfield_12608": null,
      "resolutiondate": "2021-01-20T13:33:02.000+0200",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-10926/watchers",
         "watchCount": 9,
         "isWatching": false
      },
      "created": "2020-12-31T06:20:48.000+0200",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "19717"
      ],
      "issuelinks": [
         {
            "id": "218462",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/218462",
            "type": "10102",
            "outwardIssue": "397357"
         }
      ],
      "assignee": null,
      "updated": "2021-01-20T13:33:02.000+0200",
      "status": "5",
      "description": "Steps to reproduce:\r\n # Download world at [https://drive.google.com/file/d/17cezewkfLQDhh9zkjxpr6vBb2TCgn_FM/view?usp=sharing] and extract it\r\n # Set it up to be served by a vanilla install of Bedrock server (Ubuntu) v1.16.201, all default settings\r\n # Join the server from a Win10 client v1.16.201\r\n # Teleport to coordinates 438, 63, 84 (or walk east from the world spawn to reach that point)\r\n # Stand there doing nothing for about 20 seconds\r\n\r\nResult:\r\n\r\nServer crashes with the following message in the console:\r\n\r\n\u00a0\r\n{code:java}\r\n[2020-12-30 22:43:28 INFO] Starting Server\r\n[2020-12-30 22:43:28 INFO] Version 1.16.201.2\r\n[2020-12-30 22:43:28 INFO] Session ID a70105f4-b251-4bfa-b2ec-c934e67568fa\r\n[2020-12-30 22:43:28 INFO] Level Name: Bedrock level\r\n[2020-12-30 22:43:28 INFO] Game mode: 0 Survival\r\n[2020-12-30 22:43:28 INFO] Difficulty: 1 EASY\r\n[INFO] opening worlds/Bedrock level/db\r\n[INFO] IPv4 supported, port: 19132\r\n[INFO] IPv6 supported, port: 19133\r\n[INFO] IPv4 supported, port: 40149\r\n[INFO] IPv6 supported, port: 41515\r\n[INFO] Server started.\r\n[INFO] Player connected: DroppedHornet19, xuid: 2535444430021753\r\nteleport PlayerName 357 5 84 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\r\nTeleported PlayerName to 357.50, 5.00, 84.50\r\n[INFO] Package: com.mojang.minecraft.dedicatedserver\r\nVersion: 1.16.201.2\r\nOS: Linux\r\nServer start: 2020-12-30 22:43:28 EST\r\nDmp timestamp: 2020-12-30 22:44:43 EST\r\nUpload Date: 2020-12-30 22:44:43 EST\r\nSession ID: a70105f4-b251-4bfa-b2ec-c934e67568fa\r\nCommit hash: \u00a0\r\nBuild id: development\r\nCrashReporter Key: a53a4d64-3972-3525-ac57-bc08e0cd8f32\r\nCrash\r\n[INFO] \u00a0at std::__shared_count<[__gnu_cxx::_Lock_policy]2>::__shared_count[std::__weak_count<[__gnu_cxx::_Lock_policy]2> const&, std::nothrow_t] (UnknownFile:?)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0at std::__shared_ptr<POIInstance, [__gnu_cxx::_Lock_policy]2>::__shared_ptr[std::__weak_ptr<POIInstance, [__gnu_cxx::_Lock_policy]2> const&, std::nothrow_t] (UnknownFile:?)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0at std::shared_ptr<POIInstance>::shared_ptr[std::weak_ptr<POIInstance> const&, std::nothrow_t] (UnknownFile:?)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0at std::weak_ptr<POIInstance>::lock[] const (UnknownFile:?)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0at Village::getBedPOICount[] const (UnknownFile:?)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0at Village::tick[Tick, BlockSource&] (UnknownFile:?)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0at VillageManager::tickVillages[Tick const&, Vec3 const&, BlockSource&] (UnknownFile:?)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0at ServerPlayer::tickWorld[Tick const&] (UnknownFile:?)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0at std::function<bool [Player&]>::operator[][Player&] const (UnknownFile:?)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0at Level::forEachPlayer[std::function<bool [Player&]>] (UnknownFile:?)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0at Level::tick[] (UnknownFile:?)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0at ServerLevel::tick[] (UnknownFile:?)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0at GameSession::tick[] (UnknownFile:?)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0at Minecraft::tickSimtime[int, int] (UnknownFile:?)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0at Minecraft::update[] (UnknownFile:?)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0at ServerInstance::_update[] (UnknownFile:?)\r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0at clone (UnknownFile:?)\r\na7b6cfa0-6993-4e94-89f1-e63874399b2a\r\n{code}\r\nUsing the same world file on a Windows bedrock server works fine. Only the Ubuntu server seems to crash.\r\n\r\n\u00a0",
      "customfield_11100": null,
      "customfield_11300": null,
      "customfield_11500": null,
      "customfield_12503": null,
      "customfield_12700": null,
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [],
      "summary": "Bedrock Server (Ubuntu) crash on Village::getBedPOICount",
      "creator": "JIRAUSER590782",
      "reporter": "JIRAUSER590782",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i1qvkv:",
      "environment": "$ lsb_release -a\r\nNo LSB modules are available.\r\nDistributor ID: Ubuntu\r\nDescription:    Ubuntu 20.04.1 LTS\r\nRelease:        20.04\r\nCodename:       focal\r\n\r\n$ uname -a\r\nLinux homer 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux",
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/401041/comment/887209",
               "id": "887209",
               "author": "JIRAUSER590874",
               "body": "I have the same issue, using dedicated Bedrock server on Linux, all players report getting disconnected after several minutes of playing, and the server console shows the same error. Seems to occur when invoking the Village:getBedPOICount function. This started earlier this week when the server was on version 1.16.200 \u2013 today I tried updating the server to 1.16.201.2 and the issue still persists.\r\n\r\n[INFO] Package: com.mojang.minecraft.dedicatedserver\r\nVersion: 1.16.201.2\r\nOS: Linux\r\nServer start: 2020-12-31 11:42:33 JST\r\nDmp timestamp: 2020-12-31 20:27:31 JST\r\nUpload Date: 2020-12-31 20:27:31 JST\r\nSession ID: 6b0ceb56-2e05-4fd7-9603-a77bf7513b84\r\nCommit hash:\r\nBuild id: development\r\nCrashReporter Key: 8c4937c1-64cb-3532-a8dc-1deb28f67293\r\n\r\nCrash\r\n[INFO] at std::__shared_count<[__gnu_cxx::_Lock_policy]2>::__shared_count[std::__weak_count<[__gnu_cxx::_Lock_policy]2> const&, std::nothrow_t] (UnknownFile:?)\r\n at std::__shared_ptr<POIInstance, [__gnu_cxx::_Lock_policy]2>::__shared_ptr[std::__weak_ptr<POIInstance, [__gnu_cxx::_Lock_policy]2> const&, std::nothrow_t] (UnknownFile:?)\r\n at std::shared_ptr<POIInstance>::shared_ptr[std::weak_ptr<POIInstance> const&, std::nothrow_t] (UnknownFile:?)\r\n at std::weak_ptr<POIInstance>::lock[] const (UnknownFile:?)\r\n at Village::getBedPOICount[] const (UnknownFile:?)\r\n at Village::tick[Tick, BlockSource&] (UnknownFile:?)\r\n at VillageManager::tickVillages[Tick const&, Vec3 const&, BlockSource&] (UnknownFile:?)\r\n at ServerPlayer::tickWorld[Tick const&] (UnknownFile:?)\r\n at std::function<bool [Player&]>::operator[][Player&] const (UnknownFile:?)\r\n at Level::forEachPlayer[std::function<bool [Player&]>] (UnknownFile:?)\r\n at Level::tick[] (UnknownFile:?)\r\n at ServerLevel::tick[] (UnknownFile:?)\r\n at GameSession::tick[] (UnknownFile:?)\r\n at Minecraft::tickSimtime[int, int] (UnknownFile:?)\r\n at Minecraft::update[] (UnknownFile:?)\r\n at ServerInstance::_update[] (UnknownFile:?)\r\n at clone (UnknownFile:?)",
               "updateAuthor": "JIRAUSER590874",
               "created": "2020-12-31T13:43:53.273+0200",
               "updated": "2020-12-31T13:43:53.273+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/401041/comment/887834",
               "id": "887834",
               "author": "JIRAUSER591392",
               "body": "UPDATE: 01/10/2021 - Purchased server from hosting service and installed world with same result.\u00a0\u00a0\r\n\r\nLink to world:\u00a0\r\n\r\nhttps://drive.google.com/drive/folders/1GWotbgZMvZrh9RF2f9Fo_AcRAL2MIUHk?usp=sharing\r\n\r\n_________________________________________\r\n\r\nI'm experiencing the same issue.\u00a0 I've been running the server in a TrueNAS VM for more than a year with no issue until now.\u00a0\r\n\r\nVM Specifications:\r\n\r\nTrueNAS 12.0 U1\r\n\r\nUbuntu Server 20.4.1\r\n\r\n2GB RAM\r\n\r\nUp to 3 threads dedicated of\u00a0Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz\r\n\r\nThe problem seems to have began with the MC update to 1.16.200 and persists through 1.16.201\r\n\r\nBelow is my error log:\r\n \u00a0\r\n [INFO] Package: com.mojang.minecraft.dedicatedserver\r\n Version: 1.16.201.2\r\n OS: Linux\r\n Server start: 2020-12-31 05:22:19 UTC\r\n Dmp timestamp: 2020-12-31 16:30:24 UTC\r\n Upload Date: 2020-12-31 16:30:24 UTC\r\n Session ID: eaf95c82-8463-412e-88ca-1fdedd2e915e\r\n Commit hash: \r\n Build id: development\r\n CrashReporter Key: 68016d49-2a9e-352f-b7f1-aa9cbceff174\r\n\r\nCrash\r\n [INFO] at std::__shared_count<[__gnu_cxx::_Lock_policy]2>::__shared_count[std::__weak_count<[__gnu_cxx::_Lock_policy]2> const&, std::nothrow_t] (UnknownFile:?)\r\n at std::__shared_ptr<POIInstance, [__gnu_cxx::_Lock_policy]2>::__shared_ptr[std::__weak_ptr<POIInstance, [__gnu_cxx::_Lock_policy]2> const&, std::nothrow_t] (UnknownFile:?)\r\n at std::shared_ptr<POIInstance>::shared_ptr[std::weak_ptr<POIInstance> const&, std::nothrow_t] (UnknownFile:?)\r\n at std::weak_ptr<POIInstance>::lock[] const (UnknownFile:?)\r\n at Village::getBedPOICount[] const (UnknownFile:?)\r\n at Village::tick[Tick, BlockSource&] (UnknownFile:?)\r\n at VillageManager::tickVillages[Tick const&, Vec3 const&, BlockSource&] (UnknownFile:?)\r\n at ServerPlayer::tickWorld[Tick const&] (UnknownFile:?)\r\n at std::function<bool [Player&]>::operator[][Player&] const (UnknownFile:?)\r\n at Level::forEachPlayer[std::function<bool [Player&]>] (UnknownFile:?)\r\n at Level::tick[] (UnknownFile:?)\r\n at ServerLevel::tick[] (UnknownFile:?)\r\n at GameSession::tick[] (UnknownFile:?)\r\n at Minecraft::tickSimtime[int, int] (UnknownFile:?)\r\n at Minecraft::update[] (UnknownFile:?)\r\n at ServerInstance::_update[] (UnknownFile:?)\r\n at clone (UnknownFile:?)\r\n 455df768-9ce8-41e6-99c7-357a6df1e25c\r\n\r\n\u00a0\r\n \u00a0",
               "updateAuthor": "JIRAUSER591392",
               "created": "2021-01-01T21:48:01.376+0200",
               "updated": "2021-01-11T04:58:23.751+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/401041/comment/890472",
               "id": "890472",
               "author": "JIRAUSER588087",
               "body": "This is the same as (or very similar to)\u00a0BDS-10777.",
               "updateAuthor": "JIRAUSER588087",
               "created": "2021-01-06T03:43:32.543+0200",
               "updated": "2021-01-06T03:43:32.543+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/401041/comment/891420",
               "id": "891420",
               "author": "JIRAUSER593813",
               "body": "Same issue as [BDS-11039] (reported before I saw this issue)",
               "updateAuthor": "arisabot",
               "created": "2021-01-07T21:09:49.928+0200",
               "updated": "2021-01-07T21:09:56.409+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/401041/comment/899965",
               "id": "899965",
               "author": "mega_spud",
               "body": "*Thank you for your report!*\r\nWe're actually already tracking this issue at *+BDS-10666+*, so we will resolve and link this ticket as a duplicate. \r\n\r\nIf you would like to add a vote and any extra information to the main ticket it would be appreciated.\r\n\r\n\r\n*Quick Links*:\r\n\ud83d\udcd3 [Issue Guidelines|https://aka.ms/MCBugTrackerHelp|How To Write Awesome Tickets! \ud83d\udcaf] -- \ud83d\udcac [Mojang Support|https://help.minecraft.net/hc/en-us/requests/new|Account Support \ud83d\udd79] -- \ud83d\udce7 [Suggestions|https://feedback.minecraft.net/|Feedback and Suggestions \u270d\ufe0f] -- \ud83d\udcd6 [Minecraft Wiki|http://minecraft.gamepedia.com/Minecraft_Wiki|Minecraft Wiki \ud83c\udf93]",
               "updateAuthor": "mega_spud",
               "created": "2021-01-20T13:33:02.718+0200",
               "updated": "2021-01-20T13:33:02.718+0200"
            }
         ],
         "maxResults": 5,
         "total": 5,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-10926/votes",
         "votes": 8,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 2,
      "total": 2,
      "histories": [
         {
            "id": "1979587",
            "author": "mega_spud",
            "created": "2021-01-20T13:33:02.834+0200",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-10666",
                  "toString": "This issue duplicates BDS-10666"
               }
            ]
         },
         {
            "id": "1979589",
            "author": "mega_spud",
            "created": "2021-01-20T13:33:02.892+0200",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "3",
                  "toString": "Duplicate"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         }
      ]
   }
}