I'll get this error semi-randomly on my system when playing StarMade. It will pop us with a box saying GL_ERROR: GL_INVALID_VALUE, with the option to retry, or exit(I think there's a third option too, but I don't remember what it is). If I hit retry, it will return to the game, but it's likely I will run into the error again shortly.
This seems to be related to cannon fire, as when it's triggered I'm usually in combat with annother entity with cannons, or am firing cannons myself. An interesting note, is that when seeing this error, the cannon shot graphic will be stuck in place, and further attempts to fire cannons will yield no cannon shot graphic(can provide screenshot if needed).
I do not know if this bug is only linux, as I have no Windows or Mac system to test with. I'm running Fedora Core 25. There is mention of others seeing this issue on starmade dock, but that post is very generic, and may be more than one issue.
I see this error fairly often(It's very annoying), at least once a week. So if there is anything I can run that would make it easier to find the issue, please let met know.
full log example: https://starmadedock.net/attachments/logstarmade-0-log.36867/
Stack trace:
[2017-01-16 09:05:39] GL_ERROR: GL_INVALID_VALUE
[2017-01-16 09:05:39] org.schema.schine.graphicsengine.core.GLException: GL_INVALID_VALUE
[2017-01-16 09:05:39] at org.schema.schine.graphicsengine.core.GlUtil.g(SourceFile:1404)
[2017-01-16 09:05:39] at obfuscated.aNa.c(SourceFile:550)
[2017-01-16 09:05:39] at obfuscated.aJU.e_(SourceFile:42)
[2017-01-16 09:05:39] at obfuscated.lP.e_(SourceFile:52)
[2017-01-16 09:05:39] at obfuscated.hO.e_(SourceFile:526)
[2017-01-16 09:05:39] at obfuscated.hp.e(SourceFile:562)
[2017-01-16 09:05:39] at obfuscated.hp.b(SourceFile:736)
[2017-01-16 09:05:39] at obfuscated.hp.e_(SourceFile:435)
[2017-01-16 09:05:39] at obfuscated.aEu.g(SourceFile:546)
[2017-01-16 09:05:39] at obfuscated.aEu.a(SourceFile:686)
[2017-01-16 09:05:39] at obfuscated.aEA.b(SourceFile:652)
[2017-01-16 09:05:39] at obfuscated.U.e(SourceFile:953)
[2017-01-16 09:05:39] at org.schema.game.common.Starter.startMainMenu(SourceFile:1434)
[2017-01-16 09:05:39] at org.schema.game.common.Starter.main(SourceFile:980)
[2017-01-16 09:05:39] GLFRAME processErrorDialogException()
[2017-01-16 09:05:39] org.schema.schine.graphicsengine.core.GLException: GL_INVALID_VALUE
[2017-01-16 09:05:39] at org.schema.schine.graphicsengine.core.GlUtil.g(SourceFile:1404)
[2017-01-16 09:05:39] at obfuscated.aNa.c(SourceFile:550)
[2017-01-16 09:05:39] at obfuscated.aJU.e_(SourceFile:42)
[2017-01-16 09:05:39] at obfuscated.lP.e_(SourceFile:52)
[2017-01-16 09:05:39] at obfuscated.hO.e_(SourceFile:526)
[2017-01-16 09:05:39] at obfuscated.hp.e(SourceFile:562)
[2017-01-16 09:05:39] at obfuscated.hp.b(SourceFile:736)
[2017-01-16 09:05:39] at obfuscated.hp.e_(SourceFile:435)
[2017-01-16 09:05:39] at obfuscated.aEu.g(SourceFile:546)
[2017-01-16 09:05:39] at obfuscated.aEu.a(SourceFile:686)
[2017-01-16 09:05:39] at obfuscated.aEA.b(SourceFile:652)
[2017-01-16 09:05:39] at obfuscated.U.e(SourceFile:953)
[2017-01-16 09:05:39] at org.schema.game.common.Starter.startMainMenu(SourceFile:1434)
[2017-01-16 09:05:39] at org.schema.game.common.Starter.main(SourceFile:980)