Closed Bug 1149169 Opened 5 years ago Closed 5 years ago

Enable crash reporting by default

Categories

(Firefox OS Graveyard :: Gaia::Build, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: drs, Unassigned)

References

Details

(Whiteboard: [spark])

I don't know what we have to do to enable crash reporting, so we need to figure that out first. It's probably just setting a pref. If so, we can land this on 'b2g/app/b2g.js' behind the `MOZ_DEV_EDITION` #ifdef guard.
Whiteboard: [lightsaber] → [ignite]
Whiteboard: [ignite] → [spark]
Dale, can you drive this?

Naoki, I think you have some info on what we have to do here. Please provide if you do. Thanks.
Blocks: spark-build
No longer blocks: spark
Component: Gaia → Gaia::Build
Flags: needinfo?(nhirata.bugzilla)
Flags: needinfo?(dale)
Summary: [Build] Enable crash reporting by default → Enable crash reporting by default
It appears that the crash reporter is sending reports to socorro properly, we need the symbols associated with it in socorro which is a different bug.

I guess what you're asking is have crash reporter "always send a report" by default.

I think we need to modify the setting.json pref "app.reportCrashes" to always : https://github.com/mozilla-b2g/gaia/blob/master/build/config/common-settings.json#L10

FYI : side note, we could force it regardless via MOZ_CRASHREPORTER (see https://developer.mozilla.org/en-US/docs/Environment_variables_affecting_crash_reporting )
Flags: needinfo?(nhirata.bugzilla)
Crash reporting is on by default on B2G anyhow. We CANNOT turn the pref on by default for anything resembling actual users due to privacy reasons, but we only prompt after the first crash and then always send automatically.
(In reply to Robert Kaiser (:kairo@mozilla.com) from comment #3)
> Crash reporting is on by default on B2G anyhow. We CANNOT turn the pref on
> by default for anything resembling actual users due to privacy reasons, but
> we only prompt after the first crash and then always send automatically.

Thanks. Resolving based on this comment.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Flags: needinfo?(dale)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.