If you read my previous message with some thought, you can see it has exact steps on how to start a fresh Docker container running Debian Sid and install MariaDB and test it.
If you can reproduce the issue you reported in a fresh environment in a similar way it would prove the experience you had is not just because of some custom configuration in your specific environment. Thanks!