Uploaded image for project: 'Bedrock Dedicated Server'
  1. Bedrock Dedicated Server
  2. BDS-10926

Bedrock Server (Ubuntu) crash on Village::getBedPOICount

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.16.201 Hotfix
    • None
    • Unconfirmed

      Steps to reproduce:

      1. Download world at https://drive.google.com/file/d/17cezewkfLQDhh9zkjxpr6vBb2TCgn_FM/view?usp=sharing and extract it
      2. Set it up to be served by a vanilla install of Bedrock server (Ubuntu) v1.16.201, all default settings
      3. Join the server from a Win10 client v1.16.201
      4. Teleport to coordinates 438, 63, 84 (or walk east from the world spawn to reach that point)
      5. Stand there doing nothing for about 20 seconds

      Result:

      Server crashes with the following message in the console:

       

      [2020-12-30 22:43:28 INFO] Starting Server
      [2020-12-30 22:43:28 INFO] Version 1.16.201.2
      [2020-12-30 22:43:28 INFO] Session ID a70105f4-b251-4bfa-b2ec-c934e67568fa
      [2020-12-30 22:43:28 INFO] Level Name: Bedrock level
      [2020-12-30 22:43:28 INFO] Game mode: 0 Survival
      [2020-12-30 22:43:28 INFO] Difficulty: 1 EASY
      [INFO] opening worlds/Bedrock level/db
      [INFO] IPv4 supported, port: 19132
      [INFO] IPv6 supported, port: 19133
      [INFO] IPv4 supported, port: 40149
      [INFO] IPv6 supported, port: 41515
      [INFO] Server started.
      [INFO] Player connected: DroppedHornet19, xuid: 2535444430021753
      teleport PlayerName 357 5 84             
      Teleported PlayerName to 357.50, 5.00, 84.50
      [INFO] Package: com.mojang.minecraft.dedicatedserver
      Version: 1.16.201.2
      OS: Linux
      Server start: 2020-12-30 22:43:28 EST
      Dmp timestamp: 2020-12-30 22:44:43 EST
      Upload Date: 2020-12-30 22:44:43 EST
      Session ID: a70105f4-b251-4bfa-b2ec-c934e67568fa
      Commit hash:  
      Build id: development
      CrashReporter Key: a53a4d64-3972-3525-ac57-bc08e0cd8f32
      Crash
      [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:?)
              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:?)
              at std::shared_ptr<POIInstance>::shared_ptr[std::weak_ptr<POIInstance> const&, std::nothrow_t] (UnknownFile:?)
              at std::weak_ptr<POIInstance>::lock[] const (UnknownFile:?)
              at Village::getBedPOICount[] const (UnknownFile:?)
              at Village::tick[Tick, BlockSource&] (UnknownFile:?)
              at VillageManager::tickVillages[Tick const&, Vec3 const&, BlockSource&] (UnknownFile:?)
              at ServerPlayer::tickWorld[Tick const&] (UnknownFile:?)
              at std::function<bool [Player&]>::operator[][Player&] const (UnknownFile:?)
              at Level::forEachPlayer[std::function<bool [Player&]>] (UnknownFile:?)
              at Level::tick[] (UnknownFile:?)
              at ServerLevel::tick[] (UnknownFile:?)
              at GameSession::tick[] (UnknownFile:?)
              at Minecraft::tickSimtime[int, int] (UnknownFile:?)
              at Minecraft::update[] (UnknownFile:?)
              at ServerInstance::_update[] (UnknownFile:?)
              at clone (UnknownFile:?)
      a7b6cfa0-6993-4e94-89f1-e63874399b2a
      

      Using the same world file on a Windows bedrock server works fine. Only the Ubuntu server seems to crash.

       

            Unassigned Unassigned
            FredM Frederic
            Votes:
            8 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: