[BDS-12126] segfault at startup on Ubuntu Created: 11/Mar/21  Updated: 04/Jan/22  Resolved: 04/Jan/22

Status: Resolved
Project: Bedrock Dedicated Server
Affects Version/s: 1.16.210
Fix Version/s: None

Type: Bug
Reporter: Owen Arden Assignee: Unassigned
Resolution: Incomplete Votes: 2
Labels: None
Environment:

Ubuntu 20.04.2 LTS


Attachments: Text File term.txt    
Confirmation Status: Unconfirmed

 Description   

Hello,

The new BDS server version 1.16.210 consistently crashes for me on startup, even without any of my world files. I've attached a run from inside gdb to demonstrate the segfault (it otherwise isn't clear what causes the crash from the server output). I have a core file I generated in gdb, but even gzipped it is ~88M, so I can't upload it. If a Google drive link is sufficient, I've uploaded it [https://drive.google.com/file/d/1DjssSiQnrEp6i91j4JhuEl1u_26MXmXm/view?usp=sharing|here]

Please let me know if you need other info or if you might know of workarounds

Thanks!
Owen



 Comments   
Comment by Maciej Piornik [ 04/Jan/22 ]

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
πŸ““ Issue Guidelines – πŸ’¬ Mojang Support – πŸ“§ Suggestions – πŸ“– Minecraft Wiki

Comment by [MCQA] Kinga Izdebska [ 13/Aug/21 ]

Is this still an issue in the latest version (1.17.11)? If so, can you please add it to the affected versions (or mention it if you are not the reporter).
This ticket will automatically reopen when you reply.

Comment by Owen Arden [ 17/Mar/21 ]

Huh that is odd – I've been using those scripts too. I've modified the startup/shutdown scripts a little, so just to be sure I created a new world using the (latest) SetupMinecraft.sh, but I still get the same behavior.

I wonder what is different about the 20.04 install you have? Would you mind sharing the output of 'apt list --installed' ? other than that, maybe any non-default settings in server.properties?

Comment by Kevin Barsby [ 17/Mar/21 ]

So I built an Ubuntu 18.04 VM last night, and 1.16.210 starts ok. In the process I noticed that I'd left an old instance running (on the 20.04 server, where I'd been playing with the scripts from here: https://jamesachambers.com/minecraft-bedrock-edition-ubuntu-dedicated-server-guide/).Β The server had been set to autostart and also auto updates. It was up and running on 20.04 on the new 1.16.210 version!

I've not had a chance to dig into it yet, the vanilla fresh install of 1.16.210 still fails as you've described.

I've also noticed that there seems to be an issue with crafting, simple things like sticks will not go into your inventory, (either the output square on the table remains red with all the components in place, or the inventory updates momentarily) this occurs in the two servers I've managed to get up and running, so it looks like a bug in the new server.

Comment by Owen Arden [ 16/Mar/21 ]

Hrm. Ok thanks, I was afraid that might be the case. FWIW, I had 1.16.201 working on Ubuntu 20.04, but the packages were a bit out of date. I downloaded 1.16.210.05 and got the crash, so I updated the packages to see if that would help, but it didn't. Haven't tried to .06 release yet.

In the off chance it might be helpful, here is the list of packages the upgrade installed:

Install: libllvm11:amd64 (1:11.0.0-2~ubuntu20.04.1, automatic)
Upgrade: gnome-control-center-data:amd64 (1:3.36.4-0ubuntu2, 1:3.36.5-0ubuntu1), signon-plugin-password:amd64 (8.59+17.10.20170606-0ubuntu2, 8.59+17.10.20170606-0ubuntu2.20.04.1), libefivar1:amd64 (37-2ubuntu2.1, 37-2ubuntu2.2), netplan.io:amd64 (0.100-0ubuntu4~20.04.3, 0.101-0ubuntu3~20.04.2), bind9-dnsutils:amd64 (1:9.16.1-0ubuntu2.6, 1:9.16.1-0ubuntu2.7), language-pack-gnome-en:amd64 (1:20.04+20200709, 1:20.04+20210121), update-manager-core:amd64 (1:20.04.10.1, 1:20.04.10.6), libdrm-nouveau2:amd64 (2.4.101-2, 2.4.102-1ubuntu1~20.04.1), gir1.2-mutter-6:amd64 (3.36.6-1ubuntu0.20.04.2, 3.36.7+git20201123-0.20.04.1), gnupg-utils:amd64 (2.2.19-3ubuntu2, 2.2.19-3ubuntu2.1), gnome-control-center:amd64 (1:3.36.4-0ubuntu2, 1:3.36.5-0ubuntu1), friendly-recovery:amd64 (0.2.41, 0.2.41ubuntu0.20.04.1), gnupg-agent:amd64 (2.2.19-3ubuntu2, 2.2.19-3ubuntu2.1), gpg-wks-client:amd64 (2.2.19-3ubuntu2, 2.2.19-3ubuntu2.1), libegl1:amd64 (1.3.1-1ubuntu0.20.04.1, 1.3.2-1~ubuntu0.20.04.1), python3-software-properties:amd64 (0.98.9.3, 0.98.9.4), gnome-system-monitor:amd64 (3.36.0-1, 3.36.1-0ubuntu0.20.04.1), gnupg-l10n:amd64 (2.2.19-3ubuntu2, 2.2.19-3ubuntu2.1), libc6-dbg:amd64 (2.31-0ubuntu9.1, 2.31-0ubuntu9.2), libc6-dev:amd64 (2.31-0ubuntu9.1, 2.31-0ubuntu9.2), libsignon-qt5-1:amd64 (8.59+17.10.20170606-0ubuntu2, 8.59+17.10.20170606-0ubuntu2.20.04.1), libegl-mesa0:amd64 (20.0.8-0ubuntu1~20.04.1, 20.2.6-0ubuntu0.20.04.1), update-notifier-common:amd64 (3.192.30, 3.192.30.5), libfprint-2-2:amd64 (1:1.90.2+tod1-0ubuntu1~20.04.2, 1:1.90.2+tod1-0ubuntu1~20.04.4), libsystemd0:amd64 (245.4-4ubuntu3.3, 245.4-4ubuntu3.4), libpulsedsp:amd64 (1:13.99.1-1ubuntu3.8, 1:13.99.1-1ubuntu3.10), grub-common:amd64 (2.04-1ubuntu26.7, 2.04-1ubuntu26.9), apt:amd64 (2.0.2ubuntu0.2, 2.0.4), libparted2:amd64 (3.3-4, 3.3-4ubuntu0.20.04.1), libgl1:amd64 (1.3.1-1ubuntu0.20.04.1, 1.3.2-1~ubuntu0.20.04.1), pulseaudio:amd64 (1:13.99.1-1ubuntu3.8, 1:13.99.1-1ubuntu3.10), libglapi-mesa:amd64 (20.0.8-0ubuntu1~20.04.1, 20.2.6-0ubuntu0.20.04.1), gnome-desktop3-data:amd64 (3.36.3.1-0ubuntu1, 3.36.8-0ubuntu1), libasound2-data:amd64 (1.2.2-2.1ubuntu2.2, 1.2.2-2.1ubuntu2.3), update-manager:amd64 (1:20.04.10.1, 1:20.04.10.6), librsvg2-common:amd64 (2.48.7-1ubuntu0.20.04.1, 2.48.9-1ubuntu0.20.04.1), signond:amd64 (8.59+17.10.20170606-0ubuntu2, 8.59+17.10.20170606-0ubuntu2.20.04.1), bind9-host:amd64 (1:9.16.1-0ubuntu2.6, 1:9.16.1-0ubuntu2.7), libsignon-plugins-common1:amd64 (8.59+17.10.20170606-0ubuntu2, 8.59+17.10.20170606-0ubuntu2.20.04.1), libtracker-sparql-2.0-0:amd64 (2.3.4-1, 2.3.6-0ubuntu1), lshw:amd64 (02.18.85-0.3ubuntu2, 02.18.85-0.3ubuntu2.20.04.1), lsof:amd64 (4.93.2+dfsg-1, 4.93.2+dfsg-1ubuntu0.20.04.1), dnsutils:amd64 (1:9.16.1-0ubuntu2.6, 1:9.16.1-0ubuntu2.7), libefiboot1:amd64 (37-2ubuntu2.1, 37-2ubuntu2.2), libc6:amd64 (2.31-0ubuntu9.1, 2.31-0ubuntu9.2), gpg-wks-server:amd64 (2.2.19-3ubuntu2, 2.2.19-3ubuntu2.1), python-apt-common:amd64 (2.0.0ubuntu0.20.04.3, 2.0.0ubuntu0.20.04.4), libxatracker2:amd64 (20.0.8-0ubuntu1~20.04.1, 20.2.6-0ubuntu0.20.04.1), gpg:amd64 (2.2.19-3ubuntu2, 2.2.19-3ubuntu2.1), grub2-common:amd64 (2.04-1ubuntu26.7, 2.04-1ubuntu26.9), udev:amd64 (245.4-4ubuntu3.3, 245.4-4ubuntu3.4), locales:amd64 (2.31-0ubuntu9.1, 2.31-0ubuntu9.2), libegl1-mesa:amd64 (20.0.8-0ubuntu1~20.04.1, 20.2.6-0ubuntu0.20.04.1), libgles2:amd64 (1.3.1-1ubuntu0.20.04.1, 1.3.2-1~ubuntu0.20.04.1), language-pack-en:amd64 (1:20.04+20200709, 1:20.04+20210121), bind9utils:amd64 (1:9.16.1-0ubuntu2.6, 1:9.16.1-0ubuntu2.7), gdm3:amd64 (3.36.3-0ubuntu0.20.04.2, 3.36.3-0ubuntu0.20.04.3), libmutter-6-0:amd64 (3.36.6-1ubuntu0.20.04.2, 3.36.7+git20201123-0.20.04.1), software-properties-gtk:amd64 (0.98.9.3, 0.98.9.4), libparted-fs-resize0:amd64 (3.3-4, 3.3-4ubuntu0.20.04.1), libapt-pkg6.0:amd64 (2.0.2ubuntu0.2, 2.0.4), gir1.2-gdm-1.0:amd64 (3.36.3-0ubuntu0.20.04.2, 3.36.3-0ubuntu0.20.04.3), libudev1:amd64 (245.4-4ubuntu3.3, 245.4-4ubuntu3.4), libtracker-miner-2.0-0:amd64 (2.3.4-1, 2.3.6-0ubuntu1), libgbm1:amd64 (20.0.8-0ubuntu1~20.04.1, 20.2.6-0ubuntu0.20.04.1), mutter-common:amd64 (3.36.6-1ubuntu0.20.04.2, 3.36.7+git20201123-0.20.04.1), systemd-timesyncd:amd64 (245.4-4ubuntu3.3, 245.4-4ubuntu3.4), thunderbird-gnome-support:amd64 (1:68.10.0+build1-0ubuntu0.20.04.1, 1:78.7.1+build1-0ubuntu0.20.04.1), gir1.2-gnomedesktop-3.0:amd64 (3.36.3.1-0ubuntu1, 3.36.8-0ubuntu1), dirmngr:amd64 (2.2.19-3ubuntu2, 2.2.19-3ubuntu2.1), libgdm1:amd64 (3.36.3-0ubuntu0.20.04.2, 3.36.3-0ubuntu0.20.04.3), libdrm-amdgpu1:amd64 (2.4.101-2, 2.4.102-1ubuntu1~20.04.1), libinput-bin:amd64 (1.15.5-1ubuntu0.1, 1.15.5-1ubuntu0.2), ubuntu-drivers-common:amd64 (1:0.8.4~0.20.04.3, 1:0.8.6.5~0.20.04.1), libgnome-desktop-3-19:amd64 (3.36.3.1-0ubuntu1, 3.36.8-0ubuntu1), grub-efi-amd64-bin:amd64 (2.04-1ubuntu26.7, 2.04-1ubuntu26.9), python3-distupgrade:amd64 (1:20.04.28, 1:20.04.30), libc-bin:amd64 (2.31-0ubuntu9.1, 2.31-0ubuntu9.2), libpulse0:amd64 (1:13.99.1-1ubuntu3.8, 1:13.99.1-1ubuntu3.10), python3-update-manager:amd64 (1:20.04.10.1, 1:20.04.10.6), gir1.2-snapd-1:amd64 (1.57-0ubuntu3, 1.58-0ubuntu0.20.04.0), ubuntu-release-upgrader-core:amd64 (1:20.04.28, 1:20.04.30), librsvg2-2:amd64 (2.48.7-1ubuntu0.20.04.1, 2.48.9-1ubuntu0.20.04.1), libnss-myhostname:amd64 (245.4-4ubuntu3.3, 245.4-4ubuntu3.4), thunderbird-locale-en-us:amd64 (1:68.10.0+build1-0ubuntu0.20.04.1, 1:78.7.1+build1-0ubuntu0.20.04.1), libpulse-mainloop-glib0:amd64 (1:13.99.1-1ubuntu3.8, 1:13.99.1-1ubuntu3.10), language-pack-gnome-en-base:amd64 (1:20.04+20200709, 1:20.04+20210121), systemd-sysv:amd64 (245.4-4ubuntu3.3, 245.4-4ubuntu3.4), libwayland-egl1-mesa:amd64 (20.0.8-0ubuntu1~20.04.1, 20.2.6-0ubuntu0.20.04.1), gpgv:amd64 (2.2.19-3ubuntu2, 2.2.19-3ubuntu2.1), libpam-systemd:amd64 (245.4-4ubuntu3.3, 245.4-4ubuntu3.4), bind9-utils:amd64 (1:9.16.1-0ubuntu2.6, 1:9.16.1-0ubuntu2.7), parted:amd64 (3.3-4, 3.3-4ubuntu0.20.04.1), libdrm2:amd64 (2.4.101-2, 2.4.102-1ubuntu1~20.04.1), libglx0:amd64 (1.3.1-1ubuntu0.20.04.1, 1.3.2-1~ubuntu0.20.04.1), systemd:amd64 (245.4-4ubuntu3.3, 245.4-4ubuntu3.4), gnome-shell-extension-appindicator:amd64 (33-1, 33.1-0ubuntu0.20.04.1), nautilus-sendto:amd64 (3.8.6-3, 3.8.6-3ubuntu0.20.04.1), apt-utils:amd64 (2.0.2ubuntu0.2, 2.0.4), libgl1-mesa-dri:amd64 (20.0.8-0ubuntu1~20.04.1, 20.2.6-0ubuntu0.20.04.1), grub-efi-amd64:amd64 (2.04-1ubuntu26.7, 2.04-1ubuntu26.9), libnss-systemd:amd64 (245.4-4ubuntu3.3, 245.4-4ubuntu3.4), bind9:amd64 (1:9.16.1-0ubuntu2.6, 1:9.16.1-0ubuntu2.7), thunderbird:amd64 (1:68.10.0+build1-0ubuntu0.20.04.1, 1:78.7.1+build1-0ubuntu0.20.04.1), tracker:amd64 (2.3.4-1, 2.3.6-0ubuntu1), libasound2:amd64 (1.2.2-2.1ubuntu2.2, 1.2.2-2.1ubuntu2.3), libnetplan0:amd64 (0.100-0ubuntu4~20.04.3, 0.101-0ubuntu3~20.04.2), language-pack-en-base:amd64 (1:20.04+20200709, 1:20.04+20210121), gnupg2:amd64 (2.2.19-3ubuntu2, 2.2.19-3ubuntu2.1), gnome-control-center-faces:amd64 (1:3.36.4-0ubuntu2, 1:3.36.5-0ubuntu1), libgl1-mesa-glx:amd64 (20.0.8-0ubuntu1~20.04.1, 20.2.6-0ubuntu0.20.04.1), ubuntu-release-upgrader-gtk:amd64 (1:20.04.28, 1:20.04.30), libc-dev-bin:amd64 (2.31-0ubuntu9.1, 2.31-0ubuntu9.2), grub-efi-amd64-signed:amd64 (1.142.9+2.04-1ubuntu26.7, 1.142.11+2.04-1ubuntu26.9), libtracker-control-2.0-0:amd64 (2.3.4-1, 2.3.6-0ubuntu1), pulseaudio-module-bluetooth:amd64 (1:13.99.1-1ubuntu3.8, 1:13.99.1-1ubuntu3.10), libdrm-intel1:amd64 (2.4.101-2, 2.4.102-1ubuntu1~20.04.1), apt-transport-https:amd64 (2.0.2ubuntu0.2, 2.0.4), libdrm-radeon1:amd64 (2.4.101-2, 2.4.102-1ubuntu1~20.04.1), libsnapd-glib1:amd64 (1.57-0ubuntu3, 1.58-0ubuntu0.20.04.0), linux-firmware:amd64 (1.187.4, 1.187.9), mesa-vulkan-drivers:amd64 (20.0.8-0ubuntu1~20.04.1, 20.2.6-0ubuntu0.20.04.1), gnupg:amd64 (2.2.19-3ubuntu2, 2.2.19-3ubuntu2.1), pulseaudio-utils:amd64 (1:13.99.1-1ubuntu3.8, 1:13.99.1-1ubuntu3.10), gir1.2-rsvg-2.0:amd64 (2.48.7-1ubuntu0.20.04.1, 2.48.9-1ubuntu0.20.04.1), thunderbird-locale-en:amd64 (1:68.10.0+build1-0ubuntu0.20.04.1, 1:78.7.1+build1-0ubuntu0.20.04.1), gpg-agent:amd64 (2.2.19-3ubuntu2, 2.2.19-3ubuntu2.1), update-notifier:amd64 (3.192.30, 3.192.30.5), bind9-libs:amd64 (1:9.16.1-0ubuntu2.6, 1:9.16.1-0ubuntu2.7), libsignon-extension1:amd64 (8.59+17.10.20170606-0ubuntu2, 8.59+17.10.20170606-0ubuntu2.20.04.1), gpgconf:amd64 (2.2.19-3ubuntu2, 2.2.19-3ubuntu2.1), libatopology2:amd64 (1.2.2-2.1ubuntu2.2, 1.2.2-2.1ubuntu2.3), python3-apt:amd64 (2.0.0ubuntu0.20.04.3, 2.0.0ubuntu0.20.04.4), libinput10:amd64 (1.15.5-1ubuntu0.1, 1.15.5-1ubuntu0.2), mutter:amd64 (3.36.6-1ubuntu0.20.04.2, 3.36.7+git20201123-0.20.04.1), base-files:amd64 (11ubuntu5.2, 11ubuntu5.3), gpgsm:amd64 (2.2.19-3ubuntu2, 2.2.19-3ubuntu2.1), bind9-doc:amd64 (1:9.16.1-0ubuntu2.6, 1:9.16.1-0ubuntu2.7), libglx-mesa0:amd64 (20.0.8-0ubuntu1~20.04.1, 20.2.6-0ubuntu0.20.04.1), libglvnd0:amd64 (1.3.1-1ubuntu0.20.04.1, 1.3.2-1~ubuntu0.20.04.1), libdrm-common:amd64 (2.4.101-2, 2.4.102-1ubuntu1~20.04.1), software-properties-common:amd64 (0.98.9.3, 0.98.9.4), libevdev2:amd64 (1.9.0+dfsg-1, 1.9.0+dfsg-1ubuntu0.1)
End-Date: 2021-03-09 20:06:03

Comment by Kevin Barsby [ 16/Mar/21 ]

I noticed this when updating to 1.16.210. I then tried to re-run the old server and got the same issue. The common thread - I'd done a system update on my unbunto 20.04 server.Β 

I've since spun up an 18.04 unbuntu server with 1.16.210 and this seems to start up fine. This would indicate an ubuntu update that has broken something in the BDS server.Β 

Generated at Sat Jan 11 07:58:16 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.