FreeBSD TS3 Server: Immediate Core Dump

Hey gang -

I’m trying to get a TS3 server running under FreeBSD 12.2. The issues is that it core dumps immediately. I’m not exactly sure what I can to try and troubleshoot it; I’ve no experience going through core files.

# ./ts3server
2021-04-25 14:08:32.601958|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.13.3 (2020-12-16 14:17:05)
2021-04-25 14:08:32.602188|INFO    |ServerLibPriv |   |SystemInformation: FreeBSD 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 GENERIC amd64 Binary: 64bit
2021-04-25 14:08:32.602241|WARNING |ServerLibPriv |   |The system locale is set to "C" this can cause unexpected behavior. We advice you to repair your locale!
2021-04-25 14:08:32.602539|INFO    |DatabaseQuery |   |dbPlugin name:    SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
2021-04-25 14:08:32.602596|INFO    |DatabaseQuery |   |dbPlugin version: 3.11.1
2021-04-25 14:08:32.602858|INFO    |DatabaseQuery |   |checking database integrity (may take a while)
Abort (core dumped)

# ldd ts3server
    ts3server: => /usr/local/teamspeak3-server_freebsd_amd64/ (0x800f28000) => /usr/lib/ (0x801239000) => /lib/ (0x801242000) => /lib/ (0x801274000) => /usr/lib/ (0x8012a1000) => /lib/ (0x80136e000) => /lib/ (0x801390000) => /lib/ (0x8013aa000)

Just running the binary from the CLI crashes immediately; the same happens if I try to use the startup scripts that are included.

Any suggestions or guidance? Thanks!

Interestingly this appears to have something to do with:

  • the fact I’m running it in a FreeBSD jail
  • the DB access

If I try to run the same binary on the jail host (which I’m not going to do permanently), it stars up fine. But in the jail, the moment it starts trying to do DB-related things, it cores.

Apparently the server binary was looking for /usr/local/share/certs/ca-root-nss.crt. I must have had that package installed on the FreeBSD host, but didn’t in the jail. Looks like the ca_root_nss FreeBSD pkg was all I needed.

pkg install ca_root_nss

1 Like