Hey Chromium devs,I am working on a Chromium fork for Android and over the time we got the feeling that some Chromium versions are a bit unstable. We see increasing ANR and crash rates after some updates and judging from the backtraces we see, most of them are not caused by the code that we added. Unfortunately the backtraces don't always contain enough information to be sure where the crashes are coming from and it is very time intense to try to reproduce them. Often times this is not possible at all.
My question is, is there a way to better understand or even discuss these kind of crashes with Chromium devs? Does it make sense to report the critical issues to crbug.com?
On Wed, 6 Jan 2021, 11:03 pm Ros, <wangenh...@gmail.com> wrote:Hey Torne,we are collecting ANRs and crashes with the Google Play console and Firebase.
The native crash discloses even less helpful information. It affects only a hand full of users but is triggerd 150+ times per day:#00 pc 000000000000d67c /system/lib64/libutils.so (android::RefBase::incStrong(void const*) const+8)
We did not use crashpad yet. Do you think that we could get more useful information with it, even for crashes that happen in production on our users devices?
On first glance it looks like it's quite some effort to set it up and maintain it (compared to Firebase).
Thanks,Rosto...@chromium.org schrieb am Mittwoch, 6. Januar 2021 um 17:21:32 UTC+1:On Wed, 6 Jan 2021 at 03:43, Ros <wangenh...@gmail.com> wrote:Hey Chromium devs,I am working on a Chromium fork for Android and over the time we got the feeling that some Chromium versions are a bit unstable. We see increasing ANR and crash rates after some updates and judging from the backtraces we see, most of them are not caused by the code that we added. Unfortunately the backtraces don't always contain enough information to be sure where the crashes are coming from and it is very time intense to try to reproduce them. Often times this is not possible at all.How are you collecting the backtraces and ANRs? Are you using Crashpad like Chrome itself does, or something else? Can you give an example of what the backtraces you get look like, in "good" and "bad" cases?Making sure crashes get reported in an actionable way is difficult on a large and complex codebase like Chromium, especially on Android where there are many additional complications, so the first thing I'd suggest is to make sure that you're not "missing out" on any of the work we've already done to capture useful crash information, rather than looking into specific instances of crashes.My question is, is there a way to better understand or even discuss these kind of crashes with Chromium devs? Does it make sense to report the critical issues to crbug.com?I'm not sure if we have a specific policy on reporting issues from forks (maybe someone else can comment). In instances where you can find a way to reproduce them it's worth checking if the same reproduction triggers a crash in Chrome (in which case you should definitely file a bug), but I totally understand that often that's not practical; we have to deal with many crashes without being able to reproduce them too.If you have a symbolized stack for a particular crash then it's possible (though sometimes pretty fiddly) for us to look for similar/identical crash stacks in Chrome's crash report data which might point at existing bugs or just further information that you don't have, but I'm not sure that filing these on crbug.com is the best way to do that.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/af1509dd-9997-402a-b3a9-5ce240c37ffan%40chromium.org.
Hey Torne,Thanks for the detailed answer and the helpful information you shared. We will run some tests with `exclude_unwind_tables` in our alpha channel to see how much more helpful information we can get from backtraces. We can tolerate the additional file size at this channel if it helps us to develop a more robust version for our stable channel.I think at this point setting up crashpad is not an option, but it's something we will look into for the future. Regarding the two backtraces I've shared - for the first one I checked the commit with the revert you shared but it turned out that the Chromium version we use (86) does not contain the changes that would be reverted. So this cannot be the cause for the crashes in this case. We found another commit which we hope will help with the CalledFromWronThreadExceptions on Samsung devices: https://chromium-review.googlesource.com/c/chromium/src/+/2545773
The native crash does not have a "#01" line but a second one with "#00". We already tried to symbolicate it with the help of third_party/android_platform/development/scripts/stack but this does not give us additional information. Maybe setting exclude_unwind_tables=false in our next alpha release will help us with this crash.
Of course we understand that it's impossible to have 0 crashes with a complex and huge code base like Chromium and a platform like Android with its device fragmentation. But we always try to stay below the bad behavior threshold to make sure our Play Store ranking will not be penalized by Google. Can you share some information about how this is handled for Chrome?
Do you announce fixes for severe issues (not only in terms of security) in a place we (and other Chromium forks) could observe to be aware of issues and fixes ahead of time and not only notice them after we released a new version?