Random TS5 Client crashes with Linux

Hi,
with the TS5 client I have the problems of random crashes. The client just closes.
I have tried this with Pop!_OS 21.4 (Debian) and EndeavourOS (Arch). Also tried it with Gnome and Cinnamon.
If I start the Client with the console as the crash is happening I get the following lines and a coredump is written

free(): invalid next size (fast
Abgebrochen (Speicherabzug geschrieben)

This problem was there at least since February, in every version I tested since then (skipped maybe 1 or 2 patches). Is there a way to start the client with more verbosity?

3 Likes

Hmmm, I never had such problems.
Did this happen recently? There was a fix not long ago for some memory leaks. (But I doubt that this is related.)
Could you tell us a whether there is something specific you do before the crash?
Also can you provide the cef.log around the time when the crash happens?
Even though it won’t be of much use could you provide the crashdump so we can at least see where the crash happens?

2 Likes

It happened in all versions I’ve tested since February.
Sometimes it happens when using Push-To-Talk but sometimes it just happens while gaming and not pressing any TS-Buttons.
Where do I find the cef.log?
I will upload the coredump as soon as I get on my pc this weekend.

Edit: Uploaded the coredump

1 Like

Still the same problems after the latest patch :confused:
Even if I just sit there and don’t press any push-to-talk buttons.

1 Like

Very same here on popOS 21.04. Any dumps i can provide? How to get them?

Every beta version, right now on 5.0.0-beta67.

//edit: Are you also using a wireless headset? My TS crashes more often while gaming with a wireless headset. It is not reproducable with a single action. Just crashes within the first 10 Minutes of gaming.

Yeah, also using a wireless headset, but a wired mic… I’ll try a wired headset the next few days, thanks for the idea!

1 Like

Same here on KDE Plasma using Kwin on X11.
Just random as hell.
Sometimes I go out of my room, come back and TS5 crashed.
I have these problems since I use Linux (since about August 2021) and don’t have a clue why.

2 Likes

Got the same issues, mainly while gaming. Sometimes it’s caused when I try to un/mute myself.

Console Output:
               free(): invalid size
               [1]    2731 IOT instruction (core dumped)
Coredump: Stack trace of thread 2761:
                #0  0x00007f652597834c __pthread_kill_implementation (libc.so.6 + 0x8f34c)
                #1  0x00007f652592b4b8 raise (libc.so.6 + 0x424b8)
                #2  0x00007f6525915534 abort (libc.so.6 + 0x2c534)
                #3  0x00007f652596c397 __libc_message (libc.so.6 + 0x83397)
                #4  0x00007f652598233c malloc_printerr (libc.so.6 + 0x9933c)
                #5  0x00007f6525984004 _int_free (libc.so.6 + 0x9b004)
                #6  0x00007f6525986be3 free (libc.so.6 + 0x9dbe3)
                #7  0x0000000000b0146d n/a (/home/morice/.local/share/teamspeak-client/TeamSpeak + 0x70146d)
                ELF object binary architecture: AMD x86-64

Systeminformation:

OS: Arch Linux
Kernel: 5.16.10-246-tkg-pds
Desktop: KDE Plasma 2.24.1 (X11)
Compositor: KWin
CPU: Ryzen 7 5800x
GPU: RX 5700 (MESA)
RAM: 16GB

2 Likes

Could you please provide the cef.log around the time when the crash happens?

Cleared Logs and waited for a crash here are the contents of cef.log

[0219/144407.828696:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
[0219/144408.491489:WARNING:browser_info.cc(298)] Returning a speculative frame for 25769803781 [6,5]
[0219/144408.719335:WARNING:browser_info.cc(298)] Returning a speculative frame for 25769803781 [6,5]
[0219/144408.719440:WARNING:browser_info.cc(298)] Returning a speculative frame for 25769803781 [6,5]
[0219/144408.719475:WARNING:browser_info.cc(298)] Returning a speculative frame for 25769803781 [6,5]
[0219/144408.719505:WARNING:browser_info.cc(298)] Returning a speculative frame for 25769803781 [6,5]
[0219/144408.720337:INFO:CONSOLE(0)] "Error with Permissions-Policy header: Unrecognized feature: 'ch-ua-full-version-list'.", source:  (0)
[0219/144411.503322:INFO:CONSOLE(2)] "Uncaught (in promise) TypeError: Failed to fetch", source: tsui://default/main.js (2)
[0219/144412.917231:INFO:CONSOLE(0)] "ResizeObserver loop limit exceeded", source: tsui://default/index.html#/connection5/channel4 (0)
[0219/144415.078234:INFO:CONSOLE(2)] "Uncaught (in promise) TypeError: Failed to fetch", source: tsui://default/main.js (2)
[0219/144428.796826:WARNING:spdy_session.cc(3501)] Received HEADERS for invalid stream 3
[0219/144430.537656:INFO:CONSOLE(2)] "Uncaught (in promise) TypeError: Failed to fetch", source: tsui://default/main.js (2)
[0219/145814.411900:WARNING:spdy_session.cc(3501)] Received HEADERS for invalid stream 1
[0219/145815.726922:INFO:CONSOLE(2)] "Uncaught (in promise) TypeError: Failed to fetch", source: tsui://default/main.js (2)
[0219/145911.513656:INFO:CONSOLE(2)] "Uncaught (in promise) TypeError: Failed to fetch", source: tsui://default/main.js (2)
[0219/150836.978114:INFO:CONSOLE(2)] "Uncaught (in promise) TypeError: Failed to fetch", source: tsui://default/main.js (2)
[0219/151411.515336:INFO:CONSOLE(2)] "Uncaught (in promise) TypeError: Failed to fetch", source: tsui://default/main.js (2)
[0219/152233.439451:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
[0219/152234.147998:WARNING:browser_info.cc(298)] Returning a speculative frame for 25769803781 [6,5]
[0219/152234.370873:WARNING:browser_info.cc(298)] Returning a speculative frame for 25769803781 [6,5]
[0219/152234.370995:WARNING:browser_info.cc(298)] Returning a speculative frame for 25769803781 [6,5]
[0219/152234.371034:WARNING:browser_info.cc(298)] Returning a speculative frame for 25769803781 [6,5]
[0219/152234.371063:WARNING:browser_info.cc(298)] Returning a speculative frame for 25769803781 [6,5]
[0219/152234.372000:INFO:CONSOLE(0)] "Error with Permissions-Policy header: Unrecognized feature: 'ch-ua-full-version-list'.", source:  (0)
[0219/152234.526616:INFO:CONSOLE(2)] "Failed to find room id !IPbgbBwpMNCkwqxDZD:chat.teamspeak.com", source: tsui://default/main.js (2)
[0219/152234.526663:INFO:CONSOLE(2)] "Failed to find room id !WddRHfEFMbOOnvQyIb:chat.teamspeak.com", source: tsui://default/main.js (2)
[0219/152237.160825:INFO:CONSOLE(2)] "Uncaught (in promise) TypeError: Failed to fetch", source: tsui://default/main.js (2)
[0219/152237.480475:INFO:CONSOLE(0)] "ResizeObserver loop limit exceeded", source: tsui://default/index.html#/connection5/channel4 (0)
[0219/152240.348090:INFO:CONSOLE(2)] "Uncaught (in promise) TypeError: Failed to fetch", source: tsui://default/main.js (2)
1 Like

Since my last post in this thread, I changed some things and recorded some logs.
As this post is having more traction and has the same problem, I’ll post my logs here.

Here are my logs.
First all coredumps that coredumpctl still has recorded (29 total) from teamspeak (coredumpctl list | grep teamspeak | awk '{ print $5 }' | xargs coredumpctl info). Then the logs (cout) from the last 5 crashes (0-4 → oldest to newest).

In my original thread, I still used Linux Mint.
Since then I switched to Manjaro and Pipewire.

System:
5.16.7-1-MANJARO
Manjaro Cinnamon
Pipewire + Wireplumber
No bluetooth audio devices, but an audio interface (Scarlett 2i2).

Crashing happens when gaming and sometimes is triggered by using my mute shortcut.

2 Likes

Wow this gained some traction :slight_smile:
I tried it with a wired headset and the crashes are still happening.
It seems it always happens when I press my push to talk key

So…
I was playing some Minecraft and it lagged really hard and I noticed that it triggered constant teamspeak crashes…
There was quite many crashes and at one point we made a script to auto restart TS so I don’t have to. It crashed sometimes like every 10 seconds or so…
So if it helps, have 30k lines of my logs. (I cleared the logs before the crashes)

2 Likes