Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

signal 5 (SIGTRAP), code 1 (TRAP_BRKPT) relating to webview.apk

I'm receiving a handful of crash reports in my Play Console with the following title:

signal 5 (SIGTRAP), code 1 (TRAP_BRKPT)
webview.apk

and the following detail:

backtrace:
  native: pc 00000000011a1ed4  /system/app/webview/webview.apk
  native: pc 00000000011e01f8  /system/app/webview/webview.apk

That is it, no more information available.

What is significant is that (a) the number of crashes is very small, so my code must basically be sound, and (b) the reports are all from Android 7.0 devices.

How do I even begin to work out where the crash could be occuring? I could post some code, but it probably won't help because the vast majority of devices aren't choking, and in any case I'm just looking for a bit of insight or hints as to where to look further. I cannot reproduce this crash on any device I've tried.

There is a similar question here, also with no answer.

like image 241
drmrbrewer Avatar asked Sep 13 '17 13:09

drmrbrewer


2 Answers

It's an known, un-fixable bug with the Chrome WebView on Android 7 and above. The WebView is used to display the ads whether you create one or not. It's not specific to AdMob. Don't count on this getting fixed, it's been present since 2017 and crashes are being forwarded to the Chrome team, not Admob team.

https://groups.google.com/d/msgid/google-admob-ads-sdk/3aa2ad26-f54c-46d1-9072-9c829297de9f%40googlegroups.com

like image 65
Steven Haggerty Avatar answered Oct 14 '22 21:10

Steven Haggerty


No fix found yet for this, in my app it happened when clicking a html5 date picker, I decided to avoid it using a normal textfield with mask https://vuejs-tips.github.io/vue-the-mask/

like image 21
Ignacio Tomas Crespo Avatar answered Oct 14 '22 21:10

Ignacio Tomas Crespo