Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetGlyphIndex sets a dictionary value and can fail #223

Open
charlesroddie opened this issue Apr 22, 2021 · 0 comments
Open

GetGlyphIndex sets a dictionary value and can fail #223

charlesroddie opened this issue Apr 22, 2021 · 0 comments

Comments

@charlesroddie
Copy link

A GetGlyphIndex method is internally trying to set something. This can result in errors like:

Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior)
SIGABRT: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.

Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior)
Dictionary`2[TKey,TValue].set_Item (TKey key, TValue value)
Cmap.GetGlyphIndex (System.Int32 codepoint, System.Int32 nextCodepoint, System.Boolean& skipNextCodepoint)
Typeface.GetGlyphIndex (System.Int32 codepoint)
GlyphFinder.Lookup (CSharpMath.Rendering.BackEnd.Fonts fonts, System.Int32 codepoint)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant