Crash on Icon Upload (Exception Code: 0xc0000409)

The server crashes immediately whenever an icon is uploaded via the client (e.g., for server or group icons). While the file is successfully written to the directory files/virtualserver_1/internal/icons/, the process terminates instantly without any error entries in the TeamSpeak server logs.

Environment:

  • OS: Windows Server 2019

  • Server Version: v6.0.0-beta8

  • Installation Path: C:\teamspeak6\ (moved out of Program Files to rule out UAC issues)

  • Client used: Version: 6.0.0-beta3.4

Windows Event Viewer Log:

  • Faulting Application Name: tsserver.exe

  • Faulting Module Name: tsserver.exe

  • Exception Code: 0xc0000409 (Stack Buffer Overrun)

  • Fault Offset: 0x0000000000ae3021

Steps taken to reproduce:

  1. Connect to the server.

  2. Open Server Settings or Group Permissions.

  3. Upload a standard 16x16 PNG icon.

  4. Server process vanishes immediately after the file is stored on the disk.

Troubleshooting performed:

  • Running the server as Administrator.

  • Verified full write permissions for the files directory.

  • Tested with different file formats (JPG/PNG) and small dimensions (16x16).

  • Moved the server folder to the root directory C:\ to avoid permission conflicts.

The crash seems to be triggered during the post-processing phase of the upload, likely when the server tries to update the database.

The server also crashes immediately if you try to open/view the icon list, as long as the uploaded file exists in the folder structure. The only way to make the server stable again is to manually delete the icon file from files/virtualserver_1/internal/icons/. Once the file is removed, the server starts and operates normally again. Same as here –> Client crashes when opening server icons tab on Community

3 Likes

Problem also appears when uploading files in the filebrowser.
File gets created on the server in the right directory and then the server immediately crashes.

Of course it also crashes when you try to open/view the explorer again (like the icon list)
as long as the uploaded file exists in the server directory.

I would like to add that these issues do not occur when the server is running in a Docker container. Therefore, it appears to be limited to Windows.