Accessing certain skia properties crashes app
See original GitHub issueAny call to Canvas.localToDeviceAsMatrix33
causes the app to core dump. This is very easy to reproduce. Simply add the following line to onRender
within ClocksJvm
in the SkiaJvmSample. The same is true for calls to Typeface.fontFamilyName
and Typeface.fontFamilyNames
.
// ...
override fun onRender(canvas: Canvas, width: Int, height: Int, currentTimestamp: Long) {
canvas.localToDeviceAsMatrix33 <--- Crash
Font(Typeface.makeFromName("Courier", FontStyle(300, 5, FontSlant.UPRIGHT)), 13f).typefaceOrDefault.familyNames <--- Crash
// ...
}
// ...
See attached core dump for more details.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
[Android] Crash in release · Issue #357 · Shopify/react-native ...
FATAL EXCEPTION: main Caused by: java.lang.NoSuchMethodError: no non-static method "Lcom/shopify/reactnative/skia/PlatformContext;.
Read more >my app crashes whenever i click on this fragment
Your app is crashing because a ClassCastException is being thrown within your GalleryFragment on line 85. According to the logging, ...
Read more >79792 - Skia rev 1125 causes Linux 64-bit GPU crashes in DRT
Issue 79792: Skia rev 1125 causes Linux 64-bit GPU crashes in DRT ... It appears as though the Skia roll from 1117-1140 (http://src.chromium.org/viewvc/chrome?...
Read more >Clicking on Printer Properties inside Office App Freezes then ...
When 'Printer Properties' is clicked, the application freezes and then crashes. As a work-around, I instruct my customers to enter 'Devices ...
Read more >Crashes - Android Developers
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Typo, can be fixed like this
Shall be fixed with Skiko 0.7.0.