2025-07-21 12:35 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005029Spring engineGeneralpublic2016-01-14 00:47
Reporterhokomoko 
Assigned Tohokomoko 
PrioritynormalSeveritymajorReproducibilityrandom
StatusresolvedResolutionfixed 
Product Version100.0+git 
Target Version101.0Fixed in Version 
Summary0005029: glFont isn't thread safe
DescriptionRandomly when running ZK I get the assertion in https://github.com/spring/spring/blob/develop/rts/Rendering/GL/VertexArray.inl#L109
This only happens in LoadingMT as far as I know.

I believe the issue is that glFont is used from both the loading and the main thread and since it's using only one VA, results are bad.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
related to 0004915resolvedhokomoko crash in 100.0 
+Relationships

-Notes

~0015497

jK (developer)

There are 2 (shared) VAs
Seems these need to be extended to be `thread local`, so that each thread got its own.

~0015506

hokomoko (developer)

Fix 409dbb79b9c2ff24673467df82eb543aa1e62b8f committed to develop branch: Fix 0005029 0004915, repo: spring changeset id: 6253
+Notes

-Issue History
Date Modified Username Field Change
2016-01-10 20:53 hokomoko New Issue
2016-01-12 23:26 jK Note Added: 0015497
2016-01-13 16:44 hokomoko Relationship added related to 0004915
2016-01-14 00:47 hokomoko Changeset attached => spring develop 409dbb79
2016-01-14 00:47 hokomoko Note Added: 0015506
2016-01-14 00:47 hokomoko Assigned To => hokomoko
2016-01-14 00:47 hokomoko Status new => resolved
2016-01-14 00:47 hokomoko Resolution open => fixed
+Issue History