-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Native Graphics: Crash in ShadowNativeTypeface #9039
Comments
I haven't yet been able to make a small reproducer, it's probably another dependency that causes the issue. Here is another part of the stacktrace I was previously missing:
|
From a cursory glance, this could happen if system fonts are not extracted or get corrupted: Does it happen 100% of the time? nativeruntime-dist-compat.jar has a resource directory called https://repo.maven.apache.org/maven2/org/robolectric/nativeruntime-dist-compat/1.0.9/ |
Yes, happens reproducible every time when native graphics are enabled. Then again, the test (and production code) is so simple that I couldn't yet reproduce it outside of my project, yet. Seems as if some other dependency triggers that behavior. |
Does this still happen with 4.12.2? |
When enabling native graphics mode in 4.11.1 or 4.12.1, Robolectric tests crash with
This happens on several SDK levels (30, 32, 33) that we've tested.
The text was updated successfully, but these errors were encountered: