Closed Bug 1271379 Opened 8 years ago Closed 7 years ago

Send a crash ping from Firefox on iOS

Categories

(Firefox for iOS :: Telemetry, defect, P3)

Other
iOS
defect

Tracking

()

RESOLVED INVALID
Tracking Status
fxios + ---

People

(Reporter: sleroux, Unassigned)

References

Details

(Whiteboard: [MobileCore])

Android bug: https://bugzil.la/1266224

Gecko telemetry information: https://gecko.readthedocs.org/en/latest/toolkit/components/telemetry/telemetry/crash-ping.html

We should be following Android and send crash telemetry pings. Part of this will be to investigate how we can add callbacks to the new PLCrashReporter library to invoke the ping upon a crash.
tracking-fxios: --- → ?
See Also: → 1266224
After doing some research, I found that the PLCrashReporter callback must be async-signal-safe [1], which restricts the code we can call to a small set of OS-level functions. That means it's not feasible to send a realtime ping in the crash signal handler (though it is theoretically possible if we were to write async-safe networking code). The standard approach for doing this on iOS is to send the ping after the app relaunches.

[1] https://www.plcrashreporter.org/documentation/api/v1.2-beta1/async_safety.html
See Also: → 1298038
Rank: 10
Priority: -- → P3
Whiteboard: [MobileAS]
Whiteboard: [MobileAS] → [MobileCore]
Closing this as it is redundant to existing crash reporting.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.