The bug
In the situation of many sounds produced at the same time, there is a high chance of warnings form the sound system to spam the game error log. It can also cause client to freeze when the error is spammed.
[02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
[02:06:26] [main/WARN]: Failed to create new sound handle
[02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
[02:06:26] [main/WARN]: Failed to create new sound handle
[02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
[02:06:26] [main/WARN]: Failed to create new sound handle
[02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
[02:06:26] [main/WARN]: Failed to create new sound handle
[02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
[02:06:26] [main/WARN]: Failed to create new sound handle
[02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
[02:06:26] [main/WARN]: Failed to create new sound handle
[02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
[02:06:26] [main/WARN]: Failed to create new sound handle
[02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
...
Attachments
Comments


Can confirm.

Can confirm for 1.16.1 as well.

1.16.3 too.

still in 1.16.4
[media]Can confirm in 20w51a.

Can confirm too (1.16.4). I first thought the huge lag spike was due to my client not able to process the entities when killed, but after I opened the console I see that this error was being spammed a lot. The lag is annoying when dealing with mob farms especially.

still in latest release for snapshot

Can confirm in Minecraft 1.17.1 Release Candidate 1

Updating to comment that hacked clients / players are exploiting this glitch to crash / freeze users by in game proximity. We banned 3 players utilizing this exploit on our server today.

Seems like there's a script / tool to do this. We've banned more players.

It is a very annoying problem which makes the client more lagged or crash by sending so many messages to the console.You may know that calculating the square root of integers between 0 and 1M and output to the console is more than 10 times slower than only calculating them.So the carpetmod decides to avoid the annoying messages by adding a rule to decide if messages like this should be output.

Can confirm in 1.17.1 I'd like to request ownership of this ticket since the current reporter has been inactive since Apr 2020. I'm willing to provide all of the necessary information and will keep this report updated.

Happens a lot on multiple pistons running simultaneously, reduces frames and makes the game stuttery.
Seen first in 1.13, confirming for 1.16 (all versions) & 1.17 (both versions)

The performance issue is tracked in MC-180398.

Game crashed to due same bug while having console open on MultiMc

Should this maybe be set to private, considering this can be used to create gigabytes worth of log files for other players?

Would MC-180398 be set to private as well?

Can confirm in 21w37a.

Can confirm in 21w39a.

Can confirm in 21w40a.

Can confirm in 21w44a.

Can confirm in 1.16.5

This was fixed in 1.18...1.16 is outdated...

Can confirm solved in 1.18.2
[media]