Open Bug 1865431 Opened 1 year ago

Figure out a way to get Rust stacktraces

Categories

(Application Services :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: markh, Unassigned)

Details

From github: https://github.com/mozilla/application-services/issues/3717.

Currently, if the Rust code panics or crashes, it'll get caught and exposed as a Kotlin exception.
This is great, as this makes Fenix more stable, however it's a pretty bad experience for us since we get almost inscrutable errors (see https://github.com/mozilla/application-services/issues/3709). We do have symbols generation for our Android targets, but IIUC it doesn't get used at all (unless the Rust layer manages to crash the entire app, which is unlikely since we catch panics).
GeckoView most likely tackled the same problem (since it is a native layer called by Kotlin), so maybe we could do something similar there?

┆Issue is synchronized with this Jira Task
┆Epic: Important backlog

Change performed by the Move to Bugzilla add-on.

You need to log in before you can comment on or make changes to this bug.