See response below
https://bugs.mojang.com/browse/MC-121292?focusedCommentId=415001&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-415001
I was able to fix the problem in Ubuntu 16.04 LTS by telling Minecraft to use a different directory. Instead of /home/user/.minecraft/, I got it to use /home/user/Minecraft/Client/
You can read how to do this here:[http://hopper.minecraft.net/help/special-characters/|link]
-EDIT: To be clear, in the /home/user/Minecraft/Client folder I created a Start.sh file that contains "java -jar Minecraft.jar --workDir /home/user/Minecraft/Client"-
I used chmod +x to make it executable.
The "." in the folder path (".minecraft") might be the culprit. Wonder if doing something similar in Windows will help to fix the problem? Can anyone else try? Confirm that using a file path without a ".minecraft" makes the problem go away?
Following up on response above, it seems as though an updated launcher fixes the problem:
https://bugs.mojang.com/browse/MC-121292?focusedCommentId=415001&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-415001
I tried Minecraft 1.12.2 in Ubuntu 16.04 LTS.