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

[BUG] Crashes on Android #1173

Closed
hajmajeboss opened this issue Mar 12, 2020 · 5 comments · Fixed by #1180
Closed

[BUG] Crashes on Android #1173

hajmajeboss opened this issue Mar 12, 2020 · 5 comments · Fixed by #1180
Milestone

Comments

@hajmajeboss
Copy link

Description

I'm using mapping library Mapsui, error occurs randomly when moving the map, noticed some of the crashes even with map staying still.

Code

I/DEBUG   (  409): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  409): UUID: 7bf113ad-494f-44e9-a0fe-61d0704bbee9
I/DEBUG   (  409): Build fingerprint: 'Sony/SGP321/SGP321:5.1.1/10.7.A.0.228/2020576680:user/release-keys'
I/DEBUG   (  409): Revision: '0'
I/DEBUG   (  409): ABI: 'arm'
I/DEBUG   (  409): pid: 19172, tid: 19229, name: GLThread 1370  >>> eu.pds.proplamobilenet <<<
I/DEBUG   (  409): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1110
I/DEBUG   (  409):     r0 00001110  r1 00000001  r2 9ec01088  r3 00000011
I/DEBUG   (  409):     r4 00000000  r5 12dcc740  r6 9ec01088  r7 9a8d3848
I/DEBUG   (  409):     r8 b74ebc10  r9 b849e9e0  sl 00000000  fp 9a8d3980
I/DEBUG   (  409):     ip afb8acbc  sp 9a8d3838  lr 9974f96c  pc 997d391e  cpsr 600d0030
I/DEBUG   (  409):
I/DEBUG   (  409): backtrace:
I/DEBUG   (  409):     #00 pc 0006191e  /data/app/eu.pds.proplamobilenet-1/lib/arm/libSkiaSharp.so

I also noticed an error with address 0x40, and possibly 0x1130 (no .so file path in this case) - can't find the stack trace now.

Basic Information

  • Version with issue: 1.68.1.1.
  • Last known good version: probably 1.60.3
  • IDE: Visual Studio
  • Platform Target Frameworks: <
    • Android: API 27 (8.1)
  • Target Devices:
    • Xiaomi Mi A2
    • Sony Xperia Tablet Z

Reproduction Link

https://github.com/Mapsui/Mapsui - building a Mapsui.Samples.Droid project and running it on an Android device, trying especially geometries samples .

@mattleibow
Copy link
Contributor

mattleibow commented Mar 12, 2020

This might be a duplicate of #1121

Looking at the stack traces in the mapsui issue, this looks a bit similar. The original issue was macOS, but maybe this is just one example.

@hajmajeboss
Copy link
Author

Yes, the description seems to fit. The very same crash is also happening on iOS, already told the poster of Mapsui/#865 to post the stack trace here.

@mattleibow
Copy link
Contributor

mattleibow commented Mar 20, 2020

I have just published the PR (#1180) NuGet (1.68.2-pr.1180.4) to the preview feed: https://aka.ms/skiasharp-eap/index.json
This contains the fixes for macOS, iOS and Android. More platforms coming soon.

Give that a go and let me know if it fixes the crashes.

@mattleibow
Copy link
Contributor

Just pushed all the packages (preview 45) to NuGet.org.

@mattleibow
Copy link
Contributor

Hey folks, it has been a long time coming and thanks to all the folks with your repros, samples and stack traces I think we have finally managed to fix those pesky crashes - at least the ones we know about. I have just pushed 1.68.2-preview.50 to NuGet so let me know if this fixes all the crashes you have ever had 😄

@mattleibow mattleibow added this to the v1.68.2 milestone Apr 29, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Aug 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants