View Issue Details

IDProjectCategoryView StatusLast Update
0005029Spring engineGeneralpublic2016-01-14 00:47
Reporterhokomoko Assigned Tohokomoko  
PrioritynormalSeveritymajorReproducibilityrandom
Status resolvedResolutionfixed 
Product Version100.0+git 
Target Version101.0 
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

Relationships

related to 0004915 resolvedhokomoko crash in 100.0 

Activities

jK

2016-01-12 23:26

developer   ~0015497

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

hokomoko

2016-01-14 00:47

developer   ~0015506

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

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